Go from pointer to ifstream to ifstream.
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterPadStore.h
CommitLineData
0145e89a 1#ifndef ALIMUONPAINTERPADSTORE_H
2#define ALIMUONPAINTERPADSTORE_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 AliMUONPainterPadStore
11/// \brief Container for pads
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class AliMUONVCalibParam;
20class AliMUONVStore;
21class TArrayI;
22class TVector2;
23
24class AliMUONPainterPadStore : public TObject
25{
26public:
27 AliMUONPainterPadStore();
ce350193 28 AliMUONPainterPadStore(TRootIOCtor* dummy);
0145e89a 29 virtual ~AliMUONPainterPadStore();
30
31 Int_t FindPadID(const TArrayI& pads, Double_t x, Double_t y) const;
32
33 AliMUONVCalibParam* Get(Int_t detElemId, Int_t manuId) const;
34
35 void GetBoundaries(const TArrayI& pads, Double_t& xmin, Double_t& ymin,
36 Double_t& xmax, Double_t& ymax) const;
37
38 void GetPadGeometry(Int_t padID, TVector2& position, TVector2& dimensions) const;
39
40 void PrintPads(const TArrayI& pads) const;
41
42 Int_t GetSize() const;
43
44private:
45 /// not implemented
46 AliMUONPainterPadStore(const AliMUONPainterPadStore& rhs);
47 /// not implemented
48 AliMUONPainterPadStore& operator=(const AliMUONPainterPadStore& rhs);
49private:
50 AliMUONVStore* fPadStore; ///< the pad container
51
52 ClassDef(AliMUONPainterPadStore,1) // A pad container
53};
54
55#endif