KaliVeda
Toolkit for HIC analysis
KVRawDataPatchList.h
1 #ifndef KVRAWDATAPATCHLIST_H
2 #define KVRAWDATAPATCHLIST_H
3 
4 #include "KVBase.h"
5 #include "KVUniqueNameList.h"
6 #include "KVMultiDetArray.h"
7 #include "run_index.h"
8 
16 class KVRawDataPatchList : public KVBase {
18  void FillPatchList();
19  void init();
20 
21 protected:
23 
24 public:
26  {
28  init();
29  }
30  KVRawDataPatchList(const Char_t* name, const Char_t* title = "")
31  : KVBase(name, title)
32  {
34  init();
35  }
36  void InitializePatchList(TString dataset, const run_index_t& runnumber);
38 
39  void Print(Option_t* /*option*/ = "") const;
41  {
42  return !fActivePatches.IsEmpty();
43  }
44 
46 };
47 
48 #endif // KVRAWDATAPATCHLIST_H
bool Bool_t
char Char_t
const char Option_t
#define ClassDef(name, id)
char name[80]
Base class for KaliVeda framework.
Definition: KVBase.h:139
Base class for describing the geometry of a detector array.
List of corrections to be applied to raw data.
Bool_t HasActivePatches() const
static KVUniqueNameList * fPatchList
list of all defined patches
void FillPatchList()
Fill static list of patches from KVRawDataPatch plugin list.
void Print(Option_t *="") const
Print list of currently active patches.
KVRawDataPatchList(const Char_t *name, const Char_t *title="")
KVUniqueNameList fActivePatches
list of currently active patches
void InitializePatchList(TString dataset, const run_index_t &runnumber)
Fill lists of active patches for given data.
Bool_t SkipEvent(KVMultiDetArray *)
Optimised list in which named objects can only be placed once.
virtual Bool_t IsEmpty() const
Specifies a runfile according to run number and file index ,.
Definition: run_index.h:33