PandaRoot
PndPidTofInfo.h
Go to the documentation of this file.
1 #ifndef PID_TOF_INFO_H
2 #define PID_TOF_INFO_H
3 
4 #include "TClonesArray.h"
5 
6 #include "FairPropagator.h"
7 #include "PndPropagator.h"
8 #include "FairGeane.h"
9 #include "FairRootManager.h"
10 
11 #include "PndTrack.h"
12 #include "PndPidCandidate.h"
13 #include "PndPidDetectorInfo.h"
14 
23  public:
24  PndPidTofInfo();
25  ~PndPidTofInfo();
26 
32  void ActivateDebugNtuple(Bool_t debug_mode);
33 
39  Int_t SetDetectorHits(FairRootManager *manager);
40 
48  Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params);
49 
57  Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand);
58 
59  protected:
60  TClonesArray *fTofHit = nullptr;
61  TClonesArray *fTofPoint = nullptr;
62 
64 };
65 
66 #endif // PID_TOF_INFO_H
~PndPidTofInfo()
Default destructor.
Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add TOF information to PidCandidate.
TClonesArray * fTofHit
Tof hit TCA.
Definition: PndPidTofInfo.h:60
ClassDef(PndPidTofInfo, 1)
TClonesArray * fTofPoint
Tof point TCA.
Definition: PndPidTofInfo.h:61
Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
Class for accessing PID detector information of TOF.
Definition: PndPidTofInfo.h:22
void ActivateDebugNtuple(Bool_t debug_mode)
Set debug mode of detector.
Base class for accessing PID detector information.
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:52
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup TOF info.
PndPidTofInfo()
Default constructor.