MarlinTPC  1.2.0
Public Member Functions | Static Public Member Functions | List of all members
tpcconddata::GenericADCElectronicsParameters Class Reference

Class that combines information on parameters and settings if the read-out electronics for storage. More...

#include <GenericADCElectronicsParameters.h>

Inheritance diagram for tpcconddata::GenericADCElectronicsParameters:

Public Member Functions

 GenericADCElectronicsParameters (int readoutGroupID, int polarity, int maxADCvalue, float frequency, bool isPedestalSubtracted, bool isZeroSupressed)
 Convenient constructor setting all values.
 
 GenericADCElectronicsParameters (EVENT::LCObject *obj)
 'Copy constructor' needed to interpret LCCollection read from file/database.
 
virtual ~GenericADCElectronicsParameters ()
 Important for memory handling.
 
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 ()
 

Detailed Description

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.

Author
R. Diener (DESY)

The documentation for this class was generated from the following files: