PandaRoot
PndBSPidCalorimeterInfo.h
Go to the documentation of this file.
1 #ifndef PIDBSPIDCALORIMETERINFO_HH
2 #define PIDBSPIDCALORIMETERINFO_HH
3 
4 #include <map>
5 #include <memory>
6 
7 #include "FairPropagator.h"
8 #include "FairRootManager.h"
9 #include "FairRuntimeDb.h"
10 
11 #include "PndInputContainer.h"
12 #include "PndPidCalorimeterInfo.h"
13 #include "PndPidDetectorInfo.h"
14 #include "PndPropagator.h"
15 #include "PndTrack.h"
16 
17 #include "BSEmcRecoHit.h"
18 
28  protected:
30 
31  std::map<Int_t, Bool_t> fClusterList{};
32  std::map<Int_t, Double_t> fClusterQ{};
33 
34  public:
37 
41  void Reset();
42 
46  void ResetEmcQ();
47 
53  virtual Int_t SetDetectorHits(FairRootManager *manager);
54 
62  Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params);
63 
69  virtual void SetupDebug(Bool_t debug_mode);
70 
74  void PrintInfo();
75 
81  void GetNeutralInfo(Int_t nbr_tracks, TClonesArray *neutralArray);
82 
90  virtual Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand);
91 
97  Bool_t SetParContainers(FairRuntimeDb * /*db*/) { return kTRUE; };
98 
100 };
101 
102 #endif /* PIDBSPIDCALORIMETERINFO_HH */
Class for accessing PID detector information of calorimeter system (EMC, FSC) using refactored EMC co...
"Smart" container that figures out for you what underlying container needs to be fetched from FairRoo...
virtual void SetupDebug(Bool_t debug_mode)
Set debug mode of detector.
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup calorimeter info.
std::map< Int_t, Double_t > fClusterQ
List of emc quality correlated to clusters.
PndBSPidCalorimeterInfo()
Default constructor.
ClassDef(PndBSPidCalorimeterInfo, 1)
Base class for accessing PID detector information of calorimeter system (EMC, FSC).
void PrintInfo()
Print number of clusters in EMC and FSC.
void ResetEmcQ()
Reset all the quality values for track correlation to -1.
PndInputContainer< BSEmcRecoHit > fRecoHits
Emc recoHit TCA.
Bool_t SetParContainers(FairRuntimeDb *)
Set parameter containers.
std::map< Int_t, Bool_t > fClusterList
List of clusters for track correlation.
void GetNeutralInfo(Int_t nbr_tracks, TClonesArray *neutralArray)
Include calorimeter information in neutral PndPidCandidate.
virtual Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
void Reset()
Default destructor.
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:52
virtual Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add EMC information to PidCandidate.