AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONManuPainter.h
Go to the documentation of this file.
1 #ifndef ALIMUONMANUPAINTER_H
2 #define ALIMUONMANUPAINTER_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 
20 {
21 public:
22 
23  AliMUONManuPainter(TRootIOCtor* ioCtor);
26  Int_t detElemId,
27  Int_t manuId);
30 
31  virtual ~AliMUONManuPainter();
32 
33  virtual void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
34  Double_t& dataMin, Double_t& dataMax) const;
35 
37  virtual TObject* Clone(const char* = "") const { return new AliMUONManuPainter(*this); }
38 
39  virtual void Copy(TObject& object) const;
40 
41  virtual TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
42  Double_t x=FLT_MAX, Double_t y=FLT_MAX);
43 
45 
46  void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
47  Double_t min, Double_t max);
48 
49  virtual AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
50 
51  virtual void FillManuList(TObjArray& manuList) const;
52 
53  virtual Bool_t IsIncluded() const;
54 
55 private:
56  Int_t fDetElemId;
57  Int_t fManuId;
58 
59  ClassDef(AliMUONManuPainter,1) // Painter for one manu (not the pads, only the manu)
60 };
61 
62 #endif
Int_t fDetElemId
our detection element id
virtual AliMUONAttPainter Validate(const AliMUONAttPainter &attributes) const
Convert attributes so they are valid ones for us.
AliMUONManuPainter & operator=(const AliMUONManuPainter &rhs)
Painter for one manu (not the pads, only the manu)
virtual Bool_t IsIncluded() const
Whether or not the part of the detector represented by this painter should be included in readout...
#define TObjArray
virtual void Copy(TObject &object) const
virtual void PaintArea(Int_t fillColor)
virtual TObject * Clone(const char *="") const
Clone ourselves.
Base class for a graphical object representing some part of the MUON tracking system.
void PaintArea(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t min, Double_t max)
virtual void FillManuList(TObjArray &manuList) const
Append (i.e. don't have the right to clear the array !) our list of manus to manuList.
Int_t fManuId
our manu id
Basic attributes shared by all painters.
virtual TString Describe(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t x=FLT_MAX, Double_t y=FLT_MAX)
Base class for MUON data that can be presented at different levels in the hierarchy of the MUON syste...
virtual void ComputeDataRange(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t &dataMin, Double_t &dataMax) const