o add Reset function to CalPad and CalROC o Add functionality to AliTPCdataQA - Reset...
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterEnv.h
CommitLineData
0145e89a 1#ifndef ALIMUONPAINTERENV_H
2#define ALIMUONPAINTERENV_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup graphics
10/// \class AliMUONPainterEnv
11/// \brief Resource file handling
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class TEnv;
20
21class AliMUONPainterEnv : public TObject
22{
23public:
24 AliMUONPainterEnv(const char* resourceFile=".mchviewrc");
25 virtual ~AliMUONPainterEnv();
26
27 const char* String(const char* resourceName, const char* defaultValue="");
28
29 Int_t Integer(const char* resourceName, Int_t defaultValue=0);
30
31 Double_t Double(const char* resourceName, Double_t defaultValue=0.0);
32
33 void Save();
34
35 void Set(const char* resourceName, Int_t value);
36
37 void Set(const char* resourceName, const char* value);
38
39 void Set(const char* resourceName, Double_t value);
40
41private:
42 /// Not implemented
43 AliMUONPainterEnv(const AliMUONPainterEnv& rhs);
44 /// Not implemented
45 AliMUONPainterEnv& operator=(const AliMUONPainterEnv& rhs);
46
47 TEnv* fEnv; ///< the worker class
48
49 ClassDef(AliMUONPainterEnv,1) // Painter display resource file
50};
51
52#endif