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 
35 
37 #ifdef WITH_CPP11
38  std::unordered_map<std::string, KVDetector*> fDetLabels;
39 #else
40  std::map<std::string, KVDetector*> fDetLabels;
41 #endif
42 
43 public:
45  {
47  }
50  virtual ~KVReconNucTrajectory() {}
52 
53  void Copy(TObject& obj) const;
54 
56  {
59  }
60  void ls(Option_t* = "") const;
61  KVDetector* GetDetector(const TString& label) const;
62 
63  ClassDef(KVReconNucTrajectory, 1) //Reconstructed trajectory of nucleus detected by array
64 };
65 
66 #endif
int Int_t
constexpr Bool_t kFALSE
const char Option_t
#define ClassDef(name, id)
Base class for detector geometry description.
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.
Path through detector array used to reconstruct detected particle.
KVReconNucTrajectory & operator=(const KVReconNucTrajectory &)
void Copy(TObject &obj) const
void ls(Option_t *="") const
Int_t GetNumberOfIndependentIdentifications() const
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