BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcAlignAlg.h
Go to the documentation of this file.
1#ifndef MDCALIGNALG_H
2#define MDCALIGNALG_H
3
4#include "GaudiKernel/Algorithm.h"
5
10
14
19
21
22#include "TObjArray.h"
23
24#include <iostream>
25#include <fstream>
26using namespace std;
27
28/////////////////////////////////////////////////////////////////////////////
29
30class MdcAlignAlg: public Algorithm {
31public:
32 MdcAlignAlg(const std::string& name, ISvcLocator* pSvcLocator);
33
34 StatusCode initialize();
35 StatusCode execute();
36 StatusCode finalize();
37
38private:
39 void initParam();
40 TObjArray* m_hlist;
41 IMdcGeomSvc* m_mdcGeomSvc;
42 IMdcCalibFunSvc* m_mdcFunSvc;
43 IMdcUtilitySvc* m_mdcUtilitySvc;
44 MdcAlign* m_pAlign;
45 MdcAliEvent* m_mdcevt;
46 MdcAlignPar* m_alignPar;
47 MdcAliParams m_param;
48
49 bool m_distAlign;
50 int m_alignMeth;
51 int m_flgKalFit; /* 1 for using Kalman filter, 0 for not */
52 int m_evtType; /* 0: bhabha; 1: dimu */
53 int m_nEvtDisp;
54 int m_nEvt;
55 double m_mag; /* magnetic field [Tesla] */
56
57 std::string m_alignFile;
58 std::string m_configFile;
59 std::string m_fixMomLab;
60 std::string m_histname;
61};
62
63#endif /* MDCALIGNALG_H */
MdcAlignAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute()
StatusCode initialize()
StatusCode finalize()