KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVReconDataAnalyser.h
1
3
4#ifndef __KVReconDataAnalyser_H
5#define __KVReconDataAnalyser_H
6
7#include "KVDataSetAnalyser.h"
8#include "KVReconEventSelector.h"
9#include "KVDataPatchList.h"
10class TChain;
11class KVDBRun;
12
20
21protected:
25
30
32
33public:
34
36 {
37 return TotalEntriesToRead;
38 }
39
46
47 TTree* GetAnalysedTree() const override
48 {
49 return theChain;
50 }
51 void SetAnalysedTree(TTree* t) override
52 {
53 theChain = t;
54 }
55
56 void Reset() override;
57
58 Bool_t CheckTaskVariables(void) override;
59 void SubmitTask() override;
60
61 void preAnalysis() override;
62 void preInitRun() override;
63 virtual void RegisterUserClass(TObject* obj) override
64 {
66 fSelector = dynamic_cast<KVReconEventSelector*>(obj);
67 }
68 void PrintTreeInfos();
70
72 {
73 return fDataVersion;
74 }
76 {
77 return fDataSeries;
78 }
80 {
81 return fDataReleaseNum;
82 }
83 virtual void SetTriggerConditionsForRun(int) override;
84
85 ClassDefOverride(KVReconDataAnalyser, 0) //For analysing reconstructed data
86};
87
88#endif
int Int_t
#define SafeDelete(p)
bool Bool_t
#define ClassDefOverride(name, id)
Description of an experimental run in database ,,.
Definition KVDBRun.h:36
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
void preAnalysis() override
apply any required patches to data
void SetAnalysedTree(TTree *t) override
TEnv * GetReconDataTreeInfos() const
void PrintTreeInfos()
Print informations on currently analysed TTree.
KVString GetDataSeries() const
KVString fDataVersion
KV version used to write analysed data.
Int_t fDataReleaseNum
KV release number used to write analysed data.
Long64_t GetTotalEntriesToRead() const override
Bool_t CheckTaskVariables(void) override
Checks the task variables.
Int_t GetDataReleaseNumber() const
virtual void RegisterUserClass(TObject *obj) override
KVString fDataSeries
KV series used to write analysed data.
virtual void SetTriggerConditionsForRun(int) override
TTree * theChain
chain of TTrees to be analysed
TTree * GetAnalysedTree() const override
KVString GetDataVersion() const
void Reset() override
Reset task variables.
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:73
long long Long64_t