PandaRoot
PndPidFtsInfo.h
Go to the documentation of this file.
1 #ifndef PID_FTS_INFO_H
2 #define PID_FTS_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 #include "FairRuntimeDb.h"
11 
12 #include "PndTrack.h"
13 #include "PndPidCandidate.h"
14 #include "PndGeoFtsPar.h"
16 
25  public:
26  PndPidFtsInfo();
27  ~PndPidFtsInfo();
28 
29  void SetGeoPar(FairRuntimeDb *db) { fFtsParameters = (PndGeoFtsPar *)db->getContainer("PndGeoFtsPar"); };
30 
31  Bool_t SetParContainers(FairRuntimeDb *db)
32  {
33  SetGeoPar(db);
34  return kTRUE;
35  };
36 
42  Int_t SetDetectorHits(FairRootManager *manager);
43 
51  Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params);
52 
60  Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand);
61 
62  protected:
63  TClonesArray *fFtsHit = nullptr;
65 
67 };
68 
69 #endif // PID_FTS_INFO_H
Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
PndPidFtsInfo()
Default constructor.
~PndPidFtsInfo()
Default destructor.
void SetGeoPar(FairRuntimeDb *db)
Definition: PndPidFtsInfo.h:29
ClassDef(PndPidFtsInfo, 1)
Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add FTS information to PidCandidate.
Base class for accessing PID detector information of tracking system (MVD, STT, GEM, FTS).
TClonesArray * fFtsHit
Fts hit TCA.
Definition: PndPidFtsInfo.h:63
Class for accessing PID detector information of FTS.
Definition: PndPidFtsInfo.h:24
Bool_t SetParContainers(FairRuntimeDb *db)
Definition: PndPidFtsInfo.h:31
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:52
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup FTS info.
PndGeoFtsPar * fFtsParameters
Fts geometry parameters.
Definition: PndPidFtsInfo.h:64