KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVDataPatchList.h
Go to the documentation of this file.
1 
4 #ifndef __KVDATAPATCHLIST_H
5 #define __KVDATAPATCHLIST_H
6 
7 #include "KVBase.h"
8 #include "KVUniqueNameList.h"
9 #include <KVReconstructedEvent.h>
10 
17 class KVDataPatchList : public KVBase {
19  void FillPatchList();
20  void init();
21 
22 protected:
27 
28 public:
30  KVDataPatchList(const Char_t* name, const Char_t* title = "");
31  virtual ~KVDataPatchList();
32 
33  void InitializePatchList(TString dataset, TString datatype, Int_t runnumber,
34  TString dataseries, Int_t datareleasenumber, const TList* streamerinfolist);
36 
37  void Print(Option_t* /*option*/ = "") const;
39  {
40  return (fEventPatches || fParticlePatches);
41  }
42 
43  ClassDef(KVDataPatchList, 1) //List of corrections to be applied to reconstructed calibrated data
44 };
45 
46 #endif
int Int_t
char Char_t
bool Bool_t
const char Option_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition: KVBase.h:141
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.