45 #include "StTofCalibration.h"
55 mSlatCalibVec.clear();
56 for(
int iRow=0; iRow<TOFP_MAX_SLATS; iRow++){
58 tempSlatCalib->offset_tdc = 0.;
59 tempSlatCalib->cc_tdc = 50.0e-12;
60 tempSlatCalib->ods_tdc = 0.;
61 tempSlatCalib->offset_adc = 0.;
62 tempSlatCalib->ods_adc = 0.;
63 tempSlatCalib->cc_adc = 2.4e-2;
64 mSlatCalibVec.push_back(*tempSlatCalib);
98 os <<
"------StTofCalibration:print()----" << endl;
99 os <<
" CalibrationVector Size = " << mSlatCalibVec.size() << endl;
100 for (
unsigned int i=0;i<mSlatCalibVec.size();i++){
102 <<
" tdc: " << mSlatCalibVec[i].offset_tdc <<
" " << mSlatCalibVec[i].cc_tdc
103 <<
" " << mSlatCalibVec[i].ods_tdc
104 <<
" adc: " << mSlatCalibVec[i].offset_adc
105 <<
" " << mSlatCalibVec[i].ods_adc <<
" " << mSlatCalibVec[i].cc_adc
108 os <<
"----------------------------------" << endl;
void print(ostream &os=cout)
dump contents of calibration vector to stdout
void init()
initializes calibration from XDF or dBase (not functioning yet)
~StTofCalibration()
default empty destructor
StTofCalibration()
default constructor, initializes default calibration values