KaliVeda
Toolkit for HIC analysis
KVDataPatchList.h
1 
4 #ifndef __KVDATAPATCHLIST_H
5 #define __KVDATAPATCHLIST_H
6 
7 #include "KVBase.h"
8 #include "KVUniqueNameList.h"
9 #include <KVReconstructedEvent.h>
10 
18 class KVDataPatchList : public KVBase {
19  static KVUniqueNameList* fPatchList;
20  void FillPatchList();
21  void init();
22 
23 protected:
24  KVUniqueNameList fActiveEventPatches;
25  KVUniqueNameList fActiveParticlePatches;
26  Bool_t fEventPatches;
27  Bool_t fParticlePatches;
28 
29 public:
31  {
33  init();
34  }
35  KVDataPatchList(const Char_t* name, const Char_t* title = "") : KVBase(name, title)
36  {
38  init();
39  }
40 
41  void InitializePatchList(TString dataset, TString datatype, Int_t runnumber,
42  TString dataseries, Int_t datareleasenumber, const TList* streamerinfolist);
44 
45  void Print(Option_t* /*option*/ = "") const override;
47  {
48  return (fEventPatches || fParticlePatches);
49  }
50 
51  ClassDefOverride(KVDataPatchList, 1) //List of corrections to be applied to reconstructed calibrated data
52 };
53 
54 #endif
int Int_t
bool Bool_t
char Char_t
const char Option_t
#define ClassDefOverride(name, id)
char name[80]
Base class for KaliVeda framework.
Definition: KVBase.h:140
List of corrections to be applied to reconstructed calibrated data.
Bool_t HasActivePatches() const
void InitializePatchList(TString dataset, TString datatype, Int_t runnumber, TString dataseries, Int_t datareleasenumber, const TList *streamerinfolist)
void Print(Option_t *="") const override
Print list of currently active patches.
KVDataPatchList(const Char_t *name, const Char_t *title="")
void Apply(KVReconstructedEvent *)
Apply all currently active patches to event.
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.
Optimised list in which named objects can only be placed once.
void init()