65 fDetElemId(detElemId),
78 SetID(detElemId,pcbNumber);
87 for ( Int_t imp = 0 ; imp < pcb->GetSize(); ++imp )
94 contourArray.Add(painter->
Contour());
145 Double_t& dataMin, Double_t& dataMax)
const
186 Double_t min, Double_t max)
Int_t ColorFromValue(Double_t value, Double_t min, Double_t max) const
static AliMUONPainterHelper * Instance()
void SetID(Int_t id0, Int_t id1)
Set our IDs.
static Float_t InvalidFloatValue()
Return 1E38 as invalid float value.
void PaintArea(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t min, Double_t max)
Painter for one manu (not the pads, only the manu)
void Local2Global(Int_t detElemId, Double_t xl, Double_t yl, Double_t zl, Double_t &xg, Double_t &yg, Double_t &zg) const
TString PCBName(Int_t pcbNumber) const
AliMUONVTrackerData * InteractiveReadOutConfig() const
Double_t GetPositionY() const
Return y position.
void SetContour(AliMUONContour *contour)
Set out contour.
A PCB for station 3,4 or 5.
Bool_t IsBendingPlane() const
Whether we are representing bending plane.
virtual void Copy(TObject &object) const
virtual Bool_t HasPCB(Int_t detElemId, Int_t pcbIndex) const =0
Whether we have data for a given PCB.
virtual TString ContourName() 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
A slat (building block of stations 3, 4 and 5)
virtual Double_t PCB(Int_t detElemId, Int_t pcbIndex, Int_t dim=0) const =0
Get the value for a given PCDB and given dimension.
virtual TString DimensionName(Int_t dim) const =0
Get the name of a given (internal) dimension.
virtual void Copy(TObject &object) const
const AliMUONAttPainter & Attributes() const
Get our attributes.
void SetName(const char *name)
Set our name.
Base class for a graphical object representing some part of the MUON tracking system.
Int_t GetID() const
Return motif position ID = manu id.
AliMUONPCBPainter & operator=(const AliMUONPCBPainter &rhs)
void Add(AliMUONVPainter *painter)
Add a painter to our list of children. We adopt this painter (i.e. we become owner).
AliMUONContour * Contour() const
Return the contour representing the outline of this object.
AliMpPCB * GetPCB(Int_t i) const
Returns the i-th PCB of this slat.
void SetPathName(const char *pathName)
Set our path name (aka fullname)
AliMUONContour * GetContour(const char *contourName, Bool_t explodedGeometry=kTRUE) const
TString PCBPathName(Int_t detElemId, Int_t pcbNumber) const
Utility class for the painters display.
AliMUONContour * MergeContours(const TObjArray &contours, const char *contourName, Bool_t explodedGeometry=kTRUE)
Implementation of AliMUONVPainter for slat's PCBs.
Double_t GetPositionX() const
Return x position.
const AliMpSlat * GetSlat(Int_t detElemId, AliMp::PlaneType planeType) const
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.
TString FormatValue(const char *name, Double_t value) const
virtual ~AliMUONPCBPainter()
virtual void SetAttributes(const AliMUONAttPainter &attributes)
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...