]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONPainterPadStore.h
added headers needed for compilation
[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   AliMUONPainterPadStore(TRootIOCtor* dummy);
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   
44 private:
45   /// not implemented
46   AliMUONPainterPadStore(const AliMUONPainterPadStore& rhs);
47   /// not implemented
48   AliMUONPainterPadStore& operator=(const AliMUONPainterPadStore& rhs);
49 private:
50   AliMUONVStore* fPadStore; ///< the pad container
51   
52   ClassDef(AliMUONPainterPadStore,1) // A pad container
53 };
54
55 #endif