CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
CgemAlignBase.h
Go to the documentation of this file.
1#ifndef CGEMALIGNBASE_H
2#define CGEMALIGNBASE_H
3
4#include "GaudiKernel/Algorithm.h"
5
11
12#include "TROOT.h"
13#include "TFile.h"
14#include "TObjArray.h"
15#include "TH1F.h"
16#include "TF1.h"
17#include "TTree.h"
18#include "TFolder.h"
19#include "TGraph.h"
20
21#include <fstream>
22
24public:
26 virtual ~CgemAlignBase();
27 virtual void initialize(TObjArray* hlist, ICgemGeomSvc* cgemGeomSvc, ICgemCalibFunSvc* cgemFunSvc) = 0;
28 virtual void setParam(CgemAliParams& param) = 0;
29 virtual bool fillHist(CgemAliEvent* event, CgemAlignPar* alignPar) = 0;
30 virtual bool updateAlignPar(CgemAlignPar* alignPar) = 0;
31 virtual void clear() = 0;
32
33private:
34 ICgemGeomSvc* m_cgemGeomSvc;
35 ICgemCalibFunSvc* m_cgemFunSvc;
36 TObjArray* m_hlist;
37 CgemAliParams m_param;
38
39};
40
42 m_param = param;
43 }
44#endif
virtual bool updateAlignPar(CgemAlignPar *alignPar)=0
virtual bool fillHist(CgemAliEvent *event, CgemAlignPar *alignPar)=0
virtual void setParam(CgemAliParams &param)=0
virtual void initialize(TObjArray *hlist, ICgemGeomSvc *cgemGeomSvc, ICgemCalibFunSvc *cgemFunSvc)=0
virtual void clear()=0
virtual ~CgemAlignBase()