1 #ifndef ALIMUONPAINTERMATRIX_H
2 #define ALIMUONPAINTERMATRIX_H
21 #ifndef ALIMUONATTPAINTER_H
44 void Connect(
const char* sourceMethod,
const char* destClassName,
45 void* destObject,
const char* destMethod);
54 void GetDataRange(Double_t& dataMin, Double_t& dataMax)
const;
67 Int_t
Nx()
const {
return fNx; }
70 Int_t
Ny()
const {
return fNy; }
76 void Print(Option_t* opt=
"")
const;
89 void SetOutlined(
const char* pattern, Bool_t value);
101 void Draw(Option_t* opt=
"");
103 TCanvas*
CreateCanvas(Int_t x=0, Int_t y=0, Int_t w=-1, Int_t h=-1);
TObjArray * fPainters
painters in that matrix
const char * Whatname() const
virtual const char * GetName() const
Get matrix name.
Int_t Nx() const
Number of painters to arrange in x-direction.
void Draw(Option_t *opt="")
void SetResponder(const char *pattern)
static std::string NameIt(const char *what, const char *basename, const AliMUONAttPainter &att)
AliMUONPainterMatrix & operator=(const AliMUONPainterMatrix &rhs)
Not implemented.
TString fBasename
base name of that matrix
void Connect(const char *sourceMethod, const char *destClassName, void *destObject, const char *destMethod)
void ComputeDataRange()
Compute the data range for this matrix.
TCanvas * CreateCanvas(Int_t x=0, Int_t y=0, Int_t w=-1, Int_t h=-1)
Base class for a graphical object representing some part of the MUON tracking system.
const char * Basename() const
Base name (short name)
AliMUONPainterMatrix * Clone(const AliMUONAttPainter &attributes) const
void SetData(const char *pattern, AliMUONVTrackerData *d, Int_t indexInData)
TString fWhatname
data name
virtual ~AliMUONPainterMatrix()
void GetTypes(TObjArray &types) const
void GetDataRange(Double_t &dataMin, Double_t &dataMax) const
Get the data range for this matrix.
AliMUONPainterMatrix(const char *basename="", Int_t nx=1, Int_t ny=1)
AliMUONAttPainter Validate(const AliMUONAttPainter &att) const
Normalize attributes.
AliMUONVTrackerData * Data() const
void Adopt(AliMUONVPainter *painter)
Adopt a painter in this matrix.
void SetDataRange(Double_t min, Double_t max)
Force a given data range for all painter groups belonging to this matrix.
Basic attributes shared by all painters.
Int_t Ny() const
Number of painters to arrange in y-direction.
Base class for MUON data that can be presented at different levels in the hierarchy of the MUON syste...
AliMUONVPainter * Painter(Int_t index) const
Get a painter.
A matrix of AliMUONVPainter.
void SetOutlined(const char *pattern, Bool_t value)
Int_t Size() const
Number of painters (should be <= Nx*Ny)
const AliMUONAttPainter & Attributes() const
Get our attributes.
Int_t fNy
number of columns
void Print(Option_t *opt="") const
Printout.
TString DataPattern() const
AliMUONAttPainter fAttributes
attributes of our painter(s)