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  KVDataPatchList(const Char_t* name, const Char_t* title = "");
32  virtual ~KVDataPatchList();
33 
34  void InitializePatchList(TString dataset, TString datatype, Int_t runnumber,
35  TString dataseries, Int_t datareleasenumber, const TList* streamerinfolist);
37 
38  void Print(Option_t* /*option*/ = "") const;
40  {
41  return (fEventPatches || fParticlePatches);
42  }
43 
44  ClassDef(KVDataPatchList, 1) //List of corrections to be applied to reconstructed calibrated data
45 };
46 
47 #endif
int Int_t
bool Bool_t
char Char_t
const char Option_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition: KVBase.h:142
List of corrections to be applied to reconstructed calibrated data.
Bool_t fEventPatches
=kTRUE if there are event-level patches
virtual ~KVDataPatchList()
Destructor.
Bool_t HasActivePatches() const
void Print(Option_t *="") const
Print list of currently active patches.
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.
KVUniqueNameList fActiveParticlePatches
list of currently active particle-level patches
KVUniqueNameList fActiveEventPatches
list of currently active event-level patches
KVDataPatchList()
Default constructor.
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.