CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
34 
35 public:
36  static const unsigned int NumberPhysTriggers = 128;
37  static const unsigned int NumberPhysTriggersExtended = 64; // in addition to 128
38  static const unsigned int NumberTechnicalTriggers = 64;
39 
40  static const unsigned int NumberL1Muons = 4;
41 
42  static const unsigned int NumberL1Electrons = 4;
43  static const unsigned int NumberL1IsolatedElectrons = 4;
44 
45  static const unsigned int NumberL1CentralJets = 4;
46  static const unsigned int NumberL1ForwardJets = 4;
47  static const unsigned int NumberL1TauJets = 4;
48 
49  static const unsigned int NumberL1JetCounts = 12;
50 
51 public:
53  static const int WordLength = 64;
54 
56  static const int UnitLength = 8;
57 
58 public:
59  // muons are represented as 32 bits (actually 26 bits)
60  static const unsigned int NumberMuonBits = 32;
61  static const unsigned int MuonEtaBits = 6; // MSB: sign (0+/1-), 5 bits: value
62 
63  // e-gamma, jet objects have 16 bits
64  static const unsigned int NumberCaloBits = 16;
65  static const unsigned int CaloEtaBits = 4; // MSB: sign (0+/1-), 3 bits: value
66 
67  // missing Et has 32 bits
68  static const unsigned int NumberMissingEtBits = 32;
69 
70  // twelve jet counts, encoded in five bits per count; six jets per 32-bit word
71  // code jet count = 31 indicate overflow condition
72  static const unsigned int NumberJetCountsBits = 32;
73  static const unsigned int NumberJetCountsWords = 2;
74  static const unsigned int NumberCountBits = 5;
75 
77  static const int NumberPsbBoards = 7;
78 };
79 
80 #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