KaliVeda
Toolkit for HIC analysis
KVRTGIDManager.h
1 
4 #ifndef __KVRTGIDMANAGER_H
5 #define __KVRTGIDMANAGER_H
6 
7 #include "KVTGIDManager.h"
8 
38 class KVRTGIDManager : public KVTGIDManager {
39 protected:
40 
42 
43  virtual void SetTGID(KVTGID*);
44 
45 public:
47  virtual ~KVRTGIDManager();
48 
49  void AddTGID(KVTGID*) override;
50  KVTGID* GetTGID(const Char_t* idt_name, const Char_t* id_type,
51  const Char_t* grid_type) override;
52 
53  void RemoveAllTGID() override;
54  void RemoveTGID(const Char_t* name) override;
55 
57 
58  static void AddTGIDToGlobalList(KVTGID*);
59  static void BuildGridForAllTGID(const Char_t* idtype = "", Double_t xmin = 0., Double_t xmax = 4096., Int_t ID_min = 0, Int_t ID_max = 0, Int_t npoints = 50, Bool_t logscale = kTRUE);
60  static void Clear();
61  static void DeleteTGID(const Char_t* name);
63  {
64  return fIDGlobalList;
65  };
66  static Bool_t GetTGIDfromIDGridManager(TList* tgid_list);
67  static Bool_t ReadAsciiFile(const Char_t* filename);
68  static void SetIDFuncInTelescopes(UInt_t run);
70  static Int_t WriteAsciiFile(const Char_t* filename, const TCollection* selection = 0, Bool_t update = kTRUE);
72 
73  ClassDefOverride(KVRTGIDManager, 1) //Run-dependant KVTGIDManager
74 };
75 
76 #endif
int Int_t
unsigned int UInt_t
bool Bool_t
char Char_t
double Double_t
#define ClassDefOverride(name, id)
Extended TList class which owns its objects by default.
Definition: KVList.h:28
Run-dependant KVTGIDManager.
static void BuildGridForAllTGID(const Char_t *idtype="", Double_t xmin=0., Double_t xmax=4096., Int_t ID_min=0, Int_t ID_max=0, Int_t npoints=50, Bool_t logscale=kTRUE)
static void SetIDFuncInTelescopes(UInt_t run)
KVTGID * GetTGID(const Char_t *idt_name, const Char_t *id_type, const Char_t *grid_type) override
virtual ~KVRTGIDManager()
static KVList * GetGlobalListOfIDFunctions()
static Int_t WriteAsciiFile(const Char_t *filename, const TCollection *selection=0, Bool_t update=kTRUE)
static Int_t UpdateListFromIDGridManager()
static TCollection * GetIDTelescopesForTGID(KVTGID *)
void RemoveAllTGID() override
Remove all identification objects of the local list.
static Bool_t ReadAsciiFile(const Char_t *filename)
virtual void SetTGID(KVTGID *)
Add an identification object to the local list (fIDList).
void RemoveTGID(const Char_t *name) override
Remove the identification object with name from the local list.
void AddTGID(KVTGID *) override
static void Clear()
static Bool_t GetTGIDfromIDGridManager(TList *tgid_list)
static void DeleteTGID(const Char_t *name)
static KVList * fIDGlobalList
Global list of TGID of all the KVRTGIDManager.
static void AddTGIDToGlobalList(KVTGID *)
----— static methods -----------------------—//
Handles a set of Tassan-Got functional-based identifications (KVTGID objects) for use by a KVIDTelesc...
Definition: KVTGIDManager.h:41
Abstract base class for particle identfication using functionals developed by L. Tassan-Got (IPN Orsa...
Definition: KVTGID.h:44