]>
Commit | Line | Data |
---|---|---|
0145e89a | 1 | #ifndef ALIMUONPCBPAINTER_H |
2 | #define ALIMUONPCBPAINTER_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 AliMUONPCBPainter | |
11 | /// \brief Implementation of AliMUONVPainter for slat's PCBs | |
12 | /// | |
13 | // Author Laurent Aphecetche, Subatech | |
14 | ||
15 | #ifndef ALIMUONVPAINTER_H | |
16 | # include "AliMUONVPainter.h" | |
17 | #endif | |
18 | ||
19 | class AliMUONPCBPainter : public AliMUONVPainter | |
20 | { | |
21 | public: | |
22 | AliMUONPCBPainter(); | |
23 | AliMUONPCBPainter(const AliMUONAttPainter& att, | |
24 | Int_t detElemId, | |
25 | Int_t pcbNumber); | |
26 | AliMUONPCBPainter(const AliMUONPCBPainter& rhs); | |
27 | AliMUONPCBPainter& operator=(const AliMUONPCBPainter& rhs); | |
28 | ||
29 | virtual ~AliMUONPCBPainter(); | |
30 | ||
31 | /// Clone this object | |
32 | virtual TObject* Clone(const char* = "" ) const { return new AliMUONPCBPainter(*this); } | |
33 | ||
34 | virtual void Copy(TObject& object) const; | |
35 | ||
36 | void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex, | |
37 | Double_t& dataMin, Double_t& dataMax) const; | |
38 | ||
39 | void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex, | |
40 | Double_t min, Double_t max); | |
41 | ||
42 | private: | |
43 | Int_t fDetElemId; ///< Detection element this pcb is in | |
44 | Int_t fPCBIndex; ///< Index of this PCB within the detection element | |
45 | ||
46 | ClassDef(AliMUONPCBPainter,1) // Implementation of AliMUONVPainter for St345 PCBs | |
47 | }; | |
48 | ||
49 | #endif |