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 "PndPidCalorimeterInfo.h"
12 #include "PndPidDetectorInfo.h"
13 #include "PndPropagator.h"
14 #include "PndTCAConstContainer.h"
15 #include "PndTrack.h"
17 
18 #include "BSEmcRecoHit.h"
19 
29  private:
31  void FillCorrelationMap();
32 
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 
105  Bool_t PreprocessTracks(const Int_t trackid, PndTrack *track);
106 
108 };
109 
110 #endif /* PIDBSPIDCALORIMETERINFO_HH */
Class for accessing PID detector information of calorimeter system (EMC, FSC) using refactored EMC co...
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.
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.
Bool_t SetParContainers(FairRuntimeDb *)
Set parameter containers.
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.
Input and Output Container implementation of PndConstContainerI using an underlying TClonesArray...
Bool_t PreprocessTracks(const Int_t trackid, PndTrack *track)
Preprocess current track object.