]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONPainterPadStore.h
Finally got the ResetDetector correct.
[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();
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
43private:
44 /// not implemented
45 AliMUONPainterPadStore(const AliMUONPainterPadStore& rhs);
46 /// not implemented
47 AliMUONPainterPadStore& operator=(const AliMUONPainterPadStore& rhs);
48private:
49 AliMUONVStore* fPadStore; ///< the pad container
50
51 ClassDef(AliMUONPainterPadStore,1) // A pad container
52};
53
54#endif