AliRoot Core  7e03155 (7e03155)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerCrateStore Class Reference

A container for AliMUONTriggerCrate objects. More...

#include <AliMUONTriggerCrateStore.h>

Inheritance diagram for AliMUONTriggerCrateStore:

Public Member Functions

 AliMUONTriggerCrateStore ()
 
virtual ~AliMUONTriggerCrateStore ()
 
Int_t NumberOfCrates () const
 
AliMUONTriggerCrateCrate (const char *crateName) const
 
AliMUONTriggerCrateCrate (Int_t ddl, Int_t reg) const
 
Int_t NumberOfLocalBoards () const
 
AliMUONLocalTriggerBoardLocalBoard (Int_t boardNumber) const
 
void ReadFromFile (AliMUONCalibrationData *calibData)
 
TIterator * CreateCrateIterator () const
 
TIterator * CreateLocalBoardIterator () const
 

Protected Member Functions

 AliMUONTriggerCrateStore (const AliMUONTriggerCrateStore &rhs)
 Not implemented. More...
 
AliMUONTriggerCrateStoreoperator= (const AliMUONTriggerCrateStore &rhs)
 Not implemented. More...
 

Private Member Functions

void AddCrate (const char *crateName)
 
TString GetCrateName (Int_t ddl, Int_t reg) const
 

Private Attributes

AliMpExMapfCrates
 list of crates More...
 
AliMpExMapfLocalBoards
 local boards (indexed by their number) More...
 

Detailed Description

A container for AliMUONTriggerCrate objects.

A container of trigger crate objects that offers iteration over both the crates themselves and the local boards they contain

Author
Laurent Aphecetche

Definition at line 27 of file AliMUONTriggerCrateStore.h.

Constructor & Destructor Documentation

AliMUONTriggerCrateStore::AliMUONTriggerCrateStore ( )

Default constructor

Definition at line 55 of file AliMUONTriggerCrateStore.cxx.

AliMUONTriggerCrateStore::~AliMUONTriggerCrateStore ( )
virtual

Destructor

Definition at line 64 of file AliMUONTriggerCrateStore.cxx.

AliMUONTriggerCrateStore::AliMUONTriggerCrateStore ( const AliMUONTriggerCrateStore rhs)
protected

Not implemented.

Member Function Documentation

void AliMUONTriggerCrateStore::AddCrate ( const char *  crateName)
private

create and add a crate to our map

Definition at line 73 of file AliMUONTriggerCrateStore.cxx.

Referenced by ReadFromFile().

AliMUONTriggerCrate * AliMUONTriggerCrateStore::Crate ( const char *  crateName) const
AliMUONTriggerCrate * AliMUONTriggerCrateStore::Crate ( Int_t  ddl,
Int_t  reg 
) const

return a crate by name

Definition at line 143 of file AliMUONTriggerCrateStore.cxx.

TIterator * AliMUONTriggerCrateStore::CreateLocalBoardIterator ( ) const

Create iterator over local boards

Definition at line 120 of file AliMUONTriggerCrateStore.cxx.

TString AliMUONTriggerCrateStore::GetCrateName ( Int_t  ddl,
Int_t  reg 
) const
private

set crate name from DDL & reg number

Definition at line 155 of file AliMUONTriggerCrateStore.cxx.

Referenced by Crate().

Int_t AliMUONTriggerCrateStore::NumberOfCrates ( ) const

Number of crates we're holding

Definition at line 187 of file AliMUONTriggerCrateStore.cxx.

Referenced by AliMUONTriggerElectronics::GlobalResponse(), and ReCalcGlobalTrigger().

Int_t AliMUONTriggerCrateStore::NumberOfLocalBoards ( ) const

Number of local boards we're holding

Definition at line 196 of file AliMUONTriggerCrateStore.cxx.

AliMUONTriggerCrateStore& AliMUONTriggerCrateStore::operator= ( const AliMUONTriggerCrateStore rhs)
protected

Not implemented.

void AliMUONTriggerCrateStore::ReadFromFile ( AliMUONCalibrationData calibData)

create crate and local board objects from mapping & calib (Ch.F)

Definition at line 205 of file AliMUONTriggerCrateStore.cxx.

Referenced by AliMUONTriggerElectronics::Factory(), AliMUONTriggerGUI::InitBoards(), and MUONReCalcGlobalTrigger().

Member Data Documentation

AliMpExMap* AliMUONTriggerCrateStore::fCrates
private
AliMpExMap* AliMUONTriggerCrateStore::fLocalBoards
private

local boards (indexed by their number)

Definition at line 58 of file AliMUONTriggerCrateStore.h.

Referenced by CreateLocalBoardIterator(), LocalBoard(), NumberOfLocalBoards(), ReadFromFile(), and ~AliMUONTriggerCrateStore().


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