KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVReconNucTrajectory.h
Go to the documentation of this file.
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 
30 
32 #ifdef WITH_CPP11
33  std::unordered_map<std::string, KVDetector*> fDetLabels;
34 #else
35  std::map<std::string, KVDetector*> fDetLabels;
36 #endif
37 
38 public:
40  {
42  }
45  virtual ~KVReconNucTrajectory() {}
47 
48  void Copy(TObject& obj) const;
49 
51  {
54  }
55  void ls(Option_t* = "") const;
56  KVDetector* GetDetector(const TString& label) const;
57 
58  ClassDef(KVReconNucTrajectory, 1) //Reconstructed trajectory of nucleus detected by array
59 };
60 
61 #endif
int Int_t
const Bool_t kFALSE
const char Option_t
#define ClassDef(name, id)
Base class for detector geometry description, interface to energy-loss calculations.
Definition: KVDetector.h:121
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