36 #include <TObjString.h>
122 for ( Int_t i = 0; i < slat->
GetSize(); ++i )
140 AliFatal(
"Not implemented for trigger !!!");
165 contourArray.Add(painter->
Contour());
174 AliError(Form(
"%s : could not merge those contours",
Name().Data()));
175 StdoutToAliError(contourArray.Print(););
211 Double_t& dataMin, Double_t& dataMax)
const
248 while ( ( p = static_cast<AliMUONVPainter*>(next()) ) )
250 if ( p->IsA() == AliMUONBusPatchPainter::Class() )
270 Double_t min, Double_t max)
352 while ( ( str = static_cast<TObjString*>(next()) ) )
355 if ( str->String() ==
"BUSPATCH" )
Int_t ColorFromValue(Double_t value, Double_t min, Double_t max) const
static AliMUONPainterHelper * Instance()
virtual Double_t DetectionElement(Int_t detElemId, Int_t dim=0) const =0
Get the value for a given DE and given dimension.
TString DEPathName(Int_t detElemId) const
A painter for one detection element.
void SetID(Int_t id0, Int_t id1)
Set our IDs.
static Float_t InvalidFloatValue()
Return 1E38 as invalid float value.
void Local2Global(Int_t detElemId, Double_t xl, Double_t yl, Double_t zl, Double_t &xg, Double_t &yg, Double_t &zg) const
AliMUONDEPainter & operator=(const AliMUONDEPainter &rhs)
Double_t GetDimensionX() const
TString Describe(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t, Double_t)
static AliMp::CathodType GetCathod(Int_t detElemId, AliMp::PlaneType planeType)
AliMUONVTrackerData * InteractiveReadOutConfig() const
virtual void FillManuList(TObjArray &manuList) const
Append (i.e. don't have the right to clear the array !) our list of manus to manuList.
A painter for one buspatch.
Bool_t IsPlaneDefined() const
Whether we are defined by plane.
void SetContour(AliMUONContour *contour)
Set out contour.
virtual TString Name() const
Get our name.
void SetResponder(Bool_t flag=kTRUE)
Set the responder flag.
Bool_t IsCathodeDefined() const
Whether we are defined by cathode.
Bool_t IsBendingPlane() const
Whether we are representing bending plane.
void Copy(TObject &object) const
const AliMpSector * GetSector(Int_t detElemId, AliMp::PlaneType planeType) const
virtual TString ContourName() const
AliMpDetElement * GetDetElement(Int_t detElemId, Bool_t warn=true) const
A slat (building block of stations 3, 4 and 5)
void SetCathode(Bool_t cath0, Bool_t cath1)
The class defines the electronics properties of detection element.
virtual TString DimensionName(Int_t dim) const =0
Get the name of a given (internal) dimension.
virtual void SetResponder(Int_t depth)
virtual void Copy(TObject &object) const
static AliMpDDLStore * Instance(Bool_t warn=true)
const AliMUONAttPainter & Attributes() const
Get our attributes.
void SetName(const char *name)
Set our name.
virtual AliMUONAttPainter Validate(const AliMUONAttPainter &attributes) const
Convert attributes so they are valid ones for us.
Base class for a graphical object representing some part of the MUON tracking system.
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.
void SetPathName(const char *pathName)
Set our path name (aka fullname)
AliMUONContour * GetContour(const char *contourName, Bool_t explodedGeometry=kTRUE) const
Bool_t IsCathode1() const
Whether we are representing cathode 1.
static AliMp::StationType GetStationType(Int_t detElemId)
virtual Bool_t HasDetectionElement(Int_t detElemId) const =0
Whether we have data for a given detection element.
void PaintArea(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t min, Double_t max)
Utility class for the painters display.
AliMUONContour * MergeContours(const TObjArray &contours, const char *contourName, Bool_t explodedGeometry=kTRUE)
void ComputeDataRange(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t &dataMin, Double_t &dataMax) const
A sector (quadrant) of the MUON chamber of stations 1 and 2.
static AliMp::PlaneType GetPlaneType(Int_t detElemId, AliMp::CathodType cath)
Implementation of AliMUONVPainter for slat's PCBs.
virtual ~AliMUONDEPainter()
virtual Bool_t IsIncluded() const
Whether or not the part of the detector represented by this painter should be included in readout...
const AliMpSlat * GetSlat(Int_t detElemId, AliMp::PlaneType planeType) const
virtual Bool_t IsValid() const
Whether we are valid or not.
Int_t GetNofBusPatches() const
Int_t DetElemId() const
Return the ID of this detection element.
TMap * fPainterGroups
map of groups
virtual void FillManuList(TObjArray &manuList) const
Append (i.e. don't have the right to clear the array !) our list of manus to manuList.
Bool_t IsCathode0() const
Whether we are representing cathode 0.
Int_t GetBusPatchId(Int_t index) const
AliMUONPainterGroup * fResponderGroup
the responder group
Basic attributes shared by all painters.
void SetCathodeAndPlaneMutuallyExclusive(Bool_t value)
TString FormatValue(const char *name, Double_t value) const
A group of AliMUONVPainter.
void SetPlane(Bool_t bending, Bool_t nonBending)
TString DEName(Int_t detElemId) const
Double_t GetDimensionY() const
virtual TCollection * Children() const
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...
void SetValid(Bool_t value)
Int_t GetSize() const
Returns the number of PCBs of this slat.