PandaRoot
PndPidSttInfo.h
Go to the documentation of this file.
1 #ifndef PID_STT_INFO_H
2 #define PID_STT_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 "PndGeoSttPar.h"
16 
25  public:
26  PndPidSttInfo();
27  ~PndPidSttInfo();
28 
29  void SetGeoPar(FairRuntimeDb *db) { fSttParameters = (PndGeoSttPar *)db->getContainer("PndGeoSttPar"); };
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 *fSttHit = nullptr;
65 
67 };
68 
69 #endif // PID_STT_INFO_H
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup STT info.
PndPidSttInfo()
Default constructor.
ClassDef(PndPidSttInfo, 1)
Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add STT information to PidCandidate.
Class for accessing PID detector information of STT.
Definition: PndPidSttInfo.h:24
~PndPidSttInfo()
Default destructor.
Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
Base class for accessing PID detector information of tracking system (MVD, STT, GEM, FTS).
TClonesArray * fSttHit
Stt hit TCA.
Definition: PndPidSttInfo.h:63
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:52
Bool_t SetParContainers(FairRuntimeDb *db)
Definition: PndPidSttInfo.h:31
void SetGeoPar(FairRuntimeDb *db)
Definition: PndPidSttInfo.h:29
PndGeoSttPar * fSttParameters
Stt geometry parameters.
Definition: PndPidSttInfo.h:64