KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVRTGIDManager.h
Go to the documentation of this file.
1 
4 #ifndef __KVRTGIDMANAGER_H
5 #define __KVRTGIDMANAGER_H
6 
7 #include "KVTGIDManager.h"
8 
37 class KVRTGIDManager : public KVTGIDManager {
38 protected:
39 
41 
42  virtual void SetTGID(KVTGID*);
43 
44 public:
46  virtual ~KVRTGIDManager();
47 
48  virtual void AddTGID(KVTGID*);
49  virtual KVTGID* GetTGID(const Char_t* idt_name, const Char_t* id_type,
50  const Char_t* grid_type);
51 
52  virtual void RemoveAllTGID();
53  virtual void RemoveTGID(const Char_t* name);
54 
56 
57  static void AddTGIDToGlobalList(KVTGID*);
58  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);
59  static void Clear();
60  static void DeleteTGID(const Char_t* name);
62  {
63  return fIDGlobalList;
64  };
65  static Bool_t GetTGIDfromIDGridManager(TList* tgid_list);
66  static Bool_t ReadAsciiFile(const Char_t* filename);
67  static void SetIDFuncInTelescopes(UInt_t run);
69  static Int_t WriteAsciiFile(const Char_t* filename, const TCollection* selection = 0, Bool_t update = kTRUE);
71 
72  ClassDef(KVRTGIDManager, 1) //Run-dependant KVTGIDManager
73 };
74 
75 #endif
int Int_t
unsigned int UInt_t
char Char_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
Extended TList class which owns its objects by default.
Definition: KVList.h:27
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)
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()
virtual KVTGID * GetTGID(const Char_t *idt_name, const Char_t *id_type, const Char_t *grid_type)
static TCollection * GetIDTelescopesForTGID(KVTGID *)
static Bool_t ReadAsciiFile(const Char_t *filename)
virtual void SetTGID(KVTGID *)
Add an identification object to the local list (fIDList).
virtual void RemoveTGID(const Char_t *name)
Remove the identification object with name from the local list.
static void Clear()
virtual void AddTGID(KVTGID *)
static Bool_t GetTGIDfromIDGridManager(TList *tgid_list)
virtual void RemoveAllTGID()
Remove all identification objects of the local 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:40
Abstract base class for particle identfication using functionals developed by L. Tassan-Got (IPN Orsa...
Definition: KVTGID.h:43