KaliVeda
Toolkit for HIC analysis
KVFilterEventReconstructor.h
1 #ifndef __KVFILTEREVENTRECONSTRUCTOR_H
2 #define __KVFILTEREVENTRECONSTRUCTOR_H
3 
4 #include "KVEventReconstructor.h"
5 #include "KVFilterGroupReconstructor.h"
6 
27  KVEvent* fSimEvent = nullptr;
29 
30 public:
32  KVEvent* E = nullptr, const TString& det_frame = "");
33 
34  void ReconstructEvent(const TSeqCollection* = nullptr) override;
35 
37  {
43 
44  if (fSimEvent) return;
45 
46  fSimEvent = E;
49  while ((gr = (KVFilterGroupReconstructor*)it())) gr->SetSimEvent(E);
50  }
51  void SetDetectionFrame(const TString& det_frame)
52  {
56 
57  fDetectionFrame = det_frame;
58  }
59  void SetDataQualityAudit(const KVDataQualityAudit* DQA);
60 
61  ClassDefOverride(KVFilterEventReconstructor, 1) //Reconstruct events after filtering a simulation
62 };
63 
64 #endif
#define ClassDefOverride(name, id)
Audit of experimental data identification and calibrations.
Base class for event reconstruction from array data.
TObjArray * GetReconstructors()
Abstract base class container for multi-particle events.
Definition: KVEvent.h:67
Reconstruct events after filtering a simulation.
void SetDataQualityAudit(const KVDataQualityAudit *DQA)
void ReconstructEvent(const TSeqCollection *=nullptr) override
KVFilterEventReconstructor(KVMultiDetArray *arg1, KVReconstructedEvent *arg2, KVEvent *E=nullptr, const TString &det_frame="")
the frame used in the call to KVDetectionSimulator::DetectEvent()
void SetDetectionFrame(const TString &det_frame)
TString fDetectionFrame
the simulated event used as input to the filter
Reconstruct particles in group of detectors after filtering simulated events.
Base class for describing the geometry of a detector array.
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.
TGraphErrors * gr
constexpr Double_t E()