AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpFrtCrocusConstants Class Reference

The class defines the properties of CROCUS FRT. More...

#include <AliMpFrtCrocusConstants.h>

Inheritance diagram for AliMpFrtCrocusConstants:

Public Member Functions

 AliMpFrtCrocusConstants ()
 
virtual ~AliMpFrtCrocusConstants ()
 

Static Public Member Functions

static Int_t GetGlobalFrtID (Int_t localID, Int_t ddlID)
 
static Int_t GetLocalFrtID (Int_t globalID, Int_t ddlID)
 
static Int_t GetNofDsps ()
 
static Int_t GetNofBusPatches ()
 
static MpPair_t GetLinkPortId (Int_t index)
 
static UInt_t GetTopAddress (Int_t id)
 
static Int_t GetIdFromTopAddress (UInt_t add)
 
static UInt_t GetBotAddress (Int_t id)
 
static Int_t GetIdFromBotAddress (UInt_t add)
 

Private Member Functions

 AliMpFrtCrocusConstants (const AliMpFrtCrocusConstants &rhs)
 Not implemented. More...
 
AliMpFrtCrocusConstantsoperator= (const AliMpFrtCrocusConstants &rhs)
 Not implemented. More...
 

Static Private Attributes

static const Int_t fgkOffset = 5
 Offset for conversion global/local ID. More...
 
static const Int_t fgkLinkPorts [10] = {0, 1, 2, 3, 5, 0, 1, 2, 3, 5}
 Link port Ids connected to this crocus. More...
 
static const Int_t fgkNofDsps = 2
 Number of Dsps connected to this crocus. More...
 
static const Int_t fgkNofBusPatches = 10
 Number of Dsps connected to this crocus. More...
 
static const UInt_t fgkBaseAddress = 0x00040000
 VME base address for FRT crocus. More...
 
static const UInt_t fgkAddressOffset = 0x00010000
 VME address offset for FRT crocus. More...
 

Detailed Description

The class defines the properties of CROCUS FRT.

Author
Ch. Finck, Subatech Nantes

Definition at line 21 of file AliMpFrtCrocusConstants.h.

Constructor & Destructor Documentation

AliMpFrtCrocusConstants::AliMpFrtCrocusConstants ( )

Standard constructor

Definition at line 57 of file AliMpFrtCrocusConstants.cxx.

AliMpFrtCrocusConstants::~AliMpFrtCrocusConstants ( )
virtual

Destructor

Definition at line 65 of file AliMpFrtCrocusConstants.cxx.

AliMpFrtCrocusConstants::AliMpFrtCrocusConstants ( const AliMpFrtCrocusConstants rhs)
private

Not implemented.

Member Function Documentation

UInt_t AliMpFrtCrocusConstants::GetBotAddress ( Int_t  id)
static

return WME bottom address

Definition at line 96 of file AliMpFrtCrocusConstants.cxx.

Int_t AliMpFrtCrocusConstants::GetGlobalFrtID ( Int_t  localID,
Int_t  ddlID 
)
static

return global bus id from local frt and ddl id

Definition at line 40 of file AliMpFrtCrocusConstants.cxx.

Int_t AliMpFrtCrocusConstants::GetIdFromBotAddress ( UInt_t  add)
static

return id from WME bottom address

Definition at line 107 of file AliMpFrtCrocusConstants.cxx.

Int_t AliMpFrtCrocusConstants::GetIdFromTopAddress ( UInt_t  add)
static

return id from WME top address

Definition at line 86 of file AliMpFrtCrocusConstants.cxx.

MpPair_t AliMpFrtCrocusConstants::GetLinkPortId ( Int_t  index)
static

Return the linkPort/dspId by index

Definition at line 117 of file AliMpFrtCrocusConstants.cxx.

Referenced by AliMpDDLStore::GetLinkPortId().

Int_t AliMpFrtCrocusConstants::GetLocalFrtID ( Int_t  globalID,
Int_t  ddlID 
)
static

return local bus id from local frt id

Definition at line 48 of file AliMpFrtCrocusConstants.cxx.

Int_t AliMpFrtCrocusConstants::GetNofBusPatches ( )
static

Return the number of BusPatches connected to this FRT

Definition at line 142 of file AliMpFrtCrocusConstants.cxx.

Referenced by AliMpDDLStore::GetLinkPortId().

Int_t AliMpFrtCrocusConstants::GetNofDsps ( )
static

Return the number of DSPs connected to this FRT

Definition at line 134 of file AliMpFrtCrocusConstants.cxx.

UInt_t AliMpFrtCrocusConstants::GetTopAddress ( Int_t  id)
static

return WME top address

Definition at line 75 of file AliMpFrtCrocusConstants.cxx.

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

Not implemented.

Member Data Documentation

const UInt_t AliMpFrtCrocusConstants::fgkAddressOffset = 0x00010000
staticprivate

VME address offset for FRT crocus.

Definition at line 57 of file AliMpFrtCrocusConstants.h.

Referenced by GetBotAddress(), GetIdFromBotAddress(), GetIdFromTopAddress(), and GetTopAddress().

const UInt_t AliMpFrtCrocusConstants::fgkBaseAddress = 0x00040000
staticprivate

VME base address for FRT crocus.

Definition at line 56 of file AliMpFrtCrocusConstants.h.

Referenced by GetBotAddress(), GetIdFromBotAddress(), GetIdFromTopAddress(), and GetTopAddress().

const Int_t AliMpFrtCrocusConstants::fgkLinkPorts = {0, 1, 2, 3, 5, 0, 1, 2, 3, 5}
staticprivate

Link port Ids connected to this crocus.

Definition at line 53 of file AliMpFrtCrocusConstants.h.

Referenced by GetLinkPortId().

const Int_t AliMpFrtCrocusConstants::fgkNofBusPatches = 10
staticprivate

Number of Dsps connected to this crocus.

Definition at line 55 of file AliMpFrtCrocusConstants.h.

Referenced by GetLinkPortId(), and GetNofBusPatches().

const Int_t AliMpFrtCrocusConstants::fgkNofDsps = 2
staticprivate

Number of Dsps connected to this crocus.

Definition at line 54 of file AliMpFrtCrocusConstants.h.

Referenced by GetNofDsps().

const Int_t AliMpFrtCrocusConstants::fgkOffset = 5
staticprivate

Offset for conversion global/local ID.

Definition at line 52 of file AliMpFrtCrocusConstants.h.

Referenced by GetBotAddress(), GetGlobalFrtID(), GetLinkPortId(), GetLocalFrtID(), and GetTopAddress().


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