KaliVeda
Toolkit for HIC analysis
KVReconEventSelector.h
1 
4 #ifndef __KVRECONEVENTSELECTOR_H
5 #define __KVRECONEVENTSELECTOR_H
6 
7 #include "KVEventSelector.h"
8 #include "KVDBRun.h"
9 #include "KVReconstructedEvent.h"
10 
20 
21 public:
23  {
24  SetBranchName("ReconEvent");
25  }
26  virtual ~KVReconEventSelector() {}
27 
29  {
30  fCurrentRun = r;
31  }
33  {
34  return fCurrentRun;
35  }
36  void Init(TTree* tree);
37 
39  {
42  return GetEvent()->GetNumber();
43  }
45  {
47  }
48  static void Make(const Char_t* kvsname);
49 
50  ClassDef(KVReconEventSelector, 1) //Base analysis class for reconstructed data
51 };
52 
53 #endif
int Int_t
ROOT::R::TRInterface & r
char Char_t
#define ClassDef(name, id)
UInt_t GetNumber() const
Definition: KVBase.h:220
Description of an experimental run in database ,,.
Definition: KVDBRun.h:36
General purpose analysis base class for TTree containing KVEvent objects.
void SetBranchName(const Char_t *n)
KVEvent * GetEvent() const
Base class for user analysis of reconstructed data.
void SetCurrentRun(KVDBRun *r)
KVDBRun * fCurrentRun
current run being analysed
void Init(TTree *tree)
When using PROOF, need to set tree pointer in KVDataAnalyser.
KVReconEventSelector(TTree *arg1=0)
KVDBRun * GetCurrentRun() const
KVReconstructedEvent * GetEvent() const
static void Make(const Char_t *kvsname)
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.