AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONPainterGroup Class Reference

A group of AliMUONVPainter. More...

#include <AliMUONPainterGroup.h>

Inheritance diagram for AliMUONPainterGroup:

Public Member Functions

 AliMUONPainterGroup ()
 
 AliMUONPainterGroup (const char *type, Int_t depth)
 
virtual ~AliMUONPainterGroup ()
 
Bool_t Add (AliMUONVPainter *painter)
 
void ComputeDataRange (Double_t &dataMin, Double_t &dataMax)
 
AliMUONVTrackerDataData () const
 Return the data we are plotting. More...
 
Int_t DataIndex () const
 Return the index within the data. More...
 
Double_t DataMax () const
 Max data we are plotting. More...
 
Double_t DataMin () const
 Min data we are plotting. More...
 
Int_t Depth () const
 Depth. More...
 
void Draw (Option_t *opt="")
 
AliMUONVPainterFirst () const
 
Bool_t IsSortable () const
 We are sortable (by type) More...
 
Int_t Compare (const TObject *obj) const
 
Bool_t IsOutlined () const
 Whether we should outline ourselves. More...
 
Bool_t IsPlotter () const
 Whether we are the plotting group. More...
 
Bool_t IsResponder () const
 Whether we are the responder group. More...
 
Bool_t IsVisible () const
 Whether we are visible. More...
 
Bool_t Matches (const char *pattern) const
 
void Print (Option_t *opt="") const
 
void SetData (AliMUONVTrackerData *data, Int_t dataIndex)
 
void SetDataRange (Double_t min, Double_t max)
 Set the data range. More...
 
Int_t GetLineColor () const
 
Int_t GetLineWidth () const
 
void SetLine (Int_t lineColor, Int_t lineWidth)
 
void SetOutlined (Bool_t flag=kTRUE)
 Set the outlined flag. More...
 
void SetResponder (Bool_t flag=kTRUE)
 Set the responder flag. More...
 
void SetVisible (Bool_t flag=kTRUE)
 Set the visible flag. More...
 
const char * Type () const
 Our type. More...
 

Private Member Functions

 AliMUONPainterGroup (const AliMUONPainterGroup &rhs)
 Not implemented. More...
 
AliMUONPainterGroupoperator= (const AliMUONPainterGroup &rhs)
 Not implemented. More...
 

Private Attributes

TString fType
 type of this group (e.g. PADS, MANU, PCB, etc...) More...
 
Bool_t fIsResponder
 whether we are responding to mouse events More...
 
Bool_t fIsVisible
 whether we are visible More...
 
AliMUONVTrackerDatafData
 the data we plot (can be 0x0) More...
 
Int_t fDataIndex
 the index of the data to plot (can be -1 if data=0x0) More...
 
Double_t fDataMin
 min data More...
 
Double_t fDataMax
 max data More...
 
TObjArrayfPainters
 painters of this group More...
 
Int_t fDepth
 depth in the hierarchy of painters More...
 
Bool_t fIsOutlined
 whether we should be outlined More...
 

Detailed Description

A group of AliMUONVPainter.

A group of AliMUONVPainter

Author
Laurent Aphecetche, Subatech

Definition at line 25 of file AliMUONPainterGroup.h.

Constructor & Destructor Documentation

AliMUONPainterGroup::AliMUONPainterGroup ( )

ctor

Definition at line 40 of file AliMUONPainterGroup.cxx.

AliMUONPainterGroup::AliMUONPainterGroup ( const char *  type,
Int_t  depth 
)

ctor

Definition at line 57 of file AliMUONPainterGroup.cxx.

AliMUONPainterGroup::~AliMUONPainterGroup ( )
virtual

dtor

Definition at line 78 of file AliMUONPainterGroup.cxx.

AliMUONPainterGroup::AliMUONPainterGroup ( const AliMUONPainterGroup rhs)
private

Not implemented.

Member Function Documentation

Bool_t AliMUONPainterGroup::Add ( AliMUONVPainter painter)

Add a painter to this group (must be of the correct type)

Definition at line 86 of file AliMUONPainterGroup.cxx.

Referenced by AliMUONVPainter::CreateGroups().

Int_t AliMUONPainterGroup::Compare ( const TObject *  obj) const

Compare with another group (based on type)

Definition at line 118 of file AliMUONPainterGroup.cxx.

void AliMUONPainterGroup::ComputeDataRange ( Double_t &  dataMin,
Double_t &  dataMax 
)

Compute the data range spanned by this group

Definition at line 128 of file AliMUONPainterGroup.cxx.

Referenced by AliMUONPainterMatrix::ComputeDataRange().

Int_t AliMUONPainterGroup::DataIndex ( ) const
inline
Double_t AliMUONPainterGroup::DataMax ( ) const
inline

Max data we are plotting.

Definition at line 43 of file AliMUONPainterGroup.h.

Referenced by AliMUONPainterMatrix::GetDataRange(), Print(), and AliMUONVPainter::UpdateGroupsFrom().

Double_t AliMUONPainterGroup::DataMin ( ) const
inline

Min data we are plotting.

Definition at line 46 of file AliMUONPainterGroup.h.

Referenced by AliMUONPainterMatrix::GetDataRange(), Print(), and AliMUONVPainter::UpdateGroupsFrom().

Int_t AliMUONPainterGroup::Depth ( ) const
inline
void AliMUONPainterGroup::Draw ( Option_t *  opt = "")

Draw our painters

Definition at line 150 of file AliMUONPainterGroup.cxx.

AliMUONVPainter * AliMUONPainterGroup::First ( ) const

Get the first painter in group

Definition at line 163 of file AliMUONPainterGroup.cxx.

Int_t AliMUONPainterGroup::GetLineColor ( ) const

Get line color of this group's painters

Definition at line 175 of file AliMUONPainterGroup.cxx.

Referenced by AliMUONVPainter::UpdateGroupsFrom().

Int_t AliMUONPainterGroup::GetLineWidth ( ) const

Get line width of this group's painters

Definition at line 187 of file AliMUONPainterGroup.cxx.

Referenced by AliMUONVPainter::UpdateGroupsFrom().

Bool_t AliMUONPainterGroup::IsOutlined ( ) const
inline

Whether we should outline ourselves.

Definition at line 61 of file AliMUONPainterGroup.h.

Referenced by Print(), AliMUONVPainter::UpdateGroupsFrom(), and AliMUONPainterMatrixFrame::UpdateInterface().

Bool_t AliMUONPainterGroup::IsPlotter ( ) const
inline

Whether we are the plotting group.

Definition at line 64 of file AliMUONPainterGroup.h.

Referenced by Print().

Bool_t AliMUONPainterGroup::IsResponder ( ) const
inline

Whether we are the responder group.

Definition at line 67 of file AliMUONPainterGroup.h.

Referenced by AliMUONVPainter::GetPainter(), AliMUONVPainter::IsResponder(), and Print().

Bool_t AliMUONPainterGroup::IsSortable ( ) const
inline

We are sortable (by type)

Definition at line 56 of file AliMUONPainterGroup.h.

Bool_t AliMUONPainterGroup::IsVisible ( ) const
inline

Whether we are visible.

Definition at line 70 of file AliMUONPainterGroup.h.

Referenced by Print(), and AliMUONVPainter::UpdateGroupsFrom().

Bool_t AliMUONPainterGroup::Matches ( const char *  pattern) const
AliMUONPainterGroup& AliMUONPainterGroup::operator= ( const AliMUONPainterGroup rhs)
private

Not implemented.

void AliMUONPainterGroup::Print ( Option_t *  opt = "") const

Printout

Definition at line 213 of file AliMUONPainterGroup.cxx.

Referenced by AliMUONVPainter::Print().

void AliMUONPainterGroup::SetData ( AliMUONVTrackerData data,
Int_t  dataIndex 
)

Set the data to be plotted

Definition at line 254 of file AliMUONPainterGroup.cxx.

Referenced by AliMUONVPainter::SetData().

void AliMUONPainterGroup::SetDataRange ( Double_t  min,
Double_t  max 
)
inline

Set the data range.

Definition at line 79 of file AliMUONPainterGroup.h.

Referenced by AliMUONPainterMatrix::SetDataRange(), and AliMUONVPainter::UpdateGroupsFrom().

void AliMUONPainterGroup::SetLine ( Int_t  lineColor,
Int_t  lineWidth 
)

Set our outline attributes

Definition at line 265 of file AliMUONPainterGroup.cxx.

Referenced by AliMUONVPainter::SetLine().

void AliMUONPainterGroup::SetOutlined ( Bool_t  flag = kTRUE)
inline

Set the outlined flag.

Definition at line 89 of file AliMUONPainterGroup.h.

Referenced by AliMUONVPainter::SetOutlined().

void AliMUONPainterGroup::SetResponder ( Bool_t  flag = kTRUE)
inline

Set the responder flag.

Definition at line 92 of file AliMUONPainterGroup.h.

Referenced by AliMUONDEPainter::SetResponder(), and AliMUONVPainter::SetResponder().

void AliMUONPainterGroup::SetVisible ( Bool_t  flag = kTRUE)
inline

Set the visible flag.

Definition at line 95 of file AliMUONPainterGroup.h.

Referenced by AliMUONVPainter::SetVisible().

Member Data Documentation

AliMUONVTrackerData* AliMUONPainterGroup::fData
private

the data we plot (can be 0x0)

Definition at line 110 of file AliMUONPainterGroup.h.

Referenced by ComputeDataRange(), Data(), IsPlotter(), Print(), and SetData().

Int_t AliMUONPainterGroup::fDataIndex
private

the index of the data to plot (can be -1 if data=0x0)

Definition at line 111 of file AliMUONPainterGroup.h.

Referenced by ComputeDataRange(), DataIndex(), IsPlotter(), Print(), and SetData().

Double_t AliMUONPainterGroup::fDataMax
private

max data

Definition at line 113 of file AliMUONPainterGroup.h.

Referenced by DataMax(), SetData(), and SetDataRange().

Double_t AliMUONPainterGroup::fDataMin
private

min data

Definition at line 112 of file AliMUONPainterGroup.h.

Referenced by DataMin(), SetData(), and SetDataRange().

Int_t AliMUONPainterGroup::fDepth
private

depth in the hierarchy of painters

Definition at line 115 of file AliMUONPainterGroup.h.

Referenced by Add(), AliMUONPainterGroup(), Depth(), and Print().

Bool_t AliMUONPainterGroup::fIsOutlined
private

whether we should be outlined

Definition at line 116 of file AliMUONPainterGroup.h.

Referenced by IsOutlined(), and SetOutlined().

Bool_t AliMUONPainterGroup::fIsResponder
private

whether we are responding to mouse events

Definition at line 108 of file AliMUONPainterGroup.h.

Referenced by IsResponder(), and SetResponder().

Bool_t AliMUONPainterGroup::fIsVisible
private

whether we are visible

Definition at line 109 of file AliMUONPainterGroup.h.

Referenced by IsVisible(), and SetVisible().

TObjArray* AliMUONPainterGroup::fPainters
private

painters of this group

Definition at line 114 of file AliMUONPainterGroup.h.

Referenced by Add(), ComputeDataRange(), Draw(), First(), GetLineColor(), GetLineWidth(), Print(), SetLine(), and ~AliMUONPainterGroup().

TString AliMUONPainterGroup::fType
private

type of this group (e.g. PADS, MANU, PCB, etc...)

Definition at line 107 of file AliMUONPainterGroup.h.

Referenced by Add(), AliMUONPainterGroup(), Compare(), Matches(), Print(), and Type().


The documentation for this class was generated from the following files: