84 SetID(detElemId,manuId);
93 AliError(
"Hu ho. Not supposed to be used for trigger !");
104 AliError(Form(
"Could not get manuId %04d from DE %04d (name=%s)",manuId,detElemId,name.Data()));
141 Double_t& dataMin, Double_t& dataMax)
const 171 if ( TString(data.GetName()).Contains(
"HV") )
211 Double_t min, Double_t max)
Int_t ColorFromValue(Double_t value, Double_t min, Double_t max) const
static AliMUONPainterHelper * Instance()
Int_t fDetElemId
our detection element id
virtual AliMUONAttPainter Validate(const AliMUONAttPainter &attributes) const
Convert attributes so they are valid ones for us.
void SetID(Int_t id0, Int_t id1)
Set our IDs.
static Float_t InvalidFloatValue()
Return 1E38 as invalid float value.
AliMUONManuPainter & operator=(const AliMUONManuPainter &rhs)
Painter for one manu (not the pads, only the manu)
virtual Bool_t IsIncluded() const
Whether or not the part of the detector represented by this painter should be included in readout...
static AliMp::CathodType GetCathod(Int_t detElemId, AliMp::PlaneType planeType)
AliMUONVTrackerData * InteractiveReadOutConfig() const
virtual void Copy(TObject &object) const
Int_t ManuId2Sector(Int_t detElemId, Int_t manuId) const
Return the HV-sector number (within a St12 quadrant) for a given manu number.
Bool_t IsPlaneDefined() const
Whether we are defined by plane.
void SetContour(AliMUONContour *contour)
Set out contour.
virtual Bool_t HasManu(Int_t detElemId, Int_t manuId) const =0
Whether we have data for a given manu.
Bool_t IsCathodeDefined() const
Whether we are defined by cathode.
Collection of methods usefull to DCS handling for MUON TRK and TRG.
Bool_t IsBendingPlane() const
Whether we are representing bending plane.
void SetCathode(Bool_t cath0, Bool_t cath1)
virtual TString DimensionName(Int_t dim) const =0
Get the name of a given (internal) dimension.
TString ManuPathName(Int_t detElemId, Int_t manuId) const
virtual void Copy(TObject &object) const
TString DCSNameFromAlias(const char *dcsAlias) 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.
virtual Double_t Manu(Int_t detElemId, Int_t manuId, Int_t dim=0) const =0
Get the value for a given manu and given dimension.
void Add(AliMUONVPainter *painter)
Add a painter to our list of children. We adopt this painter (i.e. we become owner).
void Invalidate()
Mark us as not valid.
void SetPathName(const char *pathName)
Set our path name (aka fullname)
AliMUONContour * GetContour(const char *contourName, Bool_t explodedGeometry=kTRUE) const
void PaintArea(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t min, Double_t max)
static AliMp::StationType GetStationType(Int_t detElemId)
Utility class for the painters display.
static TString ManuPathName(Int_t detElemId, Int_t manu, Bool_t withCathodeName=kTRUE)
static AliMp::PlaneType GetPlaneType(Int_t detElemId, AliMp::CathodType cath)
virtual ~AliMUONManuPainter()
Painter for the pads of one manu.
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.
Basic attributes shared by all painters.
TString FormatValue(const char *name, Double_t value) const
#define AliError(message)
virtual TString Describe(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t x=FLT_MAX, Double_t y=FLT_MAX)
TString ManuName(Int_t manuId) const
void SetPlane(Bool_t bending, Bool_t nonBending)
TString DCSAliasName(Int_t detElemId, Int_t sector=0, Int_t dcsMeasure=0) 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)
virtual void ComputeDataRange(const AliMUONVTrackerData &data, Int_t dataIndex, Double_t &dataMin, Double_t &dataMax) const