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 
98 #ifdef DEBUG_FILTER
99  KVClassMonitor* memory_check;
100 #endif
103 #ifdef WITH_GEMINI
109 #endif
110 
117 
119  std::unique_ptr<KVFilterEventReconstructor> fEventReconstructor;
120 
121  void RandomRotation(KVEvent* to_rotate, const TString& frame_name = "") const;
122 public:
125  virtual ~KVEventFiltering();
126  void Copy(TObject&) const override;
127 
128  Bool_t Analysis() override;
129  void EndAnalysis() override;
130  void EndRun() override;
131  void InitAnalysis() override;
132  void InitRun() override;
134 
135  ClassDefOverride(KVEventFiltering, 1) //Filter simulated events with multidetector response
136 };
137 
138 #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:52
Simulate detection of events in a detector array.
Filter simulated events with multidetector response.
void InitRun() override
TString fNewFrame
allow the definition of a specific frame
std::unique_ptr< KVFilterEventReconstructor > fEventReconstructor
KVSimEvent fGemEvent
event after decay with Gemini
void EndRun() override
void OpenOutputFile(KVDBSystem *, Int_t)
Bool_t fTransformKinematics
=kTRUE if simulation not in lab frame
void RandomRotation(KVEvent *to_rotate, const TString &frame_name="") const
Bool_t fGemini
true if Gemini++ decay should be performed before detection [default: no]
void EndAnalysis() override
TString fIdCalMode
original exp setup hasIDandCalib to be reset in case of modifications
KVReconstructedEvent * fReconEvent
KVEventFiltering()
Default constructor.
Bool_t fGemAddRotEner
true if rotational energy has to be added to excitation energy [default: no]
Int_t fGemDecayPerEvent
number of Gemini++ decays to be performed for each event [default:1]
void Copy(TObject &) const override
void InitAnalysis() override
KVDetectionSimulator fDetSimulator
Bool_t Analysis() override
virtual ~KVEventFiltering()
Destructor.
Long64_t fEVN
event number counter
Bool_t fRotate
true if random phi rotation should be applied [default: yes]
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