1 #ifndef ADCChannelMapping_h
2 #define ADCChannelMapping_h 1
10 #include "EVENT/LCGenericObject.h"
11 #include "IMPL/LCGenericObjectImpl.h"
45 int readoutGroup = 0);
64 IMPL::LCGenericObjectImpl*
obj()
const {
return _myObj; }
65 virtual int id()
const {
return _myObj->id(); }
67 void print( std::ostream& os = std::cout)
const;
72 return std::string(
"ADCChannelMapping");
77 return std::string(
"i:ChannelIDs,PadID,Type,ModuleID,ReadoutGroup");
94 typedef std::pair<int, int> key_type;
96 key_type softwareToHardwareKey()
const;
97 key_type hardwareToSoftwareKey()
const;
virtual float getFloatVal(int i) const
virtual double getDoubleVal(int i) const
virtual int getNFloat() const
ADCChannelMapping(int channelID, int padIndex, int type=-1, int moduleID=0, int readoutGroup=0)
The constructor with all the member functions given.
std::ostream & operator<<(std::ostream &os, const ADCChannelMapping &acm)
int getReadoutGroup() const
virtual int getNDouble() const
void print(std::ostream &os=std::cout) const
virtual int getIntVal(int i) const
IMPL::LCGenericObjectImpl * _myObj
virtual int getNInt() const
virtual bool isFixedSize() const
static std::string getRevision()
virtual const std::string getTypeName() const
virtual const std::string getDataDescription() const
virtual ~ADCChannelMapping()
The desctructor.
static std::string getDefaultColName()
class to store the mapping pad (position) to the channel ID (electronic) also the type of the used el...
IMPL::LCGenericObjectImpl * obj() const