KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVSimDirAnalyser.h
Go to the documentation of this file.
1 
4 #ifndef __KVSIMDIRANALYSER_H
5 #define __KVSIMDIRANALYSER_H
6 
7 #include "KVDataAnalyser.h"
8 #include "TChain.h"
9 
10 #include <KVSimDir.h>
11 
19 
25 
29 
30 private:
33 
34 protected:
35  void BuildChain();
37  {
39  }
41 
42 public:
44  virtual ~KVSimDirAnalyser();
45 
46  void SetFileList(TList* l)
47  {
50  }
52  {
54  }
55  TList* GetFileList() const
56  {
57  return fListOfSimFiles;
58  }
60  {
62  }
63 
64  void SubmitTask();
66 
67  void WriteBatchEnvFile(const Char_t*, Bool_t sav = kTRUE);
69 
70  static void Make(const Char_t* kvsname = "MySimulatedAnalysis");
71 
72  void SetCopyFilesToWorkDir(Bool_t on = kTRUE)
73  {
75  }
77  {
78  return fCopyFilesToWorkDir;
79  }
80  TString ExpandAutoBatchName(const Char_t* format) const;
82  {
83  fFilterDataSet = f;
84  }
85  void SetSystemForFilter(const TString& f)
86  {
87  fFilterSystem = f;
88  }
89 
90  ClassDef(KVSimDirAnalyser, 1) //Analysis of trees containing simulated events
91 };
92 
93 #endif
int Int_t
#define f(i)
char Char_t
bool Bool_t
#define ClassDef(name, id)
Manager class which sets up and runs data analysis tasks.
Class piloting analyses of simulated data.
Bool_t ReadBatchEnvFile(const Char_t *)
void SetDataSetForFilter(const TString &f)
void SubmitTask()
Set up and run the analysis.
KVString GetRootDirectoryOfDataToAnalyse() const
Returns path to data to be analysed.
Int_t GetNumberOfFilesToAnalyse() const
TString ExpandAutoBatchName(const Char_t *format) const
Replace any special symbols in auto-format jobname with current values.
void SetAuxFileList(TList *l)
virtual Bool_t NeedToChooseWhatToAnalyse() const
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
KVSimDir * fSimDir
used for batch analysis
Bool_t IsCopyFilesToWorkDir() const
TList * fListOfSimFiles
list of files/trees to analyse
TList * GetFileList() const
TChain * fAnalysisChain
TChain for analysis.
virtual ~KVSimDirAnalyser()
Destructor.
void GetInfosForJobNameFromFiles()
void SetCopyFilesToWorkDir(Bool_t on=kTRUE)
void WriteBatchEnvFile(const Char_t *, Bool_t sav=kTRUE)
void SetSystemForFilter(const TString &f)
void SetFileList(TList *l)
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
static void Make(const Char_t *kvsname="MySimulatedAnalysis")
Generate a new simulated analysis selector class.
Handle directory containing simulated and/or filtered simulated data ,.
Definition: KVSimDir.h:43
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:72
virtual Int_t GetEntries() const
auto * l