|
Cat
|
#include <include/CurrentMeasurement.h>
Classes | |
| class | CurrentMeasurement |
Public Member Functions | |
| CurrentMeasurement () | |
| Standard constructor. More... | |
| virtual | ~CurrentMeasurement () |
| virtual StatusCode | initialize () |
| Destructor. More... | |
| virtual StatusCode | execute () |
| virtual StatusCode | finalize () |
| int | numberOfDevices () |
| StatusCode | setFrequency (unsigned int frequency) |
| unsigned int | frequency () |
Public Member Functions inherited from Processus | |
| Processus () | |
| Standard constructor. More... | |
| virtual | ~Processus () |
| Destructor. More... | |
| StatusCode | startProcessing () |
| StatusCode | endProcessing () |
| void | clean () |
| void | setStorage (std::string storage) |
| Data * | data () |
| std::vector< double > | data (unsigned int row) |
| std::vector< double > | data (std::string name) |
| Histo1D * | hist1d (unsigned int row) |
| Histo2D * | hist2d (unsigned int row) |
| void | addDataStream (std::string name, std::string title) |
| void | addHisto1d (TH1D *h) |
| void | addHisto2d (TH2D *h) |
| StatusCode | dataFill (int i, double val) |
| StatusCode | dataFill (std::string name, double val) |
| std::string | storage () |
| void | setElement (Element *element) |
| Element * | element () |
| void | incNErrors () |
| void | setNErrors (unsigned int) |
| unsigned int | nErrors () |
| TFile * | rootFile () |
| void | openRootFile () |
| void | closeRootFile () |
| void | startChrono () |
| void | setLogMsg (std::string logMsg) |
| std::string | logMsg () |
| void | setState (int state) |
| double | elapsedTime () |
| double | elapsedTime (time_t start) |
Public Member Functions inherited from Object | |
| Object () | |
| Standard constructor. More... | |
| virtual | ~Object () |
| Destructor. More... | |
| std::string | name () const |
| std::string | type () |
| unsigned char | id () |
| std::string | title () |
| void | msgSvc (int level, std::string msg, std::string name) |
| void | msg (std::string mymsg) |
| void | verbose (std::string mymsg) |
| void | debug (std::string mymsg) |
| void | info (std::string mymsg) |
| void | warning (std::string mymsg) |
| void | error (std::string mymsg) |
| void | fatal (std::string mymsg) |
| void | msg (std::string mymsg, std::string name) |
| void | verbose (std::string mymsg, std::string name) |
| void | debug (std::string mymsg, std::string name) |
| void | info (std::string mymsg, std::string name) |
| void | warning (std::string mymsg, std::string name) |
| void | error (std::string mymsg, std::string name) |
| void | fatal (std::string mymsg, std::string name) |
| void | setName (std::string name) |
| void | setType (std::string type) |
| void | setId (unsigned char id) |
| void | setTitle (std::string title) |
| void | setDllName (std::string dllName) |
| std::string | dllName () |
Public Member Functions inherited from Attrib | |
| Attrib () | |
| Standard constructor. More... | |
| virtual | ~Attrib () |
| Destructor. More... | |
| bool | is (int attribut) |
| void | add (int attribut) |
| void | remove (int attribut) |
| std::string | attributs () |
Protected Member Functions | |
| CurrentMeasurement * | clone () |
Private Attributes | |
| TRandom * | m_rnd |
| unsigned int | m_frequency |
| NI6008 * | m_device |
| unsigned int | m_numberOfDevices |
| TTree * | m_tree |
| Int_t | m_runNumber |
| Int_t | m_evtNumber |
| Int_t | m_timestamp [4] |
| Int_t | m_duration [4] |
| time_t | m_startTime |
| double | m_ai0 [4] |
| double | m_ai1 [4] |
| double | m_ai2 [4] |
| double | m_ai3 [4] |
Additional Inherited Members | |
Public Types inherited from Processus | |
| enum | states { ERR =-1, NOT_OK, OK } |
Public Types inherited from Attrib | |
| enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
Protected Attributes inherited from Processus | |
| Element * | m_element |
Protected Attributes inherited from Attrib | |
| std::string | m_attribString [10] |
Definition at line 23 of file CurrentMeasurement.h.
Standard constructor.
Definition at line 26 of file CurrentMeasurement.cpp.
References m_device, Object::setName(), Object::setTitle(), and Object::setType().
Referenced by clone().
|
inlinevirtual |
Definition at line 28 of file CurrentMeasurement.h.
References execute(), finalize(), and initialize().
|
inlineprotectedvirtual |
processus termination virtual function
Implements Processus.
Definition at line 67 of file CurrentMeasurement.h.
References CurrentMeasurement().
|
virtual |
processus execution virtual function
Implements Processus.
Definition at line 75 of file CurrentMeasurement.cpp.
References application(), NI6008::cmd(), Processus::dataFill(), NI6008::device(), m_ai0, m_ai1, m_ai2, m_ai3, m_device, m_duration, m_evtNumber, m_frequency, m_startTime, m_timestamp, m_tree, Options::nEvt(), NI6008::numberOfDevices(), Application::options(), StatusCode::SUCCESS, and wait().
Referenced by ~CurrentMeasurement().
|
virtual |
processus termination virtual function
Implements Processus.
Definition at line 113 of file CurrentMeasurement.cpp.
References StatusCode::SUCCESS.
Referenced by ~CurrentMeasurement().
|
inline |
Definition at line 62 of file CurrentMeasurement.h.
References m_frequency.
Referenced by BOOST_PYTHON_MODULE(), and setFrequency().
|
virtual |
Destructor.
Implements Processus.
Definition at line 36 of file CurrentMeasurement.cpp.
References Processus::addDataStream(), application(), NI6008::device(), Processus::element(), Object::info(), itos(), m_ai0, m_ai1, m_ai2, m_ai3, m_device, m_duration, m_evtNumber, m_numberOfDevices, m_runNumber, m_startTime, m_timestamp, m_tree, Object::name(), NI6008::numberOfDevices(), Application::options(), Options::runNumber(), StatusCode::SUCCESS, and Object::title().
Referenced by ~CurrentMeasurement().
|
inline |
Definition at line 53 of file CurrentMeasurement.h.
References m_numberOfDevices.
Referenced by BOOST_PYTHON_MODULE(), createPlot(), and updatePlot().
|
inline |
Definition at line 57 of file CurrentMeasurement.h.
References frequency(), m_frequency, and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE().
|
private |
Definition at line 82 of file CurrentMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 83 of file CurrentMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 84 of file CurrentMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 85 of file CurrentMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 74 of file CurrentMeasurement.h.
Referenced by CurrentMeasurement(), execute(), and initialize().
|
private |
Definition at line 80 of file CurrentMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 78 of file CurrentMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 73 of file CurrentMeasurement.h.
Referenced by execute(), frequency(), and setFrequency().
|
private |
Definition at line 75 of file CurrentMeasurement.h.
Referenced by initialize(), and numberOfDevices().
|
private |
Definition at line 69 of file CurrentMeasurement.h.
|
private |
Definition at line 77 of file CurrentMeasurement.h.
Referenced by initialize().
|
private |
Definition at line 81 of file CurrentMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 79 of file CurrentMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 76 of file CurrentMeasurement.h.
Referenced by execute(), and initialize().
1.8.13