LCCD  1.5.0
Public Member Functions | List of all members
CalibrationConstant Class Reference

Example for a simple calibration class based on the LCFixedObject template. More...

#include <CalibrationConstant.hh>

Inheritance diagram for CalibrationConstant:

Public Member Functions

 CalibrationConstant (int cellID, float offset, float gain)
 Convenient c'tor.
 
 CalibrationConstant (LCObject *obj)
 'Copy constructor' needed to interpret LCCollection read from file/database.
 
virtual ~CalibrationConstant ()
 Important for memory handling.
 
int getCellID ()
 
float getOffset ()
 
float getGain ()
 
void print (std::ostream &os)
 
const std::string getTypeName () const
 
const std::string getDataDescription () const
 

Detailed Description

Example for a simple calibration class based on the LCFixedObject template.

LCFixedObject uses an instance of LCGenericObjectImpl that holds the data, thus there is no overhead when the data is read from a database or file for copying it to some local structure (Decorator pattern).


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