CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MrpcRec/MrpcRec-00-00-06/MrpcRec/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"
11
12#include "ExtEvent/RecExtTrack.h"
13#include "RawDataProviderSvc/TofData.h"
14#include "TofRecEvent/RecTofTrack.h"
15
16#include "MrpcRec/MrpcTrack.h"
17#include "MrpcRec/MrpcCount.h"
18#include <string>
19
20#include "EventModel/EventHeader.h"
21#include "ExtEvent/RecExtTrack.h"
22#include "TofRawEvent/TofDigi.h"
23#include "RawDataProviderSvc/TofData.h"
24
25#include "GaudiKernel/NTuple.h"
26#include "TrigEvent/TrigData.h"
27
28#include "EventModel/EventModel.h"
29#include "McTruth/McEvent.h"
30#include "McTruth/TofMcHit.h"
31#include "McTruth/McParticle.h"
32
33#include "MdcRecEvent/RecMdcTrack.h"
34#include "MdcRecEvent/RecMdcKalTrack.h"
35
36#include "TFile.h"
37#include "TTree.h"
38
39
40
41
42
43class MrpcRec:public Algorithm {
44 public:
45 MrpcRec(const std::string& name, ISvcLocator* pSvcLocator);
46 StatusCode initialize();
47 StatusCode beginRun();
48 StatusCode execute();
49 StatusCode finalize();
50
51 void clearTofTrackVec( std::vector<MrpcTrack*>*& tofTrackVec );
52
53 private:
54
55// switchs
56 std::string m_acceleratorStatus; // swich controls Colliding data or Cosmic Ray
57 bool m_magneticField; // switch controls With or Without magneticfield
58 bool m_firstIteration; // switch controls which t0 would be used
59 bool m_printOutInfo; // switch controls print out information
60 int m_neighborhood; //Which neighborhood set should be used?
61
62
63
64 MrpcCount* m_printOut;
65
66};
67#endif
StatusCode beginRun()
MrpcRec(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute()
StatusCode initialize()
StatusCode finalize()
void clearTofTrackVec(std::vector< MrpcTrack * > *&tofTrackVec)