20 #ifndef STTOFCALIBRATION_H
21 #define STTOFCALIBRATION_H
23 #ifndef ST_NO_NAMESPACES
27 #define TOFP_MAX_SLATS 41
38 #ifndef ST_NO_TEMPLATE_DEF_ARGS
39 typedef vector<StructSlatCalib> slatCalibVector;
41 typedef vector<StructSlatCalib, allocator<StructSlatCalib> > slatCalibVector;
43 typedef slatCalibVector::iterator slatCalibIter;
48 slatCalibVector mSlatCalibVec;
53 void print(ostream& os = cout);
54 int numberOfEntries()
const;
58 inline StructSlatCalib StTofCalibration::slat(
int index)
const {
return mSlatCalibVec[index];}
59 inline int StTofCalibration::numberOfEntries()
const {
return mSlatCalibVec.size();}
void print(ostream &os=cout)
dump contents of calibration vector to stdout
Time-of-Flight Calibration Utilities.
void init()
initializes calibration from XDF or dBase (not functioning yet)
~StTofCalibration()
default empty destructor
StTofCalibration()
default constructor, initializes default calibration values