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

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>

Inheritance diagram for tpcconddata::ADCChannelMapping:

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
 

Detailed Description

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.

Parameters
channelIDHardware channel number
padIDThe GEAR pad index
typeThe type of readout electronics, optional, default -1
moduleIDThe GEAR module ID, optional, default 0
readoutGroupThe 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

Constructor & Destructor Documentation

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.


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