AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerCrateConfig Class Reference

The class defines the configuration of trigger crate. More...

#include <AliMUONTriggerCrateConfig.h>

Inheritance diagram for AliMUONTriggerCrateConfig:

Public Member Functions

 AliMUONTriggerCrateConfig (AliMpTriggerCrate *mpTriggerCrate)
 
 AliMUONTriggerCrateConfig (TRootIOCtor *ioCtor)
 
virtual ~AliMUONTriggerCrateConfig ()
 
void SetMask (UShort_t mask)
 Set regional mask. More...
 
void SetMode (UShort_t mode)
 Set mode operating for crate. More...
 
void SetCoinc (UShort_t coinc)
 Set coincidence mode for crate. More...
 
const Char_t * GetName () const
 Return name. More...
 
UShort_t GetId () const
 Return Id. More...
 
UShort_t GetMask () const
 Return mask. More...
 
UShort_t GetMode () const
 Return Mode. More...
 
UShort_t GetCoinc () const
 Return coinc. More...
 
Int_t GetNofLocalBoards () const
 
Int_t GetLocalBoardId (Int_t index) const
 
Bool_t HasLocalBoard (Int_t localBoardId) const
 
Bool_t AddLocalBoard (Int_t localBoardId)
 
Int_t GetNofLocalBoardsOld () const
 
Int_t GetLocalBoardIdOld (Int_t index) const
 

Private Member Functions

 AliMUONTriggerCrateConfig ()
 Not implemented. More...
 
 AliMUONTriggerCrateConfig (const AliMUONTriggerCrateConfig &rhs)
 Not implemented. More...
 
AliMUONTriggerCrateConfigoperator= (const AliMUONTriggerCrateConfig &rhs)
 Not implemented. More...
 

Private Attributes

AliMpTriggerCratefMpCrate
 mapping crate More...
 
UShort_t fMask
 regional mask More...
 
UShort_t fMode
 mode operating for crate More...
 
UShort_t fCoinc
 coincidence mode for crate More...
 
UShort_t fId
 crate number More...
 
AliMpArrayI fLocalBoard
 local board connected to this crate More...
 

Detailed Description

The class defines the configuration of trigger crate.

Author
Ch. Finck, Subatech Nantes

Definition at line 22 of file AliMUONTriggerCrateConfig.h.

Constructor & Destructor Documentation

AliMUONTriggerCrateConfig::AliMUONTriggerCrateConfig ( AliMpTriggerCrate mpTriggerCrate)

Standard constructor for Shuttle + DA

Definition at line 37 of file AliMUONTriggerCrateConfig.cxx.

AliMUONTriggerCrateConfig::AliMUONTriggerCrateConfig ( TRootIOCtor *  ioCtor)

Standard constructor for Shuttle + DA

Definition at line 58 of file AliMUONTriggerCrateConfig.cxx.

AliMUONTriggerCrateConfig::~AliMUONTriggerCrateConfig ( )
virtual

Destructor

Definition at line 72 of file AliMUONTriggerCrateConfig.cxx.

AliMUONTriggerCrateConfig::AliMUONTriggerCrateConfig ( )
private

Not implemented.

AliMUONTriggerCrateConfig::AliMUONTriggerCrateConfig ( const AliMUONTriggerCrateConfig rhs)
private

Not implemented.

Member Function Documentation

Bool_t AliMUONTriggerCrateConfig::AddLocalBoard ( Int_t  localBoardId)

Add local boards with given detElemId. Return true if the local board was added

Definition at line 82 of file AliMUONTriggerCrateConfig.cxx.

UShort_t AliMUONTriggerCrateConfig::GetCoinc ( ) const
inline

Return coinc.

Definition at line 102 of file AliMUONTriggerCrateConfig.h.

Referenced by AliMUONTriggerIO::WriteRegionalConfig().

UShort_t AliMUONTriggerCrateConfig::GetId ( ) const
inline

Return Id.

Definition at line 90 of file AliMUONTriggerCrateConfig.h.

Referenced by AliMUONTriggerCrateConfig().

Int_t AliMUONTriggerCrateConfig::GetLocalBoardId ( Int_t  index) const

Return the local board by index (in loop)

Definition at line 101 of file AliMUONTriggerCrateConfig.cxx.

Int_t AliMUONTriggerCrateConfig::GetLocalBoardIdOld ( Int_t  index) const

Return the local board by index (in loop)from the old data member. Only for OCDB backward compatibility checking.

Definition at line 126 of file AliMUONTriggerCrateConfig.cxx.

UShort_t AliMUONTriggerCrateConfig::GetMask ( ) const
inline
UShort_t AliMUONTriggerCrateConfig::GetMode ( ) const
inline

Return Mode.

Definition at line 98 of file AliMUONTriggerCrateConfig.h.

Referenced by AliMUONTriggerIO::WriteRegionalConfig().

const Char_t * AliMUONTriggerCrateConfig::GetName ( ) const
inline

Return name.

Definition at line 86 of file AliMUONTriggerCrateConfig.h.

Int_t AliMUONTriggerCrateConfig::GetNofLocalBoards ( ) const

Return the number of local board in this crate

Definition at line 93 of file AliMUONTriggerCrateConfig.cxx.

Int_t AliMUONTriggerCrateConfig::GetNofLocalBoardsOld ( ) const

Return the number of local board in this crate from the old data member. Only for OCDB backward compatibility checking.

Definition at line 118 of file AliMUONTriggerCrateConfig.cxx.

Bool_t AliMUONTriggerCrateConfig::HasLocalBoard ( Int_t  localBoardId) const

Return true if crate has local boardwith given localBoardId

Definition at line 109 of file AliMUONTriggerCrateConfig.cxx.

AliMUONTriggerCrateConfig& AliMUONTriggerCrateConfig::operator= ( const AliMUONTriggerCrateConfig rhs)
private

Not implemented.

void AliMUONTriggerCrateConfig::SetCoinc ( UShort_t  coinc)
inline

Set coincidence mode for crate.

Definition at line 82 of file AliMUONTriggerCrateConfig.h.

Referenced by AliMUONRegionalTriggerConfig::ReadData().

void AliMUONTriggerCrateConfig::SetMask ( UShort_t  mask)
inline

Set regional mask.

Definition at line 74 of file AliMUONTriggerCrateConfig.h.

Referenced by AliMUONRegionalTriggerConfig::ReadData().

void AliMUONTriggerCrateConfig::SetMode ( UShort_t  mode)
inline

Set mode operating for crate.

Definition at line 78 of file AliMUONTriggerCrateConfig.h.

Referenced by AliMUONRegionalTriggerConfig::ReadData().

Member Data Documentation

UShort_t AliMUONTriggerCrateConfig::fCoinc
private

coincidence mode for crate

Definition at line 62 of file AliMUONTriggerCrateConfig.h.

Referenced by GetCoinc(), and SetCoinc().

UShort_t AliMUONTriggerCrateConfig::fId
private

crate number

Definition at line 65 of file AliMUONTriggerCrateConfig.h.

AliMpArrayI AliMUONTriggerCrateConfig::fLocalBoard
private

local board connected to this crate

Definition at line 66 of file AliMUONTriggerCrateConfig.h.

Referenced by AddLocalBoard(), GetLocalBoardIdOld(), and GetNofLocalBoardsOld().

UShort_t AliMUONTriggerCrateConfig::fMask
private

regional mask

Definition at line 60 of file AliMUONTriggerCrateConfig.h.

Referenced by GetMask(), and SetMask().

UShort_t AliMUONTriggerCrateConfig::fMode
private

mode operating for crate

Definition at line 61 of file AliMUONTriggerCrateConfig.h.

Referenced by GetMode(), and SetMode().

AliMpTriggerCrate* AliMUONTriggerCrateConfig::fMpCrate
private

mapping crate

Definition at line 59 of file AliMUONTriggerCrateConfig.h.

Referenced by AddLocalBoard(), GetId(), GetLocalBoardId(), GetName(), GetNofLocalBoards(), and HasLocalBoard().


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