ATLAS Offline Software
Trigger
TrigT1
L1CaloFEX
L1CaloFEXByteStream
src
defsL1Calo
src
CrateDefs.cxx
Go to the documentation of this file.
1
//==============================================================================
2
// CrateDefs.cxx
3
//==============================================================================
4
5
#include <stdlib.h>
6
7
#include "
defsL1Calo/CrateDefs.h
"
8
15
//==============================================================================
16
// getSystemName
17
//==============================================================================
23
unsigned
int
24
CrateDefs::atcaLogicalSlot
(
int
physicalSlot)
25
{
26
if
(physicalSlot <= 7) {
27
return
1 + (7 - physicalSlot) * 2;
28
}
29
else
{
30
return
1 + (physicalSlot - 8) * 2;
31
}
32
}
CrateDefs.h
CrateDefs::atcaLogicalSlot
static unsigned int atcaLogicalSlot(int physicalSlot)
Return the ATCA logical slot corresponding to a physical slot.
Definition:
CrateDefs.cxx:24
Generated on Tue Dec 24 2024 21:08:46 for ATLAS Offline Software by
1.8.18