AliRoot Core  edcc906 (edcc906)
AliMUONBusPatchPainter.h
Go to the documentation of this file.
1 #ifndef ALIMUONBUSPATCHPAINTER_H
2 #define ALIMUONBUSPATCHPAINTER_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 
13 // Author Laurent Aphecetche, Subatech
14 
15 #ifndef AliMUONVPAINTER_H
16 # include "AliMUONVPainter.h"
17 #endif
18 #ifndef ALI_MP_PLANE_TYPE_H
19 # include "AliMpPlaneType.h"
20 #endif
21 
23 {
24 public:
25 
27  AliMUONBusPatchPainter(TRootIOCtor* ioCtor);
28  AliMUONBusPatchPainter(const AliMUONAttPainter& att, Int_t busPatchId);
31  virtual ~AliMUONBusPatchPainter();
32 
34  virtual TObject* Clone(const char* = "") const { return new AliMUONBusPatchPainter(*this); }
35 
36  void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
37  Double_t& dataMin, Double_t& dataMax) const;
38 
39  virtual void Copy(TObject& object) const;
40 
42 
43  void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
44  Double_t min, Double_t max);
45 
46  TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
47  Double_t x = FLT_MAX, Double_t y = FLT_MAX);
48 
49  virtual AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
50 
51  virtual Bool_t IsIncluded() const;
52 
53 private:
54  Int_t fBusPatchId;
55 
56  ClassDef(AliMUONBusPatchPainter,1) // Painter for one buspatch
57 };
58 
59 #endif
Int_t fBusPatchId
our identifier
TString Describe(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t x=FLT_MAX, Double_t y=FLT_MAX)
A painter for one buspatch.
void ComputeDataRange(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t &dataMin, Double_t &dataMax) const
AliMUONBusPatchPainter & operator=(const AliMUONBusPatchPainter &rhs)
virtual void PaintArea(Int_t fillColor)
virtual AliMUONAttPainter Validate(const AliMUONAttPainter &attributes) const
Convert attributes so they are valid ones for us.
Base class for a graphical object representing some part of the MUON tracking system.
Basic attributes shared by all painters.
virtual TObject * Clone(const char *="") const
Clone ourselves.
virtual Bool_t IsIncluded() const
Whether or not the part of the detector represented by this painter should be included in readout...
virtual void Copy(TObject &object) const
Base class for MUON data that can be presented at different levels in the hierarchy of the MUON syste...
void PaintArea(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t min, Double_t max)