PandaRoot
PndBSPidCalorimeterInfo.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PIDBSPIDCALORIMETERINFO_HH
14 #define PIDBSPIDCALORIMETERINFO_HH
15 
16 #include <map>
17 #include <memory>
18 
19 #include "FairPropagator.h"
20 #include "FairRootManager.h"
21 #include "FairRuntimeDb.h"
22 
23 #include "PndPidCalorimeterInfo.h"
24 #include "PndPidDetectorInfo.h"
25 #include "PndPropagator.h"
26 #include "PndTCAConstContainer.h"
27 #include "PndTrack.h"
29 
30 #include "BSEmcRecoHit.h"
31 
41  private:
43  void FillCorrelationMap();
44 
45 
46  public:
49 
53  void Reset();
54 
58  void ResetEmcQ();
59 
65  virtual Int_t SetDetectorHits(FairRootManager *manager);
66 
74  Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params);
75 
81  virtual void SetupDebug(Bool_t debug_mode);
82 
86  void PrintInfo();
87 
93  void GetNeutralInfo(Int_t nbr_tracks, TClonesArray *neutralArray);
94 
102  virtual Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand);
103 
109  Bool_t SetParContainers(FairRuntimeDb * /*db*/) { return kTRUE; };
110 
117  Bool_t PreprocessTracks(const Int_t trackid, PndTrack *track);
118 
120 };
121 
122 #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:64
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.