CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/tofcalgsec/tofcalgsec-00-02-08/tofcalgsec/TofCalibManager.h
Go to the documentation of this file.
1#ifndef TOFCALMANAGER_H
2#define TOFCALMANAGER_H
3#include "tofcalgsec/TofDataSet.h"
4#include "tofcalgsec/TofCalib.h"
5#include "tofcalgsec/TofCalibFit.h"
6
8 protected:
10
11 public:
13
15
16 TofDataSet* dataSet() { return m_dataset; }
17
18 void addCalib( TofCalib* cal_item1, bool isbarrel );
19 void addCalib( TofCalibFit* cal_item2, bool isbarrel );
20
22
23 void fillTxt( string& dir );
24 void fillRoot( string& dir );
25
26 private:
27 static TofCalibManager* m_manager;
28
29 TofDataSet* m_dataset;
30
31 std::vector<TofCalib*> calib_barrel_item;
32 std::vector<TofCalib*> calib_endcap_item;
33
34 std::vector<TofCalibFit*> calibration_barrel_item;
35 std::vector<TofCalibFit*> calibration_barrel_item2;
36 std::vector<TofCalibFit*> calibration_endcap_item;
37
38};
39
40#endif
static TofCalibManager * getManager()
void addCalib(TofCalibFit *cal_item2, bool isbarrel)
void addCalib(TofCalib *cal_item1, bool isbarrel)
void fillRoot(string &dir)
void fillTxt(string &dir)
void doCalibration()