Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

CalibrationConstant Class Reference

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

#include <CalibrationConstant.hh>

List of all members.

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:
Generated on Fri Sep 9 12:30:31 2005 for LCCD by doxygen 1.3.5