1 #ifndef ALIMUONCHAMBERPAINTER_H
2 #define ALIMUONCHAMBERPAINTER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONChamberPainter
11 /// \brief Painter for one (plane of one) chamber
13 // Author Laurent Aphecetche, Subatech
15 #ifndef ALIMUONVPAINTER_H
16 # include "AliMUONVPainter.h"
18 #ifndef ALI_MP_CATHOD_TYPE_H
19 # include "AliMpCathodType.h"
21 #ifndef ALI_MP_PLANE_TYPE_H
22 # include "AliMpPlaneType.h"
25 class AliMUONChamberPainter : public AliMUONVPainter
28 AliMUONChamberPainter();
29 AliMUONChamberPainter(TRootIOCtor* ioCtor);
30 AliMUONChamberPainter(const AliMUONAttPainter& att, Int_t chamberId);
31 AliMUONChamberPainter(const AliMUONChamberPainter& rhs);
32 AliMUONChamberPainter& operator=(const AliMUONChamberPainter& rhs);
34 virtual ~AliMUONChamberPainter();
36 void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
37 Double_t& dataMin, Double_t& dataMax) const;
40 virtual TObject* Clone(const char* = "") const { return new AliMUONChamberPainter(*this); }
42 virtual void Copy(TObject& object) const;
44 using AliMUONVPainter::PaintArea;
46 void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
47 Double_t min, Double_t max);
49 TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
52 AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
54 Bool_t IsIncluded() const;
57 Int_t fChamberId; ///< our identifier (0..n)
59 ClassDef(AliMUONChamberPainter,1) // Painter for one chamber