1 #ifndef ALIMUONPAINTERPADSTORE_H
2 #define ALIMUONPAINTERPADSTORE_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONPainterPadStore
11 /// \brief Container for pads
13 // Author Laurent Aphecetche, Subatech
19 class AliMUONVCalibParam;
24 class AliMUONPainterPadStore : public TObject
27 AliMUONPainterPadStore();
28 virtual ~AliMUONPainterPadStore();
30 Int_t FindPadID(const TArrayI& pads, Double_t x, Double_t y) const;
32 AliMUONVCalibParam* Get(Int_t detElemId, Int_t manuId) const;
34 void GetBoundaries(const TArrayI& pads, Double_t& xmin, Double_t& ymin,
35 Double_t& xmax, Double_t& ymax) const;
37 void GetPadGeometry(Int_t padID, TVector2& position, TVector2& dimensions) const;
39 void PrintPads(const TArrayI& pads) const;
41 Int_t GetSize() const;
45 AliMUONPainterPadStore(const AliMUONPainterPadStore& rhs);
47 AliMUONPainterPadStore& operator=(const AliMUONPainterPadStore& rhs);
49 AliMUONVStore* fPadStore; ///< the pad container
51 ClassDef(AliMUONPainterPadStore,1) // A pad container