AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONDEPainter.h
Go to the documentation of this file.
1 #ifndef ALIMUONDEPAINTER_H
2 #define ALIMUONDEPAINTER_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:
23  AliMUONDEPainter(TRootIOCtor* ioCtor);
24  AliMUONDEPainter(const AliMUONAttPainter& att, Int_t detElemId);
27  virtual ~AliMUONDEPainter();
28 
30  virtual TObject* Clone(const char* = "") const { return new AliMUONDEPainter(*this); }
31 
32  void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
33  Double_t& dataMin, Double_t& dataMax) const;
34 
35  void Copy(TObject& object) const;
36 
38  Int_t DetElemId() const { return fDetElemId; }
39 
41 
42  void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
43  Double_t min, Double_t max);
44 
45  TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
46  Double_t, Double_t);
47 
48  virtual AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
49 
50  virtual void FillManuList(TObjArray& manuList) const;
51 
52  virtual Bool_t IsIncluded() const;
53 
55 
56  virtual void SetResponder(Int_t depth);
57 
58 private:
59  Int_t fDetElemId;
60 
61  ClassDef(AliMUONDEPainter,1) // Detection element painter
62 };
63 
64 #endif
A painter for one detection element.
AliMUONDEPainter & operator=(const AliMUONDEPainter &rhs)
TString Describe(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t, Double_t)
#define TObjArray
virtual void FillManuList(TObjArray &manuList) const
Append (i.e. don't have the right to clear the array !) our list of manus to manuList.
virtual void SetResponder(const char *pattern)
void Copy(TObject &object) const
virtual void SetResponder(Int_t depth)
virtual void PaintArea(Int_t fillColor)
virtual AliMUONAttPainter Validate(const AliMUONAttPainter &attributes) const
Convert attributes so they are valid ones for us.
virtual TObject * Clone(const char *="") const
Clone this object.
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)
void ComputeDataRange(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t &dataMin, Double_t &dataMax) const
Int_t fDetElemId
our id
virtual Bool_t IsIncluded() const
Whether or not the part of the detector represented by this painter should be included in readout...
Int_t DetElemId() const
Return the ID of this detection element.
Basic attributes shared by all painters.
Base class for MUON data that can be presented at different levels in the hierarchy of the MUON syste...