00001 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00002 #include "FWCore/Utilities/interface/Exception.h" 00003 00004 #include "L1TriggerConfig/GctConfigProducers/interface/L1GctJfParamsConfigurer.h" 00005 00006 // 00007 // constants, enums and typedefs 00008 // 00009 00010 // 00011 // static data member definitions 00012 // 00013 00014 // 00015 // constructors and destructor 00016 // 00017 L1GctJfParamsConfigurer::L1GctJfParamsConfigurer(const edm::ParameterSet& iConfig) : 00018 m_CenJetSeed(iConfig.getParameter<unsigned>("JetFinderCentralJetSeed")), 00019 m_FwdJetSeed(iConfig.getParameter<unsigned>("JetFinderForwardJetSeed")), 00020 m_TauJetSeed(iConfig.getParameter<unsigned>("JetFinderCentralJetSeed")), // no separate tau jet seed yet 00021 m_EtaBoundry(7) // not programmable! 00022 { 00023 00024 } 00025 00026 00027 L1GctJfParamsConfigurer::~L1GctJfParamsConfigurer() 00028 { 00029 00030 // do anything here that needs to be done at desctruction time 00031 // (e.g. close files, deallocate resources etc.) 00032 00033 } 00034 00035 00036 // 00037 // member functions 00038 // 00039 00040 00041 // ------------ methods called to produce the data ------------ 00042 L1GctJfParamsConfigurer::JfParamsReturnType 00043 L1GctJfParamsConfigurer::produceJfParams() 00044 { 00045 boost::shared_ptr<L1GctJetFinderParams> pL1GctJetFinderParams = 00046 boost::shared_ptr<L1GctJetFinderParams> (new L1GctJetFinderParams(m_CenJetSeed, 00047 m_FwdJetSeed, 00048 m_TauJetSeed, 00049 m_EtaBoundry)); 00050 00051 return pL1GctJetFinderParams ; 00052 }