00001 #ifndef L1GtConfigProducers_L1GtStableParametersTrivialProducer_h 00002 #define L1GtConfigProducers_L1GtStableParametersTrivialProducer_h 00003 00020 // system include files 00021 #include <memory> 00022 00023 #include <vector> 00024 00025 #include "boost/shared_ptr.hpp" 00026 #include <boost/cstdint.hpp> 00027 00028 // user include files 00029 // base class 00030 #include "FWCore/Framework/interface/ESProducer.h" 00031 00032 #include "FWCore/Framework/interface/ModuleFactory.h" 00033 #include "FWCore/Framework/interface/ESHandle.h" 00034 00035 #include "CondFormats/L1TObjects/interface/L1GtStableParameters.h" 00036 #include "CondFormats/DataRecord/interface/L1GtStableParametersRcd.h" 00037 00038 // forward declarations 00039 00040 // class declaration 00041 class L1GtStableParametersTrivialProducer : public edm::ESProducer 00042 { 00043 00044 public: 00045 00047 L1GtStableParametersTrivialProducer(const edm::ParameterSet&); 00048 00050 ~L1GtStableParametersTrivialProducer(); 00051 00053 00055 boost::shared_ptr<L1GtStableParameters> produceGtStableParameters( 00056 const L1GtStableParametersRcd&); 00057 00058 private: 00059 00061 00063 unsigned int m_numberPhysTriggers; 00064 00066 unsigned int m_numberPhysTriggersExtended; 00067 00069 unsigned int m_numberTechnicalTriggers; 00070 00072 00074 unsigned int m_numberL1Mu; 00075 00077 unsigned int m_numberL1NoIsoEG; 00078 unsigned int m_numberL1IsoEG; 00079 00081 unsigned int m_numberL1CenJet; 00082 unsigned int m_numberL1ForJet; 00083 unsigned int m_numberL1TauJet; 00084 00086 unsigned int m_numberL1JetCounts; 00087 00088 private: 00089 00091 00093 unsigned int m_numberConditionChips; 00094 00096 unsigned int m_pinsOnConditionChip; 00097 00100 std::vector<int> m_orderConditionChip; 00101 00103 int m_numberPsbBoards; 00104 00106 unsigned int m_ifCaloEtaNumberBits; 00107 00109 unsigned int m_ifMuEtaNumberBits; 00110 00111 private: 00112 00114 int m_wordLength; 00115 00117 int m_unitLength; 00118 00119 }; 00120 00121 #endif