PandaRoot
PndPidMvdInfo.h
Go to the documentation of this file.
1 #ifndef PID_MVD_INFO_H
2 #define PID_MVD_INFO_H
3 
4 #include <memory>
5 
6 #include "TClonesArray.h"
7 
8 #include "FairPropagator.h"
9 #include "PndPropagator.h"
10 #include "FairGeane.h"
11 #include "FairRootManager.h"
12 
13 #include "PndTrack.h"
14 #include "PndPidCandidate.h"
15 #include "PndGeoHandling.h"
17 
26  public:
27  PndPidMvdInfo();
28  ~PndPidMvdInfo();
29 
30  void SetFast(Bool_t fast_mode) { fFast = fast_mode; };
31  void Reset();
32 
38  virtual Int_t SetDetectorHits(FairRootManager *manager);
39 
47  Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params);
48 
56  virtual Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand);
57 
58  protected:
59  TClonesArray *fMvdHitsStrip = nullptr;
60  TClonesArray *fMvdHitsPixel = nullptr;
61  std::unique_ptr<PndGeoHandling> fGeoH{nullptr};
62 
63  Double_t fMvdELoss = 0;
64  Double_t fMvdPath = 0;
65  Int_t fMvdHitCount = 0;
66 
67  Bool_t fFast;
68 
70 };
71 
72 #endif // PID_MVD_INFO_H
Int_t fMvdHitCount
Number of mvd hits.
Definition: PndPidMvdInfo.h:65
std::unique_ptr< PndGeoHandling > fGeoH
Handler for MVD geometry.
Definition: PndPidMvdInfo.h:61
PndPidMvdInfo()
Default constructor.
Class for accessing PID detector information of MVD.
Definition: PndPidMvdInfo.h:25
TClonesArray * fMvdHitsStrip
Mvd strip detector hits TCA.
Definition: PndPidMvdInfo.h:59
Double_t fMvdELoss
Energy Loss in MVD.
Definition: PndPidMvdInfo.h:63
void SetFast(Bool_t fast_mode)
Definition: PndPidMvdInfo.h:30
TClonesArray * fMvdHitsPixel
Mvd pixel detector hits TCA.
Definition: PndPidMvdInfo.h:60
~PndPidMvdInfo()
default destructor.
Base class for accessing PID detector information of tracking system (MVD, STT, GEM, FTS).
ClassDef(PndPidMvdInfo, 1)
virtual Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
Bool_t fFast
if kTRUE add only number of hits in MVD.
Definition: PndPidMvdInfo.h:67
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:52
Double_t fMvdPath
MVD path crossed by the particle.
Definition: PndPidMvdInfo.h:64
virtual Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add MVD information to PidCandidate.
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup FTS info.