CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/L1TriggerConfig/L1GtConfigProducers/interface/L1GtParametersTrivialProducer.h

Go to the documentation of this file.
00001 #ifndef L1GtConfigProducers_L1GtParametersTrivialProducer_h
00002 #define L1GtConfigProducers_L1GtParametersTrivialProducer_h
00003 
00020 // system include files
00021 #include <memory>
00022 #include <vector>
00023 
00024 #include "boost/shared_ptr.hpp"
00025 #include <boost/cstdint.hpp>
00026 
00027 // user include files
00028 //   base class
00029 #include "FWCore/Framework/interface/ESProducer.h"
00030 
00031 #include "FWCore/Framework/interface/ModuleFactory.h"
00032 
00033 #include "CondFormats/L1TObjects/interface/L1GtParameters.h"
00034 #include "CondFormats/DataRecord/interface/L1GtParametersRcd.h"
00035 
00036 // forward declarations
00037 
00038 // class declaration
00039 class L1GtParametersTrivialProducer : public edm::ESProducer
00040 {
00041 
00042 public:
00043 
00045     L1GtParametersTrivialProducer(const edm::ParameterSet&);
00046 
00048     ~L1GtParametersTrivialProducer();
00049 
00050 
00052 
00054     boost::shared_ptr<L1GtParameters> produceGtParameters(
00055         const L1GtParametersRcd&);
00056 
00057 private:
00058 
00060     int m_totalBxInEvent;
00061 
00063     boost::uint16_t m_daqActiveBoards;
00064 
00066     boost::uint16_t m_evmActiveBoards;
00067 
00069     std::vector<int> m_daqNrBxBoard;
00070 
00072     std::vector<int> m_evmNrBxBoard;
00073 
00075     unsigned int m_bstLengthBytes;
00076 
00077 };
00078 
00079 #endif