KaliVeda
Toolkit for HIC analysis
KVINDRAEventSelector.h
1 
4 #ifndef __KVINDRAEVENTSELECTOR_H
5 #define __KVINDRAEVENTSELECTOR_H
6 
7 #include "KVEventSelector.h"
8 
9 #include <KVINDRADBRun.h>
10 #include <KVINDRAReconEvent.h>
11 
20 
21 protected:
23 
24 public:
25  KVINDRAEventSelector(TTree* /*arg1*/ = 0);
26  virtual ~KVINDRAEventSelector();
27 
28  void Init(TTree* tree);
29 
31  {
33  }
35  {
36  return fCurrentRun;
37  }
39  {
41  }
42  static void Make(const Char_t* kvsname = "MyOwnINDRASelector");
43 
44  ClassDef(KVINDRAEventSelector, 1) //Base class for analysis of reconstructed INDRA events
45 };
46 
47 #endif
ROOT::R::TRInterface & r
char Char_t
#define ClassDef(name, id)
Description of an experimental run in database ,,.
Definition: KVDBRun.h:36
General purpose analysis base class for TTree containing KVEvent objects.
KVEvent * GetEvent() const
Database entry for each run of an INDRA experiment.
Definition: KVINDRADBRun.h:30
Base class for analysis of reconstructed INDRA events.
KVINDRADBRun * fCurrentRun
current run
KVINDRADBRun * GetCurrentRun() const
void Init(TTree *tree)
When using PROOF, need to set tree pointer in KVDataAnalyser.
virtual ~KVINDRAEventSelector()
Destructor.
static void Make(const Char_t *kvsname="MyOwnINDRASelector")
Automatic generation of KVINDRAEventSelector-derived class for KaliVeda analysis.
void SetCurrentRun(KVDBRun *r)
KVINDRAReconEvent * GetEvent() const
Event reconstructed from energy losses in INDRA multidetector.