|
TPCCondData
|
Class that combines information on parameters and settings if the read-out electronics for storage. More...
#include <GenericADCElectronicsParameters.h>
Public Member Functions | |
| GenericADCElectronicsParameters (int readoutGroupID, int polarity, int maxADCvalue, float frequency, bool isPedestalSubtracted, bool isZeroSupressed) | |
| Convenient constructor setting all values. More... | |
| GenericADCElectronicsParameters (EVENT::LCObject *obj) | |
| 'Copy constructor' needed to interpret LCCollection read from file/database. More... | |
| virtual | ~GenericADCElectronicsParameters () |
| Important for memory handling. More... | |
| void | setReadoutGroup (int readoutGroupID) |
| void | setPolarity (int polarity) |
| void | setMaxADCValue (int maxADCValue) |
| void | setFrequency (float frequency) |
| void | setPedestalSubtracted (bool onoff) |
| void | setZeroSupressed (bool onoff) |
| int | getReadoutGroup () const |
| int | getPolarity () const |
| int | getMaxADCValue () const |
| float | getFrequency () const |
| bool | isPedestalSubtracted () const |
| bool | isZeroSupressed () const |
| void | print (std::ostream &os=std::cout) const |
| const std::string | getTypeName () const |
| const std::string | getDataDescription () const |
Static Public Member Functions | |
| static std::string | getRevision () |
| static std::string | getDefaultColName () |
Class that combines information on parameters and settings if the read-out electronics for storage.
The readout group (module) number can be stored as integer. The polarity of the electronics is stored in an integer that should be +1 (positive polarity) or -1 (negative polarity). The precision of the read-out electronics can be stored in an integer variable that holds the maximum possible ADC counts (i.e. maxADCValue=255). The read-out frequency is store as a float variable in the unit MHz. This object is based on the LCFixedObject template.
Definition at line 37 of file GenericADCElectronicsParameters.h.
| tpcconddata::GenericADCElectronicsParameters::GenericADCElectronicsParameters | ( | int | readoutGroupID, |
| int | polarity, | ||
| int | maxADCvalue, | ||
| float | frequency, | ||
| bool | isPedestalSubtracted, | ||
| bool | isZeroSupressed | ||
| ) |
Convenient constructor setting all values.
Definition at line 20 of file GenericADCElectronicsParameters.cc.
|
inline |
'Copy constructor' needed to interpret LCCollection read from file/database.
Definition at line 48 of file GenericADCElectronicsParameters.h.
|
virtual |
Important for memory handling.
Definition at line 30 of file GenericADCElectronicsParameters.cc.
|
inline |
Definition at line 94 of file GenericADCElectronicsParameters.h.
|
static |
Definition at line 15 of file GenericADCElectronicsParameters.cc.
| float tpcconddata::GenericADCElectronicsParameters::getFrequency | ( | ) | const |
Definition at line 78 of file GenericADCElectronicsParameters.cc.
| int tpcconddata::GenericADCElectronicsParameters::getMaxADCValue | ( | ) | const |
Definition at line 73 of file GenericADCElectronicsParameters.cc.
| int tpcconddata::GenericADCElectronicsParameters::getPolarity | ( | ) | const |
Definition at line 68 of file GenericADCElectronicsParameters.cc.
| int tpcconddata::GenericADCElectronicsParameters::getReadoutGroup | ( | ) | const |
Definition at line 63 of file GenericADCElectronicsParameters.cc.
|
static |
Definition at line 10 of file GenericADCElectronicsParameters.cc.
|
inline |
Definition at line 90 of file GenericADCElectronicsParameters.h.
| bool tpcconddata::GenericADCElectronicsParameters::isPedestalSubtracted | ( | ) | const |
Definition at line 83 of file GenericADCElectronicsParameters.cc.
| bool tpcconddata::GenericADCElectronicsParameters::isZeroSupressed | ( | ) | const |
Definition at line 88 of file GenericADCElectronicsParameters.cc.
| void tpcconddata::GenericADCElectronicsParameters::print | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 96 of file GenericADCElectronicsParameters.cc.
| void tpcconddata::GenericADCElectronicsParameters::setFrequency | ( | float | frequency | ) |
Definition at line 47 of file GenericADCElectronicsParameters.cc.
| void tpcconddata::GenericADCElectronicsParameters::setMaxADCValue | ( | int | maxADCValue | ) |
Definition at line 42 of file GenericADCElectronicsParameters.cc.
| void tpcconddata::GenericADCElectronicsParameters::setPedestalSubtracted | ( | bool | onoff | ) |
Definition at line 52 of file GenericADCElectronicsParameters.cc.
| void tpcconddata::GenericADCElectronicsParameters::setPolarity | ( | int | polarity | ) |
Definition at line 37 of file GenericADCElectronicsParameters.cc.
| void tpcconddata::GenericADCElectronicsParameters::setReadoutGroup | ( | int | readoutGroupID | ) |
Definition at line 32 of file GenericADCElectronicsParameters.cc.
| void tpcconddata::GenericADCElectronicsParameters::setZeroSupressed | ( | bool | onoff | ) |
Definition at line 57 of file GenericADCElectronicsParameters.cc.
1.8.6