BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
MrpcRec.h
Go to the documentation of this file.
1//
2// Package: MrpcRec
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"
13#include "MrpcRec/MrpcTrack.h"
14#include "MrpcRec/MrpcCount.h"
15#include <string>
16
17class MrpcRec:public Algorithm {
18 public:
19 MrpcRec(const std::string& name, ISvcLocator* pSvcLocator);
20 StatusCode initialize();
21 StatusCode beginRun();
22 StatusCode execute();
23 StatusCode finalize();
24
25 void clearTofTrackVec( std::vector<MrpcTrack*>*& tofTrackVec );
26
27 private:
28
29// switchs
30 std::string m_acceleratorStatus; // swich controls Colliding data or Cosmic Ray
31 bool m_magneticField; // switch controls With or Without magneticfield
32 bool m_forCalibration; // switch cnotrols for calibration or not
33 std::string m_data; // jpsi, psip or psipp
34 std::string m_calibData; // bhabha or dimu
35 // bool m_calibDataBarrel; // barrel or endcap
36 bool m_firstIteration; // switch controls which t0 would be used
37 bool m_checkTrigger; // switch controls fill trigger information
38 bool m_saveRootFile; // switch controls ntuple
39 bool m_printOutInfo; // switch controls print out information
40 bool m_checkDigi; // switch controls check digi
41 bool m_checkDigiRaw;
42 bool m_checkDigiExt;
43 bool m_checkMcTruth; // switch controls check MC Truth information
44 int m_neighborhood; //Which neighborhood set should be used?
45
46
47 MrpcCheckDigi* m_checkdigi_tuple;
48 NTuple::Tuple* m_tuple_digi;
49 NTuple::Tuple* m_tuple_raw;
50 NTuple::Tuple* m_tuple_barrel;
51 NTuple::Tuple* m_tuple_endcap;
52 NTuple::Tuple* m_tuple_ext;
53 NTuple::Tuple* m_tuple_tof;
54 NTuple::Tuple* m_tuple_tdiff;
55 NTuple::Tuple* m_tuple_bb;
56
57 MrpcCheckData* m_checkdata_tuple;
58 NTuple::Tuple* m_tuple_trk;
59 NTuple::Tuple* m_tuple_cbtrk;
60 NTuple::Tuple* m_tuple_cetrk;
61
62 MrpcCount* m_printOut;
63
64};
65#endif
StatusCode beginRun()
Definition: MrpcRec.cxx:173
StatusCode execute()
Definition: MrpcRec.cxx:181
StatusCode initialize()
Definition: MrpcRec.cxx:71
StatusCode finalize()
Definition: MrpcRec.cxx:565
void clearTofTrackVec(std::vector< MrpcTrack * > *&tofTrackVec)
Definition: MrpcRec.cxx:581