CMS 3D CMS Logo

L1MuGMTParametersProducer Class Reference

#include <L1TriggerConfig/GMTConfigProducers/interface/L1MuGMTParametersProducer.h>

Inheritance diagram for L1MuGMTParametersProducer:

edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 L1MuGMTParametersProducer (const edm::ParameterSet &)
std::auto_ptr< L1MuGMTParametersproduceL1MuGMTParameters (const L1MuGMTParametersRcd &)
 ~L1MuGMTParametersProducer ()

Private Attributes

edm::ParameterSetm_ps


Detailed Description

Definition at line 35 of file L1MuGMTParametersProducer.h.


Constructor & Destructor Documentation

L1MuGMTParametersProducer::L1MuGMTParametersProducer ( const edm::ParameterSet ps  ) 

Definition at line 16 of file L1MuGMTParametersProducer.cc.

References m_ps, produceL1MuGMTParameters(), and edm::ESProducer::setWhatProduced().

00017 {
00018  
00019   m_ps = new edm::ParameterSet(ps);
00020   setWhatProduced(this, &L1MuGMTParametersProducer::produceL1MuGMTParameters);
00021   
00022 }

L1MuGMTParametersProducer::~L1MuGMTParametersProducer (  ) 

Definition at line 25 of file L1MuGMTParametersProducer.cc.

00025 {}


Member Function Documentation

std::auto_ptr< L1MuGMTParameters > L1MuGMTParametersProducer::produceL1MuGMTParameters ( const L1MuGMTParametersRcd iRecord  ) 

Definition at line 34 of file L1MuGMTParametersProducer.cc.

References edm::ParameterSet::getParameter(), python::L1MuGMTParameters_cfi::L1MuGMTParameters, and m_ps.

Referenced by L1MuGMTParametersProducer().

00035 {
00036   using namespace edm::es;
00037 
00038   std::auto_ptr<L1MuGMTParameters> gmtparams = std::auto_ptr<L1MuGMTParameters>( new L1MuGMTParameters() );
00039 
00040   gmtparams->setEtaWeight_barrel(m_ps->getParameter<double>("EtaWeight_barrel"));
00041   gmtparams->setPhiWeight_barrel(m_ps->getParameter<double>("PhiWeight_barrel"));
00042   gmtparams->setEtaPhiThreshold_barrel(m_ps->getParameter<double>("EtaPhiThreshold_barrel"));
00043   gmtparams->setEtaWeight_endcap(m_ps->getParameter<double>("EtaWeight_endcap"));
00044   gmtparams->setPhiWeight_endcap(m_ps->getParameter<double>("PhiWeight_endcap"));
00045   gmtparams->setEtaPhiThreshold_endcap(m_ps->getParameter<double>("EtaPhiThreshold_endcap"));
00046   gmtparams->setEtaWeight_COU(m_ps->getParameter<double>("EtaWeight_COU"));
00047   gmtparams->setPhiWeight_COU(m_ps->getParameter<double>("PhiWeight_COU"));
00048   gmtparams->setEtaPhiThreshold_COU(m_ps->getParameter<double>("EtaPhiThreshold_COU"));
00049   gmtparams->setCaloTrigger(m_ps->getParameter<bool>("CaloTrigger"));
00050   gmtparams->setIsolationCellSizeEta(m_ps->getParameter<int>("IsolationCellSizeEta"));
00051   gmtparams->setIsolationCellSizePhi(m_ps->getParameter<int>("IsolationCellSizePhi"));
00052   gmtparams->setDoOvlRpcAnd(m_ps->getParameter<bool>("DoOvlRpcAnd"));
00053   gmtparams->setPropagatePhi(m_ps->getParameter<bool>("PropagatePhi"));
00054   gmtparams->setMergeMethodPhiBrl(m_ps->getParameter<std::string>("MergeMethodPhiBrl"));
00055   gmtparams->setMergeMethodPhiFwd(m_ps->getParameter<std::string>("MergeMethodPhiFwd"));
00056   gmtparams->setMergeMethodEtaBrl(m_ps->getParameter<std::string>("MergeMethodEtaBrl"));
00057   gmtparams->setMergeMethodEtaFwd(m_ps->getParameter<std::string>("MergeMethodEtaFwd"));
00058   gmtparams->setMergeMethodPtBrl(m_ps->getParameter<std::string>("MergeMethodPtBrl"));
00059   gmtparams->setMergeMethodPtFwd(m_ps->getParameter<std::string>("MergeMethodPtFwd"));
00060   gmtparams->setMergeMethodChargeBrl(m_ps->getParameter<std::string>("MergeMethodChargeBrl"));
00061   gmtparams->setMergeMethodChargeFwd(m_ps->getParameter<std::string>("MergeMethodChargeFwd"));
00062   gmtparams->setMergeMethodMIPBrl(m_ps->getParameter<std::string>("MergeMethodMIPBrl"));
00063   gmtparams->setMergeMethodMIPFwd(m_ps->getParameter<std::string>("MergeMethodMIPFwd"));
00064   gmtparams->setMergeMethodMIPSpecialUseANDBrl(m_ps->getParameter<bool>("MergeMethodMIPSpecialUseANDBrl"));
00065   gmtparams->setMergeMethodMIPSpecialUseANDFwd(m_ps->getParameter<bool>("MergeMethodMIPSpecialUseANDFwd"));
00066   gmtparams->setMergeMethodISOBrl(m_ps->getParameter<std::string>("MergeMethodISOBrl"));
00067   gmtparams->setMergeMethodISOFwd(m_ps->getParameter<std::string>("MergeMethodISOFwd"));
00068   gmtparams->setMergeMethodISOSpecialUseANDBrl(m_ps->getParameter<bool>("MergeMethodISOSpecialUseANDBrl"));
00069   gmtparams->setMergeMethodISOSpecialUseANDFwd(m_ps->getParameter<bool>("MergeMethodISOSpecialUseANDFwd"));
00070   gmtparams->setMergeMethodSRKBrl(m_ps->getParameter<std::string>("MergeMethodSRKBrl"));
00071   gmtparams->setMergeMethodSRKFwd(m_ps->getParameter<std::string>("MergeMethodSRKFwd"));
00072   gmtparams->setHaloOverwritesMatchedBrl(m_ps->getParameter<bool>("HaloOverwritesMatchedBrl"));
00073   gmtparams->setHaloOverwritesMatchedFwd(m_ps->getParameter<bool>("HaloOverwritesMatchedFwd"));
00074   gmtparams->setSortRankOffsetBrl(m_ps->getParameter<unsigned>("SortRankOffsetBrl"));
00075   gmtparams->setSortRankOffsetFwd(m_ps->getParameter<unsigned>("SortRankOffsetFwd"));
00076   gmtparams->setCDLConfigWordDTCSC(m_ps->getParameter<unsigned>("CDLConfigWordDTCSC"));
00077   gmtparams->setCDLConfigWordCSCDT(m_ps->getParameter<unsigned>("CDLConfigWordCSCDT"));
00078   gmtparams->setCDLConfigWordbRPCCSC(m_ps->getParameter<unsigned>("CDLConfigWordbRPCCSC"));
00079   gmtparams->setCDLConfigWordfRPCDT(m_ps->getParameter<unsigned>("CDLConfigWordfRPCDT"));
00080   gmtparams->setVersionSortRankEtaQLUT(m_ps->getParameter<unsigned>("VersionSortRankEtaQLUT"));
00081 
00082   return gmtparams ;
00083 }


Member Data Documentation

edm::ParameterSet* L1MuGMTParametersProducer::m_ps [private]

Definition at line 44 of file L1MuGMTParametersProducer.h.

Referenced by L1MuGMTParametersProducer(), and produceL1MuGMTParameters().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:26:55 2009 for CMSSW by  doxygen 1.5.4