AliRoot Core  edcc906 (edcc906)
AliGRPManager.h
Go to the documentation of this file.
1 #ifndef ALIGRPMANAGER_H
2 #define ALIGRPMANAGER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
7 // //
8 // AliGRPManager class //
9 // The class can be used in order to access and read the Global Run //
10 // Parameters entry from OCDB. //
11 // It has a methods to set the magnetic field instanton and return //
12 // the run and event info objects. //
13 // //
14 // cvetan.cheshkov@cern.ch 15/06/2009 //
16 
17 #include <TObject.h>
18 
19 class AliRunInfo;
20 class AliGRPObject;
21 class THashTable;
22 
23 class AliGRPManager: public TObject {
24 public:
25  AliGRPManager();
26  virtual ~AliGRPManager();
27 
28  const AliGRPObject* GetGRPData() const { return fGRPData; }
29 
30  void SetGRPEntry(const AliGRPObject* source);
31  Bool_t ReadGRPEntry();
32  Bool_t SetMagField();
33 
35  THashTable* GetCosmicTriggers(); // return the list of cosmic triggers as defined by trigger coordination
36 
37 private:
38 
39  AliGRPObject* fGRPData; // Data from the GRP/GRP/Data CDB folder
40 
41  AliGRPManager(const AliGRPManager& man);
43 
44  ClassDef(AliGRPManager, 0) // class for accessing GRP
45 };
46 
47 #endif
void SetGRPEntry(const AliGRPObject *source)
Bool_t ReadGRPEntry()
AliGRPManager & operator=(const AliGRPManager &man)
AliGRPObject * fGRPData
Definition: AliGRPManager.h:39
AliRunInfo * GetRunInfo()
Bool_t SetMagField()
const AliGRPObject * GetGRPData() const
Definition: AliGRPManager.h:28
virtual ~AliGRPManager()
THashTable * GetCosmicTriggers()