LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | List of all members
CalibrationConstant Class Reference

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

#include </opt/ilcsoft/HEAD-2016-12-02/lcio/HEAD/src/cpp/src/EXAMPLE/CalibrationConstant.h>

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 file: