KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVEventReconstructor.h
Go to the documentation of this file.
1 #ifndef __KVEVENTRECONSTRUCTOR_H
2 #define __KVEVENTRECONSTRUCTOR_H
3 
4 #include <vector>
5 #include "KVBase.h"
6 #include "KVDetectorEvent.h"
7 #include "KVMultiDetArray.h"
8 #include "KVReconstructedEvent.h"
9 
32 class KVEventReconstructor : public KVBase {
33 
34 private:
39  std::vector<int> fHitGroups;
40  KVDetectorEvent detev;
41 
42 protected:
44  {
45  return fArray;
46  }
47 
48 public:
50  virtual ~KVEventReconstructor() {}
51 
52  void Copy(TObject& obj) const;
53 
54  void ReconstructEvent(const TSeqCollection* = nullptr);
56 
58  {
59  return fEvent;
60  }
62  {
64  return &fEvent;
65  }
66 
67  ClassDef(KVEventReconstructor, 0) //Base class for handling event reconstruction
68 };
69 
70 #endif
int Int_t
bool Bool_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition: KVBase.h:141
Base class for event reconstruction from array data.
KVDetectorEvent detev
list of hit groups in event
KVEventReconstructor(KVMultiDetArray *, KVReconstructedEvent *, Bool_t=kFALSE)
KVMultiDetArray * GetArray()
KVReconstructedEvent * fEvent
The reconstructed event.
TObjArray fGroupReconstructor
array of group reconstructors
KVMultiDetArray * fArray
Array for which events are to be reconstructed.
void Copy(TObject &obj) const
Int_t fNGrpRecon
number of group reconstructors for current event
KVReconstructedEvent * GetEvent()
void ReconstructEvent(const TSeqCollection *=nullptr)
std::vector< int > fHitGroups
group indices in current event
Base class for describing the geometry of a detector array.
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.