1 #ifndef ALIMUONDEPAINTER_H
2 #define ALIMUONDEPAINTER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONDEPainter
11 /// \brief A painter for one detection element
13 // Author Laurent Aphecetche, Subatech
15 #ifndef ALIMUONVPAINTER_H
16 # include "AliMUONVPainter.h"
19 class AliMUONDEPainter : public AliMUONVPainter
23 AliMUONDEPainter(const AliMUONAttPainter& att, Int_t detElemId);
24 AliMUONDEPainter(const AliMUONDEPainter& rhs);
25 AliMUONDEPainter& operator=(const AliMUONDEPainter& rhs);
26 virtual ~AliMUONDEPainter();
29 virtual TObject* Clone(const char* = "") const { return new AliMUONDEPainter(*this); }
31 void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
32 Double_t& dataMin, Double_t& dataMax) const;
34 void Copy(TObject& object) const;
36 /// Return the ID of this detection element
37 Int_t DetElemId() const { return fDetElemId; }
39 void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
40 Double_t min, Double_t max);
42 TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
45 virtual AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
47 virtual void FillManuList(TObjArray& manuList) const;
50 Int_t fDetElemId; ///< our id
52 ClassDef(AliMUONDEPainter,1) // Detection element painter