MarlinTPC
1.2.0
|
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. | |
virtual | ~ADCChannelMapping () |
The desctructor. | |
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 |
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.