11 return std::string(
"$Rev: 2567 $");
17 return std::string(
"TPCPedestal");
58 std::pair<int,int> hardwareid;
59 hardwareid.first = getIntVal( 0 );
60 hardwareid.second= getIntVal( 1 );
67 return getFloatVal( 0 );
73 return getFloatVal( 1 );
79 obj()->setFloatVal( 0, pedestalValue );
85 obj()->setFloatVal( 1, pedestalWidth );
89 Pedestal::key_type Pedestal::conditions_key()
const {
98 obj()->setIntVal( 0, channelID );
99 obj()->setIntVal( 1, readoutGroup );
105 std::streamsize PrecisionBefore = os.precision();
106 std::streamsize WidthBefore = os.width();
107 os.precision(3); os.setf(std::ios_base::fixed);
110 os.unsetf( std::ios_base::fixed );
111 os.precision( PrecisionBefore );
112 os.width( WidthBefore );
static std::string getRevision()
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()
void setPedestalValue(float pedestalValue)
std::ostream & operator<<(std::ostream &os, const ADCChannelMapping &acm)
void setHardwareID(int channelID, int readoutGroup)
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.