AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONCheckItem Class Reference

A structure used to gather information at different levels (ch,manu,de,chamber) More...

#include <AliMUONCheckItem.h>

Inheritance diagram for AliMUONCheckItem:

Public Member Functions

 AliMUONCheckItem (Int_t id, Int_t maxNumber, const char *name)
 
virtual ~AliMUONCheckItem ()
 
Int_t GetID () const
 Return the identifier of this item. More...
 
TObject * GetItem (Int_t id) const
 
Bool_t AddItem (Int_t id, TObject *item)
 
Bool_t IsFull () const
 
Bool_t IsDead () const
 
void Print (Option_t *opt="") const
 
TIterator * CreateIterator () const
 

Private Member Functions

 AliMUONCheckItem (const AliMUONCheckItem &)
 Not implemented. More...
 
AliMUONCheckItemoperator= (const AliMUONCheckItem &)
 Not implemented. More...
 
void ComputeDead () const
 

Private Attributes

Int_t fID
 ! identifier of this item More...
 
Int_t fDead
 ! whether this object is completely dead More...
 
Int_t fMaximum
 ! maximum number of sub-items possible within this item More...
 
AliMpExMapfMissing
 ! pointers to the sub-items More...
 

Detailed Description

A structure used to gather information at different levels (ch,manu,de,chamber)

A structure used to gather information at different levels (ch,manu,de,chamber)

Used by AliMUON2DStoreValidator to present results in a concise way

Author
Laurent Aphecetche

Definition at line 22 of file AliMUONCheckItem.h.

Constructor & Destructor Documentation

AliMUONCheckItem::AliMUONCheckItem ( Int_t  id,
Int_t  maxNumber,
const char *  name 
)

ctor. id is the number of that item, maxNumber is the maximum number of sub-item it can contains, and name is a label, e.g. de, chamber, manu. Note that name="manu" has a special influence on the IsDead() method.

Definition at line 43 of file AliMUONCheckItem.cxx.

AliMUONCheckItem::~AliMUONCheckItem ( )
virtual

dtor

Definition at line 59 of file AliMUONCheckItem.cxx.

AliMUONCheckItem::AliMUONCheckItem ( const AliMUONCheckItem )
private

Not implemented.

Member Function Documentation

Bool_t AliMUONCheckItem::AddItem ( Int_t  id,
TObject *  item 
)
void AliMUONCheckItem::ComputeDead ( ) const
private

Decide whether this item is completely dead, which is determined by the fact that all its sub-items are dead, or for name="manu", by the fact that all channels are missing, i.e. IsFull()==kTRUE

Definition at line 92 of file AliMUONCheckItem.cxx.

Referenced by IsDead().

TIterator * AliMUONCheckItem::CreateIterator ( ) const
Int_t AliMUONCheckItem::GetID ( ) const
inline

Return the identifier of this item.

Definition at line 30 of file AliMUONCheckItem.h.

Referenced by AliMUON2DStoreValidator::ReportChamber(), and AliMUON2DStoreValidator::ReportDE().

TObject * AliMUONCheckItem::GetItem ( Int_t  id) const

Return item of a given id

Definition at line 136 of file AliMUONCheckItem.cxx.

Referenced by AddItem(), AliMUON2DStoreValidator::GetDE(), and AliMUON2DStoreValidator::GetManu().

Bool_t AliMUONCheckItem::IsDead ( ) const

Return (and compute it first if not done already) dead status

Definition at line 144 of file AliMUONCheckItem.cxx.

Referenced by ComputeDead(), Print(), AliMUON2DStoreValidator::Report(), AliMUON2DStoreValidator::ReportChamber(), and AliMUON2DStoreValidator::ReportDE().

Bool_t AliMUONCheckItem::IsFull ( ) const

Whether we have as many sub-items as possible

Definition at line 156 of file AliMUONCheckItem.cxx.

Referenced by AddItem(), and ComputeDead().

AliMUONCheckItem& AliMUONCheckItem::operator= ( const AliMUONCheckItem )
private

Not implemented.

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

output to screen

Definition at line 164 of file AliMUONCheckItem.cxx.

Member Data Documentation

Int_t AliMUONCheckItem::fDead
mutableprivate

! whether this object is completely dead

Definition at line 52 of file AliMUONCheckItem.h.

Referenced by AddItem(), ComputeDead(), and IsDead().

Int_t AliMUONCheckItem::fID
private

! identifier of this item

Definition at line 51 of file AliMUONCheckItem.h.

Referenced by GetID(), and Print().

Int_t AliMUONCheckItem::fMaximum
private

! maximum number of sub-items possible within this item

Definition at line 53 of file AliMUONCheckItem.h.

Referenced by ComputeDead(), IsFull(), and Print().

AliMpExMap* AliMUONCheckItem::fMissing
private

! pointers to the sub-items

Definition at line 54 of file AliMUONCheckItem.h.

Referenced by AddItem(), CreateIterator(), GetItem(), IsFull(), Print(), and ~AliMUONCheckItem().


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