AliRoot Core  edcc906 (edcc906)
AliMpRegionalTrigger Class Reference

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

#include <AliMpRegionalTrigger.h>

Inheritance diagram for AliMpRegionalTrigger:

Public Member Functions

 AliMpRegionalTrigger ()
 
 AliMpRegionalTrigger (const AliMpRegionalTrigger &rhs)
 
 AliMpRegionalTrigger (TRootIOCtor *ioCtor)
 
virtual ~AliMpRegionalTrigger ()
 
AliMpRegionalTriggeroperator= (const AliMpRegionalTrigger &rhs)
 
Bool_t ReadData (const TString &fileName)
 
Bool_t ReadData (const AliMpDataStreams &dataStreams)
 
AliMpTriggerCrateFindTriggerCrate (TString crateName, Bool_t warn=true) const
 
AliMpLocalBoardFindLocalBoard (Int_t localBoardId, Bool_t warn=true) const
 
TIterator * CreateCrateIterator () const
 
TIterator * CreateLocalBoardIterator () const
 
Int_t LocalBoardId (Int_t index) const
 
Int_t GetNofTriggerCrates () const
 
Int_t GetNofLocalBoards () const
 
void SetTriggerCratesOwner (Bool_t owner)
 

Private Member Functions

Bool_t ReadData (istream &in)
 

Private Attributes

AliMpExMap fTriggerCrates
 map for trigger crates More...
 
AliMpExMap fLocalBoardMap
 map of local boards (owner of boards) More...
 
TObjArray fLocalBoardArray
 array of local boards (not owner of boards, the map is the owner) More...
 

Detailed Description

The class defines the properties of regional trigger crate.

Author
Ch. Finck, Subatech Nantes; I. Hrivnacova, IPN Orsay

Definition at line 28 of file AliMpRegionalTrigger.h.

Constructor & Destructor Documentation

AliMpRegionalTrigger::AliMpRegionalTrigger ( )

Standard constructor

Definition at line 49 of file AliMpRegionalTrigger.cxx.

AliMpRegionalTrigger::AliMpRegionalTrigger ( const AliMpRegionalTrigger rhs)

Copy constructor

Definition at line 62 of file AliMpRegionalTrigger.cxx.

AliMpRegionalTrigger::AliMpRegionalTrigger ( TRootIOCtor *  ioCtor)

Constructor for I0

Definition at line 72 of file AliMpRegionalTrigger.cxx.

AliMpRegionalTrigger::~AliMpRegionalTrigger ( )
virtual

Destructor

Definition at line 100 of file AliMpRegionalTrigger.cxx.

Member Function Documentation

TIterator * AliMpRegionalTrigger::CreateCrateIterator ( ) const

Create iterator over crates

Definition at line 296 of file AliMpRegionalTrigger.cxx.

Referenced by AliMUONRegionalTriggerConfig::ReadData(), and AliMpDDLStore::SetTriggerDDLs().

TIterator * AliMpRegionalTrigger::CreateLocalBoardIterator ( ) const

Create iterator over local boards

Definition at line 305 of file AliMpRegionalTrigger.cxx.

Referenced by AliMpDDLStore::GetLocalBoardId().

AliMpLocalBoard * AliMpRegionalTrigger::FindLocalBoard ( Int_t  localBoardId,
Bool_t  warn = true 
) const

Return local board with given Id

Definition at line 247 of file AliMpRegionalTrigger.cxx.

Referenced by AliMpDDLStore::GetLocalBoard(), AliMpDDLStore::SetTriggerDDLs(), and AliMUONTriggerIO::WriteRegionalConfig().

AliMpTriggerCrate * AliMpRegionalTrigger::FindTriggerCrate ( TString  crateName,
Bool_t  warn = true 
) const

Return trigger crate with given name

Definition at line 263 of file AliMpRegionalTrigger.cxx.

Referenced by AliMpDDLStore::GetTriggerCrate(), AliMUONTriggerIO::LocalBoardId(), and AliMUONTriggerIO::WriteRegionalConfig().

Int_t AliMpRegionalTrigger::GetNofLocalBoards ( ) const

Return number of local boards

Definition at line 287 of file AliMpRegionalTrigger.cxx.

Referenced by AliMUONTriggerIO::NofLocalBoards().

Int_t AliMpRegionalTrigger::GetNofTriggerCrates ( ) const

Return number of trigger crates

Definition at line 279 of file AliMpRegionalTrigger.cxx.

Referenced by AliMUONTriggerIO::WriteRegionalConfig(), and AliMUONRawWriter::WriteTriggerDDL().

Int_t AliMpRegionalTrigger::LocalBoardId ( Int_t  index) const
AliMpRegionalTrigger & AliMpRegionalTrigger::operator= ( const AliMpRegionalTrigger rhs)

Assignment operator

Definition at line 82 of file AliMpRegionalTrigger.cxx.

Bool_t AliMpRegionalTrigger::ReadData ( const TString &  fileName)

Load the Regional trigger from ASCII data files and return its instance

Definition at line 211 of file AliMpRegionalTrigger.cxx.

Referenced by AliMUONRegionalTriggerConfig::ReadData(), ReadData(), AliMUONTriggerIO::ReadRegionalConfig(), and AliMpDDLStore::ReadTrigger().

Bool_t AliMpRegionalTrigger::ReadData ( const AliMpDataStreams dataStreams)

Load the Regional trigger from ASCII data files and return its instance

Definition at line 230 of file AliMpRegionalTrigger.cxx.

Bool_t AliMpRegionalTrigger::ReadData ( istream &  in)
private

Load the Regional trigger from ASCII data files and fill objects. Return false if reading fails

Definition at line 111 of file AliMpRegionalTrigger.cxx.

void AliMpRegionalTrigger::SetTriggerCratesOwner ( Bool_t  owner)

Set ownership to trigger crates

Definition at line 328 of file AliMpRegionalTrigger.cxx.

Referenced by AliMUONRegionalTriggerConfig::ReadData().

Member Data Documentation

TObjArray AliMpRegionalTrigger::fLocalBoardArray
private

array of local boards (not owner of boards, the map is the owner)

Definition at line 67 of file AliMpRegionalTrigger.h.

Referenced by CreateLocalBoardIterator(), GetNofLocalBoards(), LocalBoardId(), operator=(), and ReadData().

AliMpExMap AliMpRegionalTrigger::fLocalBoardMap
private

map of local boards (owner of boards)

Definition at line 66 of file AliMpRegionalTrigger.h.

Referenced by FindLocalBoard(), and ReadData().

AliMpExMap AliMpRegionalTrigger::fTriggerCrates
private

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