BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-17/CalibData/Tof/TofElecData.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/Tof/TofElecData.h,v 1.1 2009/09/22 07:28:05 huangb Exp $
2#ifndef CalibData_TofElecData_h
3#define CalibData_TofElecData_h
4/* @class CalibData_TofElecData_h
5
6 calibration data class
7 calibration infrastructure
8
9 @author huangb
10*/
11#include "GaudiKernel/DataObject.h"
12#include "CalibData/CalibModel.h"
13#include "CalibData/CalibBase1.h"
14#include "BarrelElec.h"
15#include "EndcapElec.h"
16
17namespace CalibData {
18 class TofElecData: public CalibBase1{
19
20 public:
21 TofElecData(){m_bTofElecData=0;
22 m_eTofElecData=0;};
23 TofElecData(std::vector<BarrelElec>* bTofCal,std::vector<EndcapElec>* eTofCal);
24 // TofElecData(const TofElecData& other);
25 void sim(TofElecData* other1);
26 virtual ~TofElecData() {
27 delete m_bTofElecData;
28 delete m_eTofElecData;
29 }
30
31 // Re-implemented from DataObject
32 inline virtual const CLID& clID() const { return classID(); }
33
34 inline static const CLID& classID() { return CLID_TofQ_Elec; }
35
36 virtual StatusCode update(CalibBase1& other, MsgStream* log);
37
38 //get the Calibration Data
39 BarrelElec getBTof(int cnt) const;
40
41 EndcapElec getETof(int cnt) const;
42
43 private:
44 std::vector<BarrelElec>* m_bTofElecData;
45 std::vector<EndcapElec>* m_eTofElecData;
46 };
47}
48
49
50#endif
void sim(TofElecData *other1)
Definition: TofElecData.cxx:33
EndcapElec getETof(int cnt) const
Definition: TofElecData.cxx:52
BarrelElec getBTof(int cnt) const
Definition: TofElecData.cxx:43