KaliVeda
Toolkit for HIC analysis
KVReconNucTrajectory.h
1 #ifndef __KVRECONNUCTRAJECTORY_H
2 #define __KVRECONNUCTRAJECTORY_H
3 
4 #include "KVGeoDNTrajectory.h"
5 #ifdef WITH_CPP11
6 #include <unordered_map>
7 #else
8 #include <map>
9 #endif
10 
11 class KVIDTelescope;
12 
37 
39 #ifdef WITH_CPP11
40  std::unordered_map<std::string, KVDetector*> fDetLabels;
41 #else
42  std::map<std::string, KVDetector*> fDetLabels;
43 #endif
44 
45 public:
47  {
49  }
52  virtual ~KVReconNucTrajectory() {}
54 
55  void Copy(TObject& obj) const override;
56 
58  {
61  }
62  void ls(Option_t* = "") const override;
63  KVDetector* GetDetector(const TString& label) const;
64 
65  KVIDTelescope* GetIDTelescope(const TString&) const;
66 
67  ClassDefOverride(KVReconNucTrajectory, 1) //Reconstructed trajectory of nucleus detected by array
68 };
69 
70 #endif
int Int_t
constexpr Bool_t kFALSE
const char Option_t
#define ClassDefOverride(name, id)
Base class for detector geometry description, interface to energy-loss calculations.
Definition: KVDetector.h:160
Path taken by particles through multidetector geometry.
Bool_t fAddToNodes
if kTRUE, add trajectory to node's list
Information on relative positions of detectors & particle trajectories.
Base class for all detectors or associations of detectors in array which can identify charged particl...
Definition: KVIDTelescope.h:85
Path through detector array used to reconstruct detected particle.
KVReconNucTrajectory & operator=(const KVReconNucTrajectory &)
Int_t GetNumberOfIndependentIdentifications() const
void ls(Option_t *="") const override
KVIDTelescope * GetIDTelescope(const TString &) const
void Copy(TObject &obj) const override
KVDetector * GetDetector(const TString &label) const
Int_t fIndependentIdentifications
number of independent ID telescopes on trajectory
std::unordered_map< std::string, KVDetector * > fDetLabels
map detector labels to detectors