]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONPainterPadStore.h
- Add information in the trigger chamber efficiency object in order to take into...
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterPadStore.h
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
19 class AliMUONVCalibParam;
20 class AliMUONVStore;
21 class TArrayI;
22 class TVector2;
23
24 class AliMUONPainterPadStore : public TObject
25 {
26 public:
27   AliMUONPainterPadStore();
28   virtual ~AliMUONPainterPadStore();
29
30   Int_t FindPadID(const TArrayI& pads, Double_t x, Double_t y) const;
31
32   AliMUONVCalibParam* Get(Int_t detElemId, Int_t manuId) const;
33   
34   void GetBoundaries(const TArrayI& pads, Double_t& xmin, Double_t& ymin,
35                      Double_t& xmax, Double_t& ymax) const;
36     
37   void GetPadGeometry(Int_t padID, TVector2& position, TVector2& dimensions) const;
38   
39   void PrintPads(const TArrayI& pads) const;
40
41   Int_t GetSize() const;
42   
43 private:
44   /// not implemented
45   AliMUONPainterPadStore(const AliMUONPainterPadStore& rhs);
46   /// not implemented
47   AliMUONPainterPadStore& operator=(const AliMUONPainterPadStore& rhs);
48 private:
49   AliMUONVStore* fPadStore; ///< the pad container
50   
51   ClassDef(AliMUONPainterPadStore,1) // A pad container
52 };
53
54 #endif