CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
CgemAlignAlg.h
Go to the documentation of this file.
1#ifndef CGEMALIGNALG_H
2#define CGEMALIGNALG_H
3
4#include "GaudiKernel/Algorithm.h"
5#include "GaudiKernel/NTuple.h"
6#include "GaudiKernel/INTupleSvc.h"
14
15#include "TObjArray.h"
16#include "TFile.h"
17
18#include <fstream>
19
20
21class CgemAlignAlg: public Algorithm {
22public:
23 CgemAlignAlg(const std::string& name, ISvcLocator* pSvcLocator);
25
26 StatusCode initialize();
27 StatusCode execute();
28 StatusCode finalize();
29
30private:
31 void initParam();
32 //NTuple::Tuple* m_tuple;
33 //NTuple::Item<double> run;
34
35 TObjArray* m_hlist;
36 ICgemGeomSvc* m_cgemGeomSvc;
37 ICgemCalibFunSvc* m_cgemFunSvc;
38 CgemAlignBase* m_align;
39 CgemAlignPar* m_alignPar;
40 CgemAliEvent* m_cgemevt;
41 CgemAliParams m_param;
42
43 int m_alignMethod; /* 0: millepede method; */
44 int m_evtType; /* 0-6: e,mu,pi,k,p,cosmic-ray */
45 long EventStart;
46 long EventEnd;
47 std::string m_histname;
48 int m_nEvtDisp;
49 bool m_initAlignParFlg;
50
51 int m_nEvt;
52 std::string m_configFile;
53 std::string m_alignFile;
54};
55#endif
StatusCode execute()
CgemAlignAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode finalize()
StatusCode initialize()