KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVSimDirAnalyser.h
1
3
4#ifndef __KVSIMDIRANALYSER_H
5#define __KVSIMDIRANALYSER_H
6
7#include "KVDataAnalyser.h"
8#include "TChain.h"
9
10#include <KVSimDir.h>
11
20
26
30
31private:
34
35protected:
36 void BuildChain();
38 {
40 }
42
43public:
52
53 void SetFileList(TList* l) override
54 {
57 }
58 void SetAuxFileList(TList* l) override
59 {
61 }
63 {
64 return fListOfSimFiles;
65 }
67 {
69 }
70
71 void SubmitTask() override;
73
74 void WriteBatchEnvFile(const TString&, Bool_t sav = kTRUE) override;
75 Bool_t ReadBatchEnvFile(const TString&) override;
76
77 static void Make(const Char_t* kvsname = "MySimulatedAnalysis");
78
80 {
82 }
84 {
86 }
87 TString ExpandAutoBatchName(const Char_t* format) const override;
89 {
91 }
93 {
95 }
96 TTree* GetAnalysedTree() const override
97 {
98 return fAnalysisChain;
99 }
100
101 ClassDefOverride(KVSimDirAnalyser, 1) //Analysis of trees containing simulated events
102};
103
104#endif
int Int_t
#define SafeDelete(p)
#define f(i)
bool Bool_t
char Char_t
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Manager class which sets up and runs data analysis tasks.
Class piloting analyses of simulated data.
void SetDataSetForFilter(const TString &f)
void SetAuxFileList(TList *l) override
void SetFileList(TList *l) override
TList * GetFileList() const
Int_t GetNumberOfFilesToAnalyse() const override
Bool_t fCopyFilesToWorkDir
if true, files to be analysed are copied to working directory first
TList * fListOfAuxFiles
[optional] list of original simulated data to be used during filtered data analysis
TString ExpandAutoBatchName(const Char_t *format) const override
Replace any special symbols in auto-format jobname with current values.
Bool_t NeedToChooseWhatToAnalyse() const override
KVSimDir * fSimDir
used for batch analysis
Bool_t IsCopyFilesToWorkDir() const
TList * fListOfSimFiles
list of files/trees to analyse
TChain * fAnalysisChain
TChain for analysis.
TTree * GetAnalysedTree() const override
Bool_t ReadBatchEnvFile(const TString &) override
KVString GetRootDirectoryOfDataToAnalyse() const override
Returns path to data to be analysed.
void SetCopyFilesToWorkDir(Bool_t on=kTRUE)
void SetSystemForFilter(const TString &f)
TString fFilterDataSet
name of dataset to be used for filtering the simulation
TString fFilterSystem
name of system to be used for filtering the simulation
KVSimDirAnalyser()
Default constructor.
TString fModel
name of model used for simulation
void SubmitTask() override
Set up and run the analysis.
static void Make(const Char_t *kvsname="MySimulatedAnalysis")
Generate a new simulated analysis selector class.
void WriteBatchEnvFile(const TString &, Bool_t sav=kTRUE) override
Handle directory containing simulated and/or filtered simulated data ,.
Definition KVSimDir.h:44
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition KVString.h:73
virtual Int_t GetEntries() const
TLine l