1 #ifndef ALIMUONPAINTERENV_H
2 #define ALIMUONPAINTERENV_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONPainterEnv
11 /// \brief Resource file handling
13 // Author Laurent Aphecetche, Subatech
21 class AliMUONPainterEnv : public TObject
24 AliMUONPainterEnv(const char* resourceFile=".mchviewrc");
25 virtual ~AliMUONPainterEnv();
27 const char* String(const char* resourceName, const char* defaultValue="");
29 Int_t Integer(const char* resourceName, Int_t defaultValue=0);
31 Double_t Double(const char* resourceName, Double_t defaultValue=0.0);
35 void Set(const char* resourceName, Int_t value);
37 void Set(const char* resourceName, const char* value);
39 void Set(const char* resourceName, Double_t value);
43 AliMUONPainterEnv(const AliMUONPainterEnv& rhs);
45 AliMUONPainterEnv& operator=(const AliMUONPainterEnv& rhs);
47 TEnv* fEnv; ///< the worker class
49 ClassDef(AliMUONPainterEnv,1) // Painter display resource file