KaliVeda  1.13/01
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 
34 
36 #ifdef WITH_CPP11
37  std::unordered_map<std::string, KVDetector*> fDetLabels;
38 #else
39  std::map<std::string, KVDetector*> fDetLabels;
40 #endif
41 
42 public:
44  {
46  }
49  virtual ~KVReconNucTrajectory() {}
51 
52  void Copy(TObject& obj) const;
53 
55  {
58  }
59  void ls(Option_t* = "") const;
60  KVDetector* GetDetector(const TString& label) const;
61 
62  ClassDef(KVReconNucTrajectory, 1) //Reconstructed trajectory of nucleus detected by array
63 };
64 
65 #endif
int Int_t
const Bool_t kFALSE
const char Option_t
#define ClassDef(name, id)
Base class for detector geometry description.
Definition: KVDetector.h:159
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