4#include "KVSimDirFilterAnalyser.h"
5#include <KVClassFactory.h>
6#include <KVDataSetManager.h>
8#include <KVTriggerConditions.h>
9#include "KVMultiDetArray.h"
10#include "KVNucleusEvent.h"
46 if (!gDataSetManager) {
48 gDataSetManager->
Init();
96 for (
auto&
p : *
n.GetParameters()) {
100 d->SetEnergyLoss(
p.GetDouble() +
d->GetEnergyLoss());
115 KVClassFactory cf(kvsname,
"Analysis of filtered simulated events",
"",
116 kTRUE,
"ROOT6FilteredEventAnalysisTemplate");
162 Info(
"SetTriggerConditionsForRun",
163 "No definition of trigger conditions available for dataset %s",
winID h TVirtualViewer3D TVirtualGLPainter p
Class for iterating over nuclei in events accessed through base pointer/reference.
Relativistic binary kinematics calculator.
void CalculateKinematics()
static TPluginHandler * LoadPlugin(const Char_t *base, const Char_t *uri="0")
Factory class for generating skeleton files for new classes.
void GenerateCode()
Generate header and implementation file for currently-defined class.
void AddImplIncludeFile(const Char_t *filename)
KV2Body * GetKinematics()
Manage all datasets contained in a given data repository.
virtual Bool_t Init(KVDataRepository *=0)
KVDataSet * GetDataSet(Int_t) const
Return pointer to DataSet using index in list of all datasets, index>=0.
KVEvent * GetEvent() const
virtual void SetCurrentRun(KVDBRun *)
TString GetOpt(const Char_t *option) const
virtual KVDBSystem * GetSystem(const Char_t *system) const
KVDBRun * GetDBRun(Int_t number) const
KVDetector * GetDetector(const Char_t *name) const
Return detector in this structure with given name.
static KVMultiDetArray * MakeMultiDetector(const Char_t *dataset_name, Int_t run=-1, TString classname="KVMultiDetArray")
virtual void SetSimMode(Bool_t on=kTRUE)
Class piloting analyses of simulated data.
Manage user analysis of filtered simulation data.
void SetTriggerConditionsForRun(int run)
virtual ~KVSimDirFilterAnalyser()
Destructor.
static void Make(const Char_t *kvsname="MyFilteredAnalysis")
Generate a new filtered analysis selector class.
KVDBRun * fRun
currently analysed run
KVEventSelector * fAnalysisClass
user analysis class
void preInitAnalysis()
Use options passed to KVEventSelector to initialise dataset used for filter.
KVDBSystem * fSystem
currently analysed system
KV2Body * fKinematics
kinematics of reaction
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Set trigger conditions for analysis of reconstructed data.
const char * GetName() const override
virtual const char * GetName() const
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual void Info(const char *method, const char *msgfmt,...) const
Longptr_t ExecPlugin(int nargs)