11 #include "UTIL/LCFixedObject.h" 
   13 #define PedestalNINTVals 2       // DAQ channel number and readout module ID here called channelID and readoutGroup 
   14 #define PedestalNFLOATVals 2     // Pedestal Value and Pedestal Width 
   15 #define PedestalNDOUBLEVals 0 
   32     class Pedestal : 
public UTIL::LCFixedObject<PedestalNINTVals,PedestalNFLOATVals,PedestalNDOUBLEVals>
 
   39             Pedestal(
int channelID, 
int readoutGroup, 
float pedestalValue, 
float pedestalWidth);
 
   43             Pedestal(std::pair<int,int> hardwareID, 
float pedestalValue, 
float pedestalWidth);
 
   47             Pedestal(
int channelID, 
int readoutGroup);
 
   51             Pedestal(std::pair<int,int> hardwareID);
 
   78             void print(  std::ostream& os = std::cout ) 
const;
 
   83                 return std::string(
"Pedestal");
 
   87                 return std::string(
"i:ChannelID,ModuleID,f:PedestalValue,PedestalWidth");
 
   92                         typedef std::pair<int, int> key_type;
 
   94                         key_type conditions_key() 
const;
 
  104     std::ostream &
operator<<(std::ostream &os, 
const Pedestal &p);    
 
const std::string getTypeName() const 
 
static std::string getRevision()
 
const std::string getDataDescription() const 
 
void print(std::ostream &os=std::cout) const 
 
Class that combines information on pedestals for storage. 
 
virtual ~Pedestal()
Important for memory handling. 
 
static std::string getDefaultColName()
 
#define PedestalNFLOATVals
 
Pedestal(EVENT::LCObject *obj)
'Copy constructor' needed to interpret LCCollection read from file/database. 
 
void setPedestalValue(float pedestalValue)
 
std::ostream & operator<<(std::ostream &os, const ADCChannelMapping &acm)
 
void setHardwareID(int channelID, int readoutGroup)
 
#define PedestalNDOUBLEVals
 
float getPedestalValue() const 
 
void setPedestalWidth(float pedestalWidth)
 
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 r...
 
float getPedestalWidth() const 
 
Pedestal(int channelID, int readoutGroup, float pedestalValue, float pedestalWidth)
Convenient constructor using to integers for channel / readout group.