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

Class that combines information on pedestals for storage. More...

#include <Pedestal.h>

Inheritance diagram for tpcconddata::Pedestal:

Public Member Functions

 Pedestal (int channelID, int readoutGroup, float pedestalValue, float pedestalWidth)
 Convenient constructor using to integers for channel / readout group.
 
 Pedestal (std::pair< int, int > hardwareID, float pedestalValue, float pedestalWidth)
 Convenient constructor using an integer pair for channel / readout group.
 
 Pedestal (int channelID, int readoutGroup)
 Constructor wich only sets channel by two integers. More...
 
 Pedestal (std::pair< int, int > hardwareID)
 Constructor which only sets channel by pair of integers. More...
 
 Pedestal (EVENT::LCObject *obj)
 'Copy constructor' needed to interpret LCCollection read from file/database.
 
virtual ~Pedestal ()
 Important for memory handling.
 
std::pair< int, int > getHardwareID () const
 Returns a pair of integers of which the first element ist the channel ID and the second element the readout module ID as given by the DAQ.
 
float getPedestalValue () const
 
float getPedestalWidth () const
 
void setPedestalValue (float pedestalValue)
 
void setPedestalWidth (float pedestalWidth)
 
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 ()
 

Protected Member Functions

void setHardwareID (int channelID, int readoutGroup)
 

Detailed Description

Class that combines information on pedestals for storage.

The channel ID and the readout module ID is compound with the Pedestal value and width into a single object of type LCGenericObject. Based on the LCFixedObject template. This can be used to be stored in a LCCollectionVec.

Author
M. E. Janssen (DESY), R. Diener (DESY)

Constructor & Destructor Documentation

tpcconddata::Pedestal::Pedestal ( int  channelID,
int  readoutGroup 
)

Constructor wich only sets channel by two integers.

Value and width are set to zero.

tpcconddata::Pedestal::Pedestal ( std::pair< int, int >  hardwareID)

Constructor which only sets channel by pair of integers.

Value and width are set to zero.


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