1 #ifndef CalibrationConstant_h
2 #define CalibrationConstant_h 1
52 return"CalibrationConstant" ;
56 return "i:cellID,f:offset,f:gain" ;
virtual void setFloatVal(unsigned index, float value)
Sets the float value at the given index.
CalibrationConstant(int cellID, float offset, float gain)
Convenient c'tor.
const std::string getDataDescription() const
The description string.
virtual int getIntVal(int index) const
Returns the integer value for the given index.
virtual float getFloatVal(int index) const
Returns the float value for the given index.
void print(std::ostream &os)
virtual ~CalibrationConstant()
Important for memory handling.
virtual void setIntVal(unsigned index, int value)
Sets the integer value at the given index.
LCFixedObject()
Default c'tor.
CalibrationConstant(LCObject *o)
'Copy constructor' needed to interpret LCCollection read from file/database.
Example for a simple calibration class based on the LCFixedObject template.
const std::string getTypeName() const
The type name of the user class (typically the class name) This type name is stored as a collection p...
Template class for fixed size LCGenericObject subclasses.
IMPL::LCGenericObjectImpl * obj()
The LCGenericObjectImpl .