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