ATLAS Offline Software
CTPInputConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
2 
3 from collections import OrderedDict as odict
4 
5 from AthenaCommon.Logging import logging
6 log = logging.getLogger(__name__)
7 
9  """
10  Defines the cabling of the CTP input
11  https://twiki.cern.ch/twiki/bin/view/Atlas/LevelOneCentralTriggerSetup#CTP_inputs
12  """
13 
14  @staticmethod
16  inputLayout = odict()
17  inputLayout["optical"] = odict([
18  ( "connector0", "MuCTPiOpt0" ),
19  ( "connector1", "Topo1Opt0" ),
20  ( "connector2", "Topo1Opt1" ),
21  ( "connector3", "Topo1Opt2" ),
22  ( "connector4", "Topo1Opt3" )
23  ])
24  inputLayout["electrical"] = odict([
25  ( "connector0", "Topo3El" ),
26  ( "connector1", "LegacyTopoMerged" ),
27  ( "connector2", "Topo2El" ),
28  ])
29  inputLayout["ctpin"] = odict()
30  inputLayout["ctpin"]["slot7"] = odict([
31  ( "connector0", "EM1" ),
32  ( "connector1", "EM2" ),
33  ( "connector2", "TAU1" ),
34  ( "connector3", "TAU2" )
35  ])
36  inputLayout["ctpin"]["slot8"] = odict([
37  ( "connector0", "JET1" ),
38  ( "connector1", "JET2" ),
39  ( "connector2", "EN1" ),
40  ( "connector3", "EN2" )
41  ])
42  inputLayout["ctpin"]["slot9"] = odict([
43  ( "connector0", "" ),
44  ( "connector1", "CTPCAL" ),
45  ( "connector2", "NIM1" ),
46  ( "connector3", "NIM2" )
47  ])
48  return inputLayout
python.L1.Config.CTPInputConfig.CTPInputConfig
Definition: CTPInputConfig.py:8
python.L1.Config.CTPInputConfig.CTPInputConfig.cablingLayout
def cablingLayout()
Definition: CTPInputConfig.py:15