ATLAS Offline Software
Loading...
Searching...
No Matches
CrateDefs.cxx
Go to the documentation of this file.
1//==============================================================================
2// CrateDefs.cxx
3//==============================================================================
4
5#include <stdlib.h>
6
8
14
15//==============================================================================
16// getSystemName
17//==============================================================================
23unsigned int
25{
26 if (physicalSlot <= 7) {
27 return 1 + (7 - physicalSlot) * 2;
28 }
29 else {
30 return 1 + (physicalSlot - 8) * 2;
31 }
32}
static unsigned int atcaLogicalSlot(int physicalSlot)
Return the ATCA logical slot corresponding to a physical slot.
Definition CrateDefs.cxx:24