AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONPCBPainter.h
Go to the documentation of this file.
1 #ifndef ALIMUONPCBPAINTER_H
2 #define ALIMUONPCBPAINTER_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  AliMUONPCBPainter(TRootIOCtor* ioCtor);
25  Int_t detElemId,
26  Int_t pcbNumber);
29 
30  virtual ~AliMUONPCBPainter();
31 
33  virtual TObject* Clone(const char* = "" ) const { return new AliMUONPCBPainter(*this); }
34 
35  virtual void Copy(TObject& object) const;
36 
37  void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
38  Double_t& dataMin, Double_t& dataMax) const;
39 
40  TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
41  Double_t, Double_t);
42 
44 
45  void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
46  Double_t min, Double_t max);
47 
48  Bool_t IsIncluded() const;
49 
50 private:
51  Int_t fDetElemId;
52  Int_t fPCBIndex;
53 
54  ClassDef(AliMUONPCBPainter,1) // Implementation of AliMUONVPainter for St345 PCBs
55 };
56 
57 #endif
void PaintArea(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t min, Double_t max)
virtual TObject * Clone(const char *="") const
Clone this object.
virtual void Copy(TObject &object) const
TString Describe(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t, Double_t)
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.
AliMUONPCBPainter & operator=(const AliMUONPCBPainter &rhs)
Implementation of AliMUONVPainter for slat's PCBs.
Int_t fDetElemId
Detection element this pcb is in.
Basic attributes shared by all painters.
Int_t fPCBIndex
Index of this PCB within the detection element.
Base class for MUON data that can be presented at different levels in the hierarchy of the MUON syste...
Bool_t IsIncluded() const
Whether or not the part of the detector represented by this painter should be included in readout...