KaliVeda
Toolkit for HIC analysis
KVDummyGV.h
1 #ifndef __KVDUMMYGV_H
2 #define __KVDUMMYGV_H
3 
4 #include "KVVarGlob.h"
5 
23 class KVDummyGV : public KVVarGlob {
24  virtual Double_t getvalue_int(Int_t) const
25  {
26  return 0;
27  };
28 
29 public:
31  {
33  }
34  KVDummyGV(const Char_t* nom) : KVVarGlob(nom)
35  {
37  }
38 
41  {
42  return kFALSE;
43  }
44 
45  void Init() {}
46  void Reset() {}
47  void Calculate() {}
48 
49  ClassDef(KVDummyGV, 1) //Dummy global variable for event selection
50 };
51 
52 #endif
int Int_t
bool Bool_t
char Char_t
constexpr Bool_t kFALSE
double Double_t
#define ClassDef(name, id)
Dummy global variable for event selection.
Definition: KVDummyGV.h:23
virtual Double_t getvalue_int(Int_t) const
Definition: KVDummyGV.h:24
void Init()
Definition: KVDummyGV.h:45
Bool_t IsGlobalVariable() const
Definition: KVDummyGV.h:40
KVDummyGV()
Definition: KVDummyGV.h:30
void Calculate()
Definition: KVDummyGV.h:47
void Reset()
Definition: KVDummyGV.h:46
KVDummyGV(const Char_t *nom)
Definition: KVDummyGV.h:34
Base class for all global variable implementations.
Definition: KVVarGlob.h:233
void SetMaxNumBranches(Int_t n)
Definition: KVVarGlob.h:683