PandaRoot
PndPidDrcInfo.h
Go to the documentation of this file.
1 #ifndef PID_DRC_INFO_H
2 #define PID_DRC_INFO_H
3 
4 #include "TClonesArray.h"
5 
6 #include "FairRootManager.h"
7 #include "FairPropagator.h"
8 #include "PndPropagator.h"
9 #include "FairGeane.h"
10 
11 #include "PndTrack.h"
12 #include "PndPidCandidate.h"
13 #include "PndPidDetectorInfo.h"
14 
23  public:
24  PndPidDrcInfo();
25  ~PndPidDrcInfo();
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 *fDrcHit = nullptr;
61  TClonesArray *fDrcPoint = nullptr;
62 
64 };
65 
66 #endif // PID_DRC_INFO_H
Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add DRC information to PidCandidate.
PndPidDrcInfo()
Default constructor.
Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
~PndPidDrcInfo()
Default destructor.
void ActivateDebugNtuple(Bool_t debug_mode)
Set debug mode of detector.
TClonesArray * fDrcHit
Drc hit TCA.
Definition: PndPidDrcInfo.h:60
TClonesArray * fDrcPoint
Drc point TCA.
Definition: PndPidDrcInfo.h:61
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup DRC info.
Base class for accessing PID detector information.
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:52
ClassDef(PndPidDrcInfo, 1)
Class for accessing PID detector information of DRC.
Definition: PndPidDrcInfo.h:22