CMS 3D CMS Logo

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