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 {
20  void FillPatchList();
21  void init();
22 
23 protected:
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:139
List of corrections to be applied to reconstructed calibrated data.
Bool_t fEventPatches
=kTRUE if there are event-level patches
Bool_t HasActivePatches() const
Bool_t fParticlePatches
=kTRUE if there are particle-level patches
static KVUniqueNameList * fPatchList
list of all defined patches
void InitializePatchList(TString dataset, TString datatype, Int_t runnumber, TString dataseries, Int_t datareleasenumber, const TList *streamerinfolist)
Fill lists of active patches for given data.
void FillPatchList()
Fill static list of patches from KVDataPatch plugin list.
void Print(Option_t *="") const override
Print list of currently active patches.
KVUniqueNameList fActiveParticlePatches
list of currently active particle-level patches
KVUniqueNameList fActiveEventPatches
list of currently active event-level 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.