2 #define Calibration_h 1
10 #include "UTIL/LCFixedObject.h"
13 #define CalibrationNINTVals 4 // N event and N hits in it
14 #define CalibrationNFLOATVals 0
15 #define CalibrationNDOUBLEVals 4 // Energies
17 class Calibration :
public UTIL::LCFixedObject<CalibrationNINTVals,
18 CalibrationNFLOATVals,CalibrationNDOUBLEVals> {
25 double en1,
double en2,
double en3,
double enr );
29 Calibration(EVENT::LCObject* obj) : UTIL::LCFixedObject<CalibrationNINTVals,
30 CalibrationNFLOATVals,
31 CalibrationNDOUBLEVals>(obj) { }
47 const std::string getTypeName()
const {
48 return std::string(
"Calibration");
50 const std::string getDataDescription()
const {
51 return std::string(
"i:Nevent,Nhits[3],d:Energies[4]");
virtual ~Calibration()
Important for memory handling.
Definition: Calibration.h:34
Calibration(EVENT::LCObject *obj)
'Copy constructor' needed to interpret LCCollection read from file/database.
Definition: Calibration.h:29
Definition: Calibration.h:17
Calibration(int nevt, int n1, int n2, int n3, double en1, double en2, double en3, double enr)
Convenient constructor.