CMS 3D CMS Logo

L1GlobalTriggerReadoutSetup.h
Go to the documentation of this file.
1 #ifndef L1GlobalTrigger_L1GlobalTriggerReadoutSetup_h
2 #define L1GlobalTrigger_L1GlobalTriggerReadoutSetup_h
3 
18 // system include files
19 #include <string>
20 #include <vector>
21 #include <map>
22 
23 // user include files
26 
27 // forward declarations
28 
29 // class declaration
31 {
32 
33 public:
36 
37 public:
38 
39  static const unsigned int NumberPhysTriggers = 128;
40  static const unsigned int NumberPhysTriggersExtended = 64; // in addition to 128
41  static const unsigned int NumberTechnicalTriggers = 64;
42 
43  static const unsigned int NumberL1Muons = 4;
44 
45  static const unsigned int NumberL1Electrons = 4;
46  static const unsigned int NumberL1IsolatedElectrons = 4;
47 
48  static const unsigned int NumberL1CentralJets = 4;
49  static const unsigned int NumberL1ForwardJets = 4;
50  static const unsigned int NumberL1TauJets = 4;
51 
52  static const unsigned int NumberL1JetCounts = 12;
53 
54 public:
55 
57  static const int WordLength = 64;
58 
60  static const int UnitLength = 8;
61 
62 
63 
64 public:
65 
66  // muons are represented as 32 bits (actually 26 bits)
67  static const unsigned int NumberMuonBits = 32;
68  static const unsigned int MuonEtaBits = 6; // MSB: sign (0+/1-), 5 bits: value
69 
70  // e-gamma, jet objects have 16 bits
71  static const unsigned int NumberCaloBits = 16;
72  static const unsigned int CaloEtaBits = 4; // MSB: sign (0+/1-), 3 bits: value
73 
74  // missing Et has 32 bits
75  static const unsigned int NumberMissingEtBits = 32;
76 
77  // twelve jet counts, encoded in five bits per count; six jets per 32-bit word
78  // code jet count = 31 indicate overflow condition
79  static const unsigned int NumberJetCountsBits = 32;
80  static const unsigned int NumberJetCountsWords = 2;
81  static const unsigned int NumberCountBits = 5;
82 
84  static const int NumberPsbBoards = 7;
85 
86 };
87 
88 #endif /*L1GlobalTrigger_L1GlobalTriggerReadoutSetup_h*/
static const unsigned int NumberL1Muons
static const unsigned int NumberJetCountsWords
static const unsigned int NumberCaloBits
static const unsigned int NumberL1JetCounts
static const unsigned int CaloEtaBits
static const unsigned int NumberL1IsolatedElectrons
static const unsigned int NumberTechnicalTriggers
static const int UnitLength
one unit in the word is UnitLength bits
static const unsigned int NumberL1CentralJets
static const int NumberPsbBoards
number of PSB boards in GT
static const int WordLength
GT DAQ record organized in words of WordLength bits.
static const unsigned int NumberPhysTriggersExtended
static const unsigned int NumberMissingEtBits
static const unsigned int NumberPhysTriggers
static const unsigned int MuonEtaBits
static const unsigned int NumberL1ForwardJets
static const unsigned int NumberL1Electrons
static const unsigned int NumberL1TauJets
static const unsigned int NumberMuonBits
static const unsigned int NumberCountBits
static const unsigned int NumberJetCountsBits