|
Cat
|
#include <include/ADCMeasurement.h>
Classes | |
| class | CurrentMeasurement |
Public Member Functions | |
| ADCMeasurement () | |
| Standard constructor. More... | |
| virtual | ~ADCMeasurement () |
| virtual StatusCode | initialize () |
| Destructor. More... | |
| virtual StatusCode | execute () |
| virtual StatusCode | finalize () |
| StatusCode | setFrequency (unsigned int frequency) |
| unsigned int | frequency () |
| unsigned int | numberOfDevices () |
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 | |
| ADCMeasurement * | clone () |
Private Attributes | |
| TRandom * | m_rnd |
| NI6008 * | m_device |
| unsigned int | m_frequency |
| TTree * | m_tree |
| Int_t | m_runNumber |
| Int_t | m_evtNumber |
| Int_t | m_timestamp |
| Int_t | m_duration |
| time_t | m_startTime |
| Float_t | m_ai0 |
| Float_t | m_ai1 |
| Float_t | m_ao0 |
| Float_t | m_ao1 |
| Int_t | m_diA |
| Int_t | m_diB |
| Float_t | m_minRamp |
| Float_t | m_maxRamp |
| Int_t | m_stepRamp |
| Float_t | m_ramp |
| Int_t | m_baseline |
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 ADCMeasurement.h.
| ADCMeasurement::ADCMeasurement | ( | ) |
Standard constructor.
Definition at line 26 of file ADCMeasurement.cpp.
References Object::setName(), Object::setTitle(), and Object::setType().
Referenced by clone().
|
inlinevirtual |
Definition at line 28 of file ADCMeasurement.h.
References execute(), finalize(), and initialize().
|
inlineprotectedvirtual |
processus termination virtual function
Implements Processus.
Definition at line 48 of file ADCMeasurement.h.
References ADCMeasurement().
|
virtual |
processus execution virtual function
Implements Processus.
Definition at line 73 of file ADCMeasurement.cpp.
References application(), NI6008::cmd(), Processus::dataFill(), m_ai0, m_ai1, m_ao0, m_baseline, m_device, m_diA, m_diB, m_duration, m_evtNumber, m_frequency, m_maxRamp, m_minRamp, m_ramp, m_startTime, m_stepRamp, m_timestamp, m_tree, Options::nEvt(), Application::options(), StatusCode::SUCCESS, and wait().
Referenced by ~ADCMeasurement().
|
virtual |
processus termination virtual function
Implements Processus.
Definition at line 146 of file ADCMeasurement.cpp.
References StatusCode::SUCCESS.
Referenced by ~ADCMeasurement().
|
inline |
Definition at line 39 of file ADCMeasurement.h.
References m_frequency.
Referenced by BOOST_PYTHON_MODULE(), and setFrequency().
|
virtual |
Destructor.
Implements Processus.
Definition at line 35 of file ADCMeasurement.cpp.
References Processus::addDataStream(), application(), Options::dataStorage(), Processus::element(), Object::info(), m_ai0, m_ai1, m_ao0, m_baseline, m_device, m_diA, m_diB, m_duration, m_evtNumber, m_maxRamp, m_minRamp, m_ramp, m_runNumber, m_startTime, m_stepRamp, m_timestamp, m_tree, Object::name(), Application::options(), Options::runNumber(), StatusCode::SUCCESS, and Object::title().
Referenced by ~ADCMeasurement().
|
inline |
|
inline |
Definition at line 34 of file ADCMeasurement.h.
References frequency(), m_frequency, and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE().
|
private |
Definition at line 62 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 63 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 64 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 65 of file ADCMeasurement.h.
|
private |
Definition at line 72 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 54 of file ADCMeasurement.h.
Referenced by execute(), initialize(), and numberOfDevices().
|
private |
Definition at line 66 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 67 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 60 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 58 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 55 of file ADCMeasurement.h.
Referenced by execute(), frequency(), and setFrequency().
|
private |
Definition at line 69 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 68 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 71 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 50 of file ADCMeasurement.h.
|
private |
Definition at line 57 of file ADCMeasurement.h.
Referenced by initialize().
|
private |
Definition at line 61 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 70 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 59 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 56 of file ADCMeasurement.h.
Referenced by execute(), and initialize().
1.8.13