1 #ifndef ALIMUONBUSPATCHPAINTER_H
2 #define ALIMUONBUSPATCHPAINTER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONBusPatchPainter
11 /// \brief A painter for one buspatch
13 // Author Laurent Aphecetche, Subatech
15 #ifndef AliMUONVPAINTER_H
16 # include "AliMUONVPainter.h"
18 #ifndef ALI_MP_PLANE_TYPE_H
19 # include "AliMpPlaneType.h"
22 class AliMUONBusPatchPainter : public AliMUONVPainter
26 AliMUONBusPatchPainter();
27 AliMUONBusPatchPainter(TRootIOCtor*);
28 AliMUONBusPatchPainter(const AliMUONAttPainter& att, Int_t busPatchId);
29 AliMUONBusPatchPainter(const AliMUONBusPatchPainter& rhs);
30 AliMUONBusPatchPainter& operator=(const AliMUONBusPatchPainter& rhs);
31 virtual ~AliMUONBusPatchPainter();
34 virtual TObject* Clone(const char* = "") const { return new AliMUONBusPatchPainter(*this); }
36 void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
37 Double_t& dataMin, Double_t& dataMax) const;
39 virtual void Copy(TObject& object) const;
41 void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
42 Double_t min, Double_t max);
44 TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
45 Double_t x = FLT_MAX, Double_t y = FLT_MAX);
47 virtual AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
49 virtual Bool_t IsIncluded() const;
52 Int_t fBusPatchId; ///< our identifier
54 ClassDef(AliMUONBusPatchPainter,1) // Painter for one buspatch