KaliVeda
Toolkit for HIC analysis
KVEventFiltering.h
1 
4 #ifndef __KVEventFiltering_H
5 #define __KVEventFiltering_H
6 
7 #include "KVEventSelector.h"
8 #include "KVClassMonitor.h"
9 #include "KVReconstructedEvent.h"
10 #include <KVSimEvent.h>
11 #ifdef WITH_GEMINI
12 #include "KVGemini.h"
13 #endif
14 #include "KVDetectionSimulator.h"
15 #include "KVFilterEventReconstructor.h"
17 
18 class KVDBSystem;
19 
107 #ifdef DEBUG_FILTER
108  KVClassMonitor* memory_check;
109 #endif
110  Long64_t fEVN;
111  Bool_t fRotate;
112 #ifdef WITH_GEMINI
113  Bool_t fGemini;
114  Bool_t fGemAddRotEner;
115  Int_t fGemDecayPerEvent;
116  KVSimEvent fGemEvent;
117  KVGemini GEM;
118 #endif
119 
120  TString fIdCalMode;
121  KVReconstructedEvent* fReconEvent;
122  TVector3 fCMVelocity;
123  TVector3 fProjVelocity;
124  Bool_t fTransformKinematics;
125  TString fNewFrame;
126 
127  KVDetectionSimulator fDetSimulator;
128  std::unique_ptr<KVFilterEventReconstructor> fEventReconstructor;
129 
130  void RandomRotation(KVEvent* to_rotate, const TString& frame_name = "") const;
131 public:
134  virtual ~KVEventFiltering();
135  void Copy(TObject&) const override;
136 
137  Bool_t Analysis() override;
138  void EndAnalysis() override;
139  void EndRun() override;
140  void InitAnalysis() override;
141  void InitRun() override;
143 
144  ClassDefOverride(KVEventFiltering, 1) //Filter simulated events with multidetector response
145 };
146 
147 #endif
int Int_t
bool Bool_t
#define ClassDefOverride(name, id)
Simple tool to track which classes instance count increases over time.
Database class used to store information on different colliding systems studied during an experiment....
Definition: KVDBSystem.h:51
Simulate detection of events in a detector array.
Filter simulated events with multidetector response.
void InitRun() override
void EndRun() override
void OpenOutputFile(KVDBSystem *, Int_t)
void EndAnalysis() override
KVEventFiltering()
Default constructor.
void Copy(TObject &) const override
void InitAnalysis() override
Bool_t Analysis() override
virtual ~KVEventFiltering()
Destructor.
General purpose analysis base class for TTree containing KVEvent objects.
Abstract base class container for multi-particle events.
Definition: KVEvent.h:67
Interface to GEMINI++.
Definition: KVGemini.h:37
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.
Container class for simulated nuclei, KVSimNucleus.
Definition: KVSimEvent.h:22
long long Long64_t