KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVReconDataAnalyser.h
Go to the documentation of this file.
1 
4 #ifndef __KVReconDataAnalyser_H
5 #define __KVReconDataAnalyser_H
6 
7 #include "KVDataSetAnalyser.h"
8 #include "KVReconEventSelector.h"
9 #include "KVDataPatchList.h"
10 class TChain;
11 class KVDBRun;
12 
19 
20 protected:
24 
29 
31 
32 public:
33 
35  {
36  return TotalEntriesToRead;
37  }
38 
41 
43  {
44  return theChain;
45  }
47  {
48  theChain = t;
49  }
50 
51  virtual void Reset();
52 
53  virtual Bool_t CheckTaskVariables(void);
54  virtual void SubmitTask();
55  virtual void WriteBatchEnvFile(const Char_t*, Bool_t sav = kTRUE);
56 
57  void preInitAnalysis();
58  void preAnalysis();
59  void preInitRun();
60  virtual void RegisterUserClass(TObject* obj)
61  {
63  fSelector = dynamic_cast<KVReconEventSelector*>(obj);
64  }
65  void PrintTreeInfos();
66  TEnv* GetReconDataTreeInfos() const;
67 
69  {
70  return fDataVersion;
71  }
73  {
74  return fDataSeries;
75  }
77  {
78  return fDataReleaseNum;
79  }
80 #ifdef USING_ROOT6
81  virtual void SetTriggerConditionsForRun(int);
82 #endif
83 
84  ClassDef(KVReconDataAnalyser, 0) //For analysing reconstructed data
85 };
86 
87 #endif
int Int_t
char Char_t
bool Bool_t
#define ClassDef(name, id)
Description of an experimental run in database ,.
Definition: KVDBRun.h:35
List of corrections to be applied to reconstructed calibrated data.
Pilots user analysis of experimental data.
Manages user analysis of reconstructed experimental data.
KVReconEventSelector * fSelector
the data analysis class
virtual void SetTriggerConditionsForRun(int)
TEnv * GetReconDataTreeInfos() const
void PrintTreeInfos()
Print informations on currently analysed TTree.
void preAnalysis()
Set minimum (trigger) multiplicity for array.
KVString GetDataSeries() const
TTree * GetAnalysedTree() const
KVString fDataVersion
KV version used to write analysed data.
virtual void Reset()
Reset task variables.
Int_t fDataReleaseNum
KV release number used to write analysed data.
void SetAnalysedTree(TTree *t)
virtual void WriteBatchEnvFile(const Char_t *, Bool_t sav=kTRUE)
virtual ~ KVReconDataAnalyser()
Int_t GetDataReleaseNumber() const
virtual void RegisterUserClass(TObject *obj)
KVString fDataSeries
KV series used to write analysed data.
TTree * theChain
chain of TTrees to be analysed
virtual Bool_t CheckTaskVariables(void)
Checks the task variables.
KVString GetDataVersion() const
Long64_t GetTotalEntriesToRead() const
KVDataPatchList fRustines
patches to be applied to correct data before analysis
Base class for user analysis of reconstructed data.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:72
long long Long64_t