1 #ifndef ALIMUONPCBPAINTER_H
2 #define ALIMUONPCBPAINTER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONPCBPainter
11 /// \brief Implementation of AliMUONVPainter for slat's PCBs
13 // Author Laurent Aphecetche, Subatech
15 #ifndef ALIMUONVPAINTER_H
16 # include "AliMUONVPainter.h"
19 class AliMUONPCBPainter : public AliMUONVPainter
22 AliMUONPCBPainter(TRootIOCtor*);
24 AliMUONPCBPainter(const AliMUONAttPainter& att,
27 AliMUONPCBPainter(const AliMUONPCBPainter& rhs);
28 AliMUONPCBPainter& operator=(const AliMUONPCBPainter& rhs);
30 virtual ~AliMUONPCBPainter();
33 virtual TObject* Clone(const char* = "" ) const { return new AliMUONPCBPainter(*this); }
35 virtual void Copy(TObject& object) const;
37 void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
38 Double_t& dataMin, Double_t& dataMax) const;
40 TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
43 void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
44 Double_t min, Double_t max);
46 Bool_t IsIncluded() const;
49 Int_t fDetElemId; ///< Detection element this pcb is in
50 Int_t fPCBIndex; ///< Index of this PCB within the detection element
52 ClassDef(AliMUONPCBPainter,1) // Implementation of AliMUONVPainter for St345 PCBs