TPCCondData
|
class to store the mapping pad (position) to the channel ID (electronic) also the type of the used electronic can be stored. More...
#include <ADCChannelMapping.h>
Public Member Functions | |
ADCChannelMapping (int channelID, int padIndex, int type=-1, int moduleID=0, int readoutGroup=0) | |
The constructor with all the member functions given. More... | |
ADCChannelMapping (EVENT::LCObject *obj) | |
The constructor to be used with LCObjects from a collection. More... | |
virtual | ~ADCChannelMapping () |
The desctructor. More... | |
int | getChannelID () const |
int | getPadID () const |
int | getType () const |
int | getModuleID () const |
int | getReadoutGroup () const |
IMPL::LCGenericObjectImpl * | obj () const |
virtual int | id () const |
void | print (std::ostream &os=std::cout) const |
virtual const std::string | getTypeName () const |
virtual const std::string | getDataDescription () const |
virtual int | getNInt () const |
virtual int | getNFloat () const |
virtual int | getNDouble () const |
virtual int | getIntVal (int i) const |
virtual float | getFloatVal (int i) const |
virtual double | getDoubleVal (int i) const |
virtual bool | isFixedSize () const |
Static Public Member Functions | |
static std::string | getRevision () |
static std::string | getDefaultColName () |
Protected Attributes | |
bool | _createObj |
IMPL::LCGenericObjectImpl * | _myObj |
class to store the mapping pad (position) to the channel ID (electronic) also the type of the used electronic can be stored.
The class is also able to handle the module ID. It is fully backward compatible to the version without module ID, although the implementation has changed from LCFixedObject to LCGenerigObject to provide the required felixibility.
Like the LCFixedObject this thing contains an LCGenericObject, but is not derrived from it.
channelID | Hardware channel number |
padID | The GEAR pad index |
type | The type of readout electronics, optional, default -1 |
moduleID | The GEAR module ID, optional, default 0 |
readoutGroup | The hardware readout group number. Used if there are several readout units which all provide the same range of channel numbers (altro RCUs for instance), optional, default 0 |
Definition at line 36 of file ADCChannelMapping.h.
tpcconddata::ADCChannelMapping::ADCChannelMapping | ( | int | channelID, |
int | padIndex, | ||
int | type = -1 , |
||
int | moduleID = 0 , |
||
int | readoutGroup = 0 |
||
) |
The constructor with all the member functions given.
Use this to create on object on the heap.
Definition at line 21 of file ADCChannelMapping.cc.
tpcconddata::ADCChannelMapping::ADCChannelMapping | ( | EVENT::LCObject * | obj | ) |
The constructor to be used with LCObjects from a collection.
Definition at line 36 of file ADCChannelMapping.cc.
|
virtual |
The desctructor.
Definition at line 60 of file ADCChannelMapping.cc.
int tpcconddata::ADCChannelMapping::getChannelID | ( | ) | const |
Definition at line 67 of file ADCChannelMapping.cc.
|
inlinevirtual |
Definition at line 75 of file ADCChannelMapping.h.
|
static |
Definition at line 16 of file ADCChannelMapping.cc.
|
inlinevirtual |
Definition at line 88 of file ADCChannelMapping.h.
|
inlinevirtual |
Definition at line 87 of file ADCChannelMapping.h.
|
inlinevirtual |
Definition at line 86 of file ADCChannelMapping.h.
int tpcconddata::ADCChannelMapping::getModuleID | ( | ) | const |
Definition at line 82 of file ADCChannelMapping.cc.
|
inlinevirtual |
Definition at line 84 of file ADCChannelMapping.h.
|
inlinevirtual |
Definition at line 83 of file ADCChannelMapping.h.
|
inlinevirtual |
Definition at line 82 of file ADCChannelMapping.h.
int tpcconddata::ADCChannelMapping::getPadID | ( | ) | const |
Definition at line 72 of file ADCChannelMapping.cc.
int tpcconddata::ADCChannelMapping::getReadoutGroup | ( | ) | const |
Definition at line 98 of file ADCChannelMapping.cc.
|
static |
Definition at line 11 of file ADCChannelMapping.cc.
int tpcconddata::ADCChannelMapping::getType | ( | ) | const |
Definition at line 77 of file ADCChannelMapping.cc.
|
inlinevirtual |
Definition at line 70 of file ADCChannelMapping.h.
|
inlinevirtual |
Definition at line 65 of file ADCChannelMapping.h.
|
inlinevirtual |
Definition at line 90 of file ADCChannelMapping.h.
|
inline |
Definition at line 64 of file ADCChannelMapping.h.
void tpcconddata::ADCChannelMapping::print | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 114 of file ADCChannelMapping.cc.
|
protected |
Definition at line 101 of file ADCChannelMapping.h.
|
protected |
Definition at line 102 of file ADCChannelMapping.h.