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

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

#include <AliMpTriggerCrate.h>

Inheritance diagram for AliMpTriggerCrate:

Public Member Functions

 AliMpTriggerCrate (const Char_t *name, UShort_t Id)
 
 AliMpTriggerCrate (TRootIOCtor *)
 
virtual ~AliMpTriggerCrate ()
 
Bool_t AddLocalBoard (Int_t localBoardId)
 
Int_t GetDdlId () const
 get methods More...
 
UShort_t GetId () const
 Return Id. More...
 
Int_t GetNofLocalBoards () const
 
Int_t GetLocalBoardId (Int_t index) const
 
Bool_t HasLocalBoard (Int_t localBoardId) const
 
void SetDdlId (Int_t ddl)
 set methods More...
 

Static Public Member Functions

static TString GenerateName (Int_t crateId, Int_t ddlId, Int_t nodDdls)
 

Private Member Functions

 AliMpTriggerCrate ()
 Not implemented. More...
 
 AliMpTriggerCrate (const AliMpTriggerCrate &rhs)
 Not implemented. More...
 
AliMpTriggerCrateoperator= (const AliMpTriggerCrate &rhs)
 Not implemented. More...
 

Private Attributes

UShort_t fId
 crate number More...
 
Int_t fDdlId
 DDL to which this bus patch is connected. More...
 
AliMpArrayI fLocalBoard
 local board connected to this crate More...
 

Detailed Description

The class defines the properties of trigger crate.

Author
Ch. Finck, Subatech Nantes

Definition at line 20 of file AliMpTriggerCrate.h.

Constructor & Destructor Documentation

AliMpTriggerCrate::AliMpTriggerCrate ( const Char_t *  name,
UShort_t  Id 
)

Standard constructor

Definition at line 66 of file AliMpTriggerCrate.cxx.

AliMpTriggerCrate::AliMpTriggerCrate ( TRootIOCtor *  )

Root IO constructor

Definition at line 77 of file AliMpTriggerCrate.cxx.

AliMpTriggerCrate::~AliMpTriggerCrate ( )
virtual

Destructor

Definition at line 87 of file AliMpTriggerCrate.cxx.

AliMpTriggerCrate::AliMpTriggerCrate ( )
private

Not implemented.

AliMpTriggerCrate::AliMpTriggerCrate ( const AliMpTriggerCrate rhs)
private

Not implemented.

Member Function Documentation

Bool_t AliMpTriggerCrate::AddLocalBoard ( Int_t  localBoardId)

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

Definition at line 97 of file AliMpTriggerCrate.cxx.

Referenced by AliMUONTriggerCrateConfig::AddLocalBoard(), and AliMpRegionalTrigger::ReadData().

TString AliMpTriggerCrate::GenerateName ( Int_t  crateId,
Int_t  ddlId,
Int_t  nodDdls 
)
static
Int_t AliMpTriggerCrate::GetDdlId ( ) const
inline

get methods

Return the Ddl Id.

Definition at line 62 of file AliMpTriggerCrate.h.

UShort_t AliMpTriggerCrate::GetId ( ) const
inline
Int_t AliMpTriggerCrate::GetNofLocalBoards ( ) const
Bool_t AliMpTriggerCrate::HasLocalBoard ( Int_t  localBoardId) const

Return true if crate has local boardwith given localBoardId

Definition at line 134 of file AliMpTriggerCrate.cxx.

Referenced by AddLocalBoard(), and AliMUONTriggerCrateConfig::HasLocalBoard().

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

Not implemented.

void AliMpTriggerCrate::SetDdlId ( Int_t  ddl)
inline

set methods

Definition at line 40 of file AliMpTriggerCrate.h.

Member Data Documentation

Int_t AliMpTriggerCrate::fDdlId
private

DDL to which this bus patch is connected.

Definition at line 52 of file AliMpTriggerCrate.h.

Referenced by GetDdlId(), and SetDdlId().

UShort_t AliMpTriggerCrate::fId
private

crate number

Definition at line 51 of file AliMpTriggerCrate.h.

Referenced by GetId().

AliMpArrayI AliMpTriggerCrate::fLocalBoard
private

local board connected to this crate

Definition at line 53 of file AliMpTriggerCrate.h.

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


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