#include <MuonMETValueMapProducer.h>
Public Member Functions | |
MuonMETValueMapProducer (const edm::ParameterSet &) | |
~MuonMETValueMapProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
reco::MuonMETCorrectionData::Type | decide_correction_type (const reco::Muon &muon, const math::XYZPoint &beamSpotPosition) |
void | determine_deltax_deltay (double &deltax, double &deltay, const reco::Muon &muon, double bfield, edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
bool | should_type_MuonCandidateValuesUsed (const reco::Muon &muon, const math::XYZPoint &beamSpotPosition) |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
bool | isAlsoTkMu_ |
double | maxd0_ |
double | maxEta_ |
double | maxNormChi2_ |
int | minnHits_ |
int | minnValidStaHits_ |
double | minPt_ |
edm::EDGetTokenT< edm::View< reco::Muon > > | muonToken_ |
double | towerEtThreshold_ |
TrackDetectorAssociator | trackAssociator_ |
TrackAssociatorParameters | trackAssociatorParameters_ |
bool | useHO_ |
bool | useRecHits_ |
bool | useTrackAssociatorPositions_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 39 of file MuonMETValueMapProducer.h.
|
explicit |
Definition at line 58 of file MuonMETValueMapProducer.cc.
References beamSpotToken_, edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getParameter(), TrackAssociatorParameters::loadParameters(), muonToken_, trackAssociator_, trackAssociatorParameters_, and TrackDetectorAssociator::useDefaultPropagator().
|
inline |
Definition at line 43 of file MuonMETValueMapProducer.h.
References decide_correction_type(), determine_deltax_deltay(), iEvent, produce(), and should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 143 of file MuonMETValueMapProducer.cc.
References should_type_MuonCandidateValuesUsed().
Referenced by produce(), and ~MuonMETValueMapProducer().
|
private |
Definition at line 123 of file MuonMETValueMapProducer.cc.
References TrackDetectorAssociator::associate(), TrackDetectorAssociator::getFreeTrajectoryState(), MuonMETAlgo::GetMuDepDeltas(), reco::Muon::globalTrack(), info(), reco::Muon::innerTrack(), reco::Muon::isGEMMuon(), reco::Muon::isGlobalMuon(), reco::Muon::isME0Muon(), reco::Muon::isRPCMuon(), reco::Muon::isTrackerMuon(), reco::Muon::outerTrack(), towerEtThreshold_, trackAssociator_, trackAssociatorParameters_, useHO_, useRecHits_, and useTrackAssociatorPositions_.
Referenced by produce(), and ~MuonMETValueMapProducer().
|
overrideprivatevirtual |
Definition at line 83 of file MuonMETValueMapProducer.cc.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, beamSpotToken_, decide_correction_type(), determine_deltax_deltay(), edm::EventSetup::get(), edm::Event::getByToken(), MagneticField::inTesla(), seedCreatorFromRegionConsecutiveHitsEDProducer_cff::magneticField, eostools::move(), metsig::muon, electronCleaner_cfi::muons, muonToken_, reco::BeamSpot::position(), edm::Event::put(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by ~MuonMETValueMapProducer().
|
private |
Definition at line 152 of file MuonMETValueMapProducer.cc.
References reco::LeafCandidate::eta(), reco::Muon::globalTrack(), reco::Muon::innerTrack(), isAlsoTkMu_, reco::Muon::isGlobalMuon(), reco::Muon::isTrackerMuon(), maxd0_, maxEta_, maxNormChi2_, minnHits_, minnValidStaHits_, minPt_, and reco::LeafCandidate::pt().
Referenced by decide_correction_type(), and ~MuonMETValueMapProducer().
|
private |
Definition at line 66 of file MuonMETValueMapProducer.h.
Referenced by MuonMETValueMapProducer(), and produce().
|
private |
Definition at line 54 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 56 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 53 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 55 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 57 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 58 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 52 of file MuonMETValueMapProducer.h.
Referenced by should_type_MuonCandidateValuesUsed().
|
private |
Definition at line 65 of file MuonMETValueMapProducer.h.
Referenced by MuonMETValueMapProducer(), and produce().
|
private |
Definition at line 62 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().
|
private |
Definition at line 69 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay(), and MuonMETValueMapProducer().
|
private |
Definition at line 68 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay(), and MuonMETValueMapProducer().
|
private |
Definition at line 61 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().
|
private |
Definition at line 63 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().
|
private |
Definition at line 60 of file MuonMETValueMapProducer.h.
Referenced by determine_deltax_deltay().