BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TofRec/TofRec/TofRec.h
Go to the documentation of this file.
1//
2// Package: TofRec
3// BESIII Tof Reconstruction Algorithm
4// Created by Sun Shengsen (EPC IHEP)
5//
6#ifndef TOF_REC_A_H
7#define TOF_REC_A_H
8
9#include "GaudiKernel/Algorithm.h"
10#include "GaudiKernel/NTuple.h"
11#include "TofRec/TofCheckDigi.h"
12#include "TofRec/TofCheckData.h"
13#include "TofRec/TofTrack.h"
14#include "TofRec/TofCount.h"
15#include <string>
16
17class TofRec:public Algorithm {
18 public:
19 TofRec(const std::string& name, ISvcLocator* pSvcLocator);
20 StatusCode initialize();
21 StatusCode beginRun();
22 StatusCode execute();
23 StatusCode finalize();
24
25 void clearTofTrackVec( std::vector<TofTrack*>*& 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
45 TofCheckDigi* m_checkdigi_tuple;
46 NTuple::Tuple* m_tuple_digi;
47 NTuple::Tuple* m_tuple_raw;
48 NTuple::Tuple* m_tuple_barrel;
49 NTuple::Tuple* m_tuple_endcap;
50 NTuple::Tuple* m_tuple_mrpc;
51 NTuple::Tuple* m_tuple_ext;
52 NTuple::Tuple* m_tuple_tof;
53 NTuple::Tuple* m_tuple_tdiff;
54 NTuple::Tuple* m_tuple_bb;
55
56 TofCheckData* m_checkdata_tuple;
57 NTuple::Tuple* m_tuple_trk;
58 NTuple::Tuple* m_tuple_cbtrk;
59 NTuple::Tuple* m_tuple_cetrk;
60 NTuple::Tuple* m_tuple_cetftrk;
61
62 TofCount* m_printOut;
63
64};
65#endif // Tof_REC_A_H
StatusCode initialize()
Definition: TofRec.cxx:70
StatusCode finalize()
Definition: TofRec.cxx:636
StatusCode execute()
Definition: TofRec.cxx:188
void clearTofTrackVec(std::vector< TofTrack * > *&tofTrackVec)
Definition: TofRec.cxx:652
StatusCode beginRun()
Definition: TofRec.cxx:180