CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutSetup.h

Go to the documentation of this file.
00001 #ifndef L1GlobalTrigger_L1GlobalTriggerReadoutSetup_h
00002 #define L1GlobalTrigger_L1GlobalTriggerReadoutSetup_h
00003 
00020 // system include files
00021 #include <string>
00022 #include <vector>
00023 #include <map>
00024 
00025 // user include files
00026 #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutSetupFwd.h"
00027 #include "FWCore/Utilities/interface/typedefs.h"
00028 
00029 // forward declarations
00030 
00031 // class declaration
00032 class L1GlobalTriggerReadoutSetup
00033 {
00034 
00035 public:
00036     L1GlobalTriggerReadoutSetup();
00037     virtual ~L1GlobalTriggerReadoutSetup();
00038 
00039 public:
00040 
00041     static const unsigned int NumberPhysTriggers = 128;
00042     static const unsigned int NumberPhysTriggersExtended = 64; // in addition to 128
00043     static const unsigned int NumberTechnicalTriggers = 64;
00044 
00045     static const unsigned int NumberL1Muons = 4;
00046 
00047     static const unsigned int NumberL1Electrons = 4;
00048     static const unsigned int NumberL1IsolatedElectrons = 4;
00049 
00050     static const unsigned int NumberL1CentralJets = 4;
00051     static const unsigned int NumberL1ForwardJets = 4;
00052     static const unsigned int NumberL1TauJets = 4;
00053 
00054     static const unsigned int NumberL1JetCounts = 12;
00055 
00056 public:
00057 
00059     static const int WordLength = 64;
00060 
00062     static const int UnitLength = 8;
00063 
00064 
00065 
00066 public:
00067 
00068     // muons are represented as 32 bits (actually 26 bits)
00069     static const unsigned int NumberMuonBits = 32;
00070     static const unsigned int MuonEtaBits = 6; // MSB: sign (0+/1-), 5 bits: value
00071 
00072     // e-gamma, jet objects have 16 bits
00073     static const unsigned int NumberCaloBits = 16;
00074     static const unsigned int CaloEtaBits = 4; // MSB: sign (0+/1-), 3 bits: value
00075 
00076     // missing Et has 32 bits
00077     static const unsigned int NumberMissingEtBits = 32;
00078 
00079     // twelve jet counts, encoded in five bits per count; six jets per 32-bit word
00080     // code jet count = 31 indicate overflow condition
00081     static const unsigned int NumberJetCountsBits = 32;
00082     static const unsigned int NumberJetCountsWords = 2;
00083     static const unsigned int NumberCountBits = 5;
00084 
00086     static const int NumberPsbBoards = 7;
00087 
00088 };
00089 
00090 #endif /*L1GlobalTrigger_L1GlobalTriggerReadoutSetup_h*/