CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
MrpcDBSRec.h
Go to the documentation of this file.
1//
2// Package: MrpcRecDBS
3// BESIII Tof Reconstruction Algorithm
4// Created by Sun Shengsen (EPC IHEP)
5//
6#ifndef MRPC_REC_A_H
7#define MRPC_REC_A_H
8
9#include "GaudiKernel/Algorithm.h"
10#include "GaudiKernel/NTuple.h"
14
17
20#include "TofRawEvent/TofDigi.h"
22
23#include "GaudiKernel/NTuple.h"
24#include "TrigEvent/TrigData.h"
25
27#include "McTruth/McEvent.h"
28#include "McTruth/TofMcHit.h"
29#include "McTruth/McParticle.h"
30
33
34#include "TFile.h"
35#include "TTree.h"
36
37
38
39#include <string>
40
41class MrpcDBSRec:public Algorithm {
42 public:
43 MrpcDBSRec(const std::string& name, ISvcLocator* pSvcLocator);
44 StatusCode initialize();
45 StatusCode beginRun();
46 StatusCode execute();
47 StatusCode finalize();
48
49 void clearTofTrackVec( std::vector<MrpcDBSTrack*>*& tofTrackVec );
50
51 private:
52
53// switchs
54 std::string m_acceleratorStatus; // swich controls Colliding data or Cosmic Ray
55 bool m_magneticField; // switch controls With or Without magneticfield
56 std::string m_data; // jpsi, psip or psipp
57
58 // bool m_calibDataBarrel; // barrel or endcap
59 bool m_firstIteration; // switch controls which t0 would be used
60 bool m_printOutInfo; // switch controls print out information
61 int m_neighborhood; //Which neighborhood set should be used?
62
63
64 MrpcDBSCount* m_printOut;
65
66 //In order to store the data into the root-files
67 int m_store_trans_time;
68 std::string FileName;
69 TFile* m_TreeFile;
70 TTree * m_tree_mrpc;
71 double m_partID;
72 double m_stripidentifier;
73 double m_time_1;
74 double m_time_2;
75 double m_trans_time;
76 double m_r_ext;
77 double m_phi_ext;
78 double m_mrpc_extrapolation_good;
79 double m_mrpc_dbs;
80 double m_mrpc_extrap;
81 double m_mrpc_aver;
82 double m_transition_time_simulation;
83
84
85
86
87};
88#endif
StatusCode initialize()
StatusCode beginRun()
StatusCode execute()
StatusCode finalize()
void clearTofTrackVec(std::vector< MrpcDBSTrack * > *&tofTrackVec)
MrpcDBSRec(const std::string &name, ISvcLocator *pSvcLocator)