Public Member Functions | |
DistortedMuonProducerFromDB (const edm::ParameterSet &) | |
~DistortedMuonProducerFromDB () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
virtual void | beginRun (edm::Run &, const edm::EventSetup &) |
virtual void | endJob () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
std::string | dbDataResolutionLabel_ |
std::string | dbMCResolutionLabel_ |
std::string | dbScaleLabel_ |
edm::InputTag | genMatchMapTag_ |
std::auto_ptr < MomentumScaleCorrector > | momCorrector_ |
std::auto_ptr< ResolutionFunction > | momResolutionData_ |
std::auto_ptr< ResolutionFunction > | momResolutionMC_ |
edm::InputTag | muonTag_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 13 of file DistortedMuonProducerFromDB.cc.
|
explicit |
Definition at line 51 of file DistortedMuonProducerFromDB.cc.
References dbDataResolutionLabel_, dbMCResolutionLabel_, dbScaleLabel_, edm::ParameterSet::getUntrackedParameter(), and muonTag_.
DistortedMuonProducerFromDB::~DistortedMuonProducerFromDB | ( | ) |
Definition at line 65 of file DistortedMuonProducerFromDB.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 69 of file DistortedMuonProducerFromDB.cc.
References dbDataResolutionLabel_, dbMCResolutionLabel_, dbScaleLabel_, edm::EventSetup::get(), LogTrace, momCorrector_, momResolutionData_, momResolutionMC_, and edm::ESHandle< class >::product().
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 88 of file DistortedMuonProducerFromDB.cc.
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 92 of file DistortedMuonProducerFromDB.cc.
References reco::Muon::clone(), reco::LeafCandidate::eta(), edm::Event::getByLabel(), i, edm::EventBase::isRealData(), LogTrace, reco::LeafCandidate::mass(), momResolutionData_, momResolutionMC_, RPCpg::mu, muonTag_, MuonAlignmentFromReference_cff::newmuons, reco::LeafCandidate::phi(), funct::pow(), reco::LeafCandidate::pt(), edm::Event::put(), reco::LeafCandidate::setP4(), edm::shift, and mathSSE::sqrt().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 27 of file DistortedMuonProducerFromDB.cc.
Referenced by beginRun(), and DistortedMuonProducerFromDB().
|
private |
Definition at line 28 of file DistortedMuonProducerFromDB.cc.
Referenced by beginRun(), and DistortedMuonProducerFromDB().
|
private |
Definition at line 26 of file DistortedMuonProducerFromDB.cc.
Referenced by beginRun(), and DistortedMuonProducerFromDB().
|
private |
Definition at line 24 of file DistortedMuonProducerFromDB.cc.
|
private |
Definition at line 30 of file DistortedMuonProducerFromDB.cc.
Referenced by beginRun().
|
private |
Definition at line 31 of file DistortedMuonProducerFromDB.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 32 of file DistortedMuonProducerFromDB.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 23 of file DistortedMuonProducerFromDB.cc.
Referenced by DistortedMuonProducerFromDB(), and produce().