Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include "L1TriggerConfig/L1ScalesProducers/interface/L1MuGMTScalesProducer.h"
00015
00016 L1MuGMTScalesProducer::L1MuGMTScalesProducer(const edm::ParameterSet& ps)
00017 : m_scales( ps.getParameter<int>("nbitPackingReducedEta"),
00018 ps.getParameter<int>("nbinsReducedEta"),
00019 ps.getParameter<std::vector<double> >("scaleReducedEtaDT"),
00020 ps.getParameter<std::vector<double> >("scaleReducedEtaBrlRPC"),
00021 ps.getParameter<std::vector<double> >("scaleReducedEtaCSC"),
00022 ps.getParameter<std::vector<double> >("scaleReducedEtaFwdRPC"),
00023
00024 ps.getParameter<int>("nbitPackingDeltaEta"),
00025 ps.getParameter<bool>("signedPackingDeltaEta"),
00026 ps.getParameter<int>("nbinsDeltaEta"),
00027 ps.getParameter<double>("minDeltaEta"),
00028 ps.getParameter<double>("maxDeltaEta"),
00029 ps.getParameter<int>("offsetDeltaEta"),
00030
00031 ps.getParameter<int>("nbitPackingDeltaPhi"),
00032 ps.getParameter<bool>("signedPackingDeltaPhi"),
00033 ps.getParameter<int>("nbinsDeltaPhi"),
00034 ps.getParameter<double>("minDeltaPhi"),
00035 ps.getParameter<double>("maxDeltaPhi"),
00036 ps.getParameter<int>("offsetDeltaPhi"),
00037
00038 ps.getParameter<int>("nbitPackingOvlEtaDT"),
00039 ps.getParameter<int>("nbinsOvlEtaDT"),
00040 ps.getParameter<double>("minOvlEtaDT"),
00041 ps.getParameter<double>("maxOvlEtaDT"),
00042
00043 ps.getParameter<int>("nbitPackingOvlEtaCSC"),
00044 ps.getParameter<int>("nbinsOvlEtaCSC"),
00045 ps.getParameter<double>("minOvlEtaCSC"),
00046 ps.getParameter<double>("maxOvlEtaCSC"),
00047
00048 ps.getParameter<std::vector<double> >("scaleOvlEtaRPC"),
00049 ps.getParameter<int>("nbitPackingOvlEtaBrlRPC"),
00050 ps.getParameter<int>("nbinsOvlEtaBrlRPC"),
00051 ps.getParameter<int>("nbitPackingOvlEtaFwdRPC"),
00052 ps.getParameter<int>("nbinsOvlEtaFwdRPC") )
00053 {
00054
00055 setWhatProduced(this, &L1MuGMTScalesProducer::produceL1MuGMTScales);
00056
00057 }
00058
00059
00060 L1MuGMTScalesProducer::~L1MuGMTScalesProducer() {}
00061
00062
00063
00064
00065
00066
00067
00068 std::auto_ptr<L1MuGMTScales>
00069 L1MuGMTScalesProducer::produceL1MuGMTScales(const L1MuGMTScalesRcd& iRecord)
00070 {
00071 using namespace edm::es;
00072
00073 std::auto_ptr<L1MuGMTScales> l1muscale = std::auto_ptr<L1MuGMTScales>( new L1MuGMTScales( m_scales ) );
00074
00075 return l1muscale ;
00076 }
00077