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 */
6 ////////////////////////////////////////////////////////////////////////////
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. //
14 // cvetan.cheshkov@cern.ch 15/06/2009 //
15 ////////////////////////////////////////////////////////////////////////////
22 class AliGRPManager: public TObject {
25 virtual ~AliGRPManager();
27 const AliGRPObject* GetGRPData() const { return fGRPData; }
29 void SetGRPEntry(AliGRPObject* source);
30 Bool_t ReadGRPEntry();
33 AliRunInfo* GetRunInfo();
37 AliGRPObject* fGRPData; // Data from the GRP/GRP/Data CDB folder
39 AliGRPManager(const AliGRPManager& man);
40 AliGRPManager& operator = (const AliGRPManager& man);
42 ClassDef(AliGRPManager, 0) // class for accessing GRP