AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONChamberPainter.h
Go to the documentation of this file.
1 #ifndef ALIMUONCHAMBERPAINTER_H
2 #define ALIMUONCHAMBERPAINTER_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_CATHOD_TYPE_H
19 # include "AliMpCathodType.h"
20 #endif
21 #ifndef ALI_MP_PLANE_TYPE_H
22 # include "AliMpPlaneType.h"
23 #endif
24 
26 {
27 public:
29  AliMUONChamberPainter(TRootIOCtor* ioCtor);
30  AliMUONChamberPainter(const AliMUONAttPainter& att, Int_t chamberId);
33 
34  virtual ~AliMUONChamberPainter();
35 
36  void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
37  Double_t& dataMin, Double_t& dataMax) const;
38 
40  virtual TObject* Clone(const char* = "") const { return new AliMUONChamberPainter(*this); }
41 
42  virtual void Copy(TObject& object) const;
43 
45 
46  void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
47  Double_t min, Double_t max);
48 
49  TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
50  Double_t, Double_t);
51 
52  AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
53 
54  Bool_t IsIncluded() const;
55 
56 private:
57  Int_t fChamberId;
58 
59  ClassDef(AliMUONChamberPainter,1) // Painter for one chamber
60 };
61 
62 #endif
TString Describe(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t, Double_t)
AliMUONAttPainter Validate(const AliMUONAttPainter &attributes) const
Convert attributes so they are valid ones for us.
virtual TObject * Clone(const char *="") const
Clone ourselves.
void ComputeDataRange(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t &dataMin, Double_t &dataMax) const
virtual void PaintArea(Int_t fillColor)
Base class for a graphical object representing some part of the MUON tracking system.
AliMUONChamberPainter & operator=(const AliMUONChamberPainter &rhs)
void PaintArea(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t min, Double_t max)
virtual void Copy(TObject &object) const
Basic attributes shared by all painters.
Int_t fChamberId
our identifier (0..n)
Base class for MUON data that can be presented at different levels in the hierarchy of the MUON syste...
Painter for one (plane of one) chamber.
Bool_t IsIncluded() const
Whether or not the part of the detector represented by this painter should be included in readout...