BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/tofcalgsec/tofcalgsec-00-02-21/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, int 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 std::vector<TofCalib*> calib_etf_item;
34
35 std::vector<TofCalibFit*> calibration_barrel_item;
36 std::vector<TofCalibFit*> calibration_barrel_item2;
37 std::vector<TofCalibFit*> calibration_endcap_item;
38 std::vector<TofCalibFit*> calibration_etf_item;
39
40};
41
42#endif
void addCalib(TofCalib *cal_item1, int isbarrel)
static TofCalibManager * getManager()
void addCalib(TofCalibFit *cal_item2, bool isbarrel)
void fillRoot(string &dir)
void fillTxt(string &dir)
void doCalibration()