TPCCondData
|
Class that combines information on pedestals for storage. More...
#include <Pedestal.h>
Public Member Functions | |
Pedestal (int channelID, int readoutGroup, float pedestalValue, float pedestalWidth) | |
Convenient constructor using to integers for channel / readout group. More... | |
Pedestal (std::pair< int, int > hardwareID, float pedestalValue, float pedestalWidth) | |
Convenient constructor using an integer pair for channel / readout group. More... | |
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. More... | |
virtual | ~Pedestal () |
Important for memory handling. More... | |
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. More... | |
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) |
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.
Definition at line 32 of file Pedestal.h.
tpcconddata::Pedestal::Pedestal | ( | int | channelID, |
int | readoutGroup, | ||
float | pedestalValue, | ||
float | pedestalWidth | ||
) |
Convenient constructor using to integers for channel / readout group.
Definition at line 21 of file Pedestal.cc.
tpcconddata::Pedestal::Pedestal | ( | std::pair< int, int > | hardwareID, |
float | pedestalValue, | ||
float | pedestalWidth | ||
) |
Convenient constructor using an integer pair for channel / readout group.
Definition at line 29 of file Pedestal.cc.
tpcconddata::Pedestal::Pedestal | ( | int | channelID, |
int | readoutGroup | ||
) |
Constructor wich only sets channel by two integers.
Value and width are set to zero.
Definition at line 37 of file Pedestal.cc.
tpcconddata::Pedestal::Pedestal | ( | std::pair< int, int > | hardwareID | ) |
Constructor which only sets channel by pair of integers.
Value and width are set to zero.
Definition at line 45 of file Pedestal.cc.
|
inline |
'Copy constructor' needed to interpret LCCollection read from file/database.
Definition at line 55 of file Pedestal.h.
|
virtual |
Important for memory handling.
Definition at line 53 of file Pedestal.cc.
|
inline |
Definition at line 85 of file Pedestal.h.
|
static |
Definition at line 15 of file Pedestal.cc.
std::pair< int, int > tpcconddata::Pedestal::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.
Definition at line 56 of file Pedestal.cc.
float tpcconddata::Pedestal::getPedestalValue | ( | ) | const |
Definition at line 65 of file Pedestal.cc.
float tpcconddata::Pedestal::getPedestalWidth | ( | ) | const |
Definition at line 71 of file Pedestal.cc.
|
static |
Definition at line 9 of file Pedestal.cc.
|
inline |
Definition at line 81 of file Pedestal.h.
void tpcconddata::Pedestal::print | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 103 of file Pedestal.cc.
|
protected |
Definition at line 96 of file Pedestal.cc.
void tpcconddata::Pedestal::setPedestalValue | ( | float | pedestalValue | ) |
Definition at line 77 of file Pedestal.cc.
void tpcconddata::Pedestal::setPedestalWidth | ( | float | pedestalWidth | ) |
Definition at line 83 of file Pedestal.cc.