Slimmer of PAT Muons. More...
Public Member Functions | |
void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) final |
PATMuonSlimmer (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~PATMuonSlimmer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Private Attributes | |
const StringCutObjectSelector< pat::Muon > | dropDirectionalIso_ |
const StringCutObjectSelector< pat::Muon > | dropPfP4_ |
const bool | linkToPackedPF_ |
const bool | modifyMuon_ |
std::unique_ptr< pat::ObjectModifier< pat::Muon > > | muonModifier_ |
std::vector< edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > > | pf2pc_ |
std::vector< edm::EDGetTokenT< reco::PFCandidateCollection > > | pf_ |
const bool | saveSegments_ |
const StringCutObjectSelector< pat::Muon > | saveTeVMuons_ |
const StringCutObjectSelector< pat::Muon > | segmentsMuonSelection_ |
const StringCutObjectSelector< pat::Muon > | slimCaloMETCorr_ |
const StringCutObjectSelector< pat::Muon > | slimCaloVars_ |
const StringCutObjectSelector< pat::Muon > | slimKinkVars_ |
const StringCutObjectSelector< pat::Muon > | slimMatches_ |
const edm::EDGetTokenT< pat::MuonCollection > | src_ |
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 |
Slimmer of PAT Muons.
Definition at line 25 of file PATMuonSlimmer.cc.
|
explicit |
Definition at line 46 of file PATMuonSlimmer.cc.
References edm::ParameterSet::getParameter(), linkToPackedPF_, modifyMuon_, muonModifier_, packedPFCandidateRefMixer_cfi::pf, pf2pc_, pf_, saveSegments_, and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineoverride |
Definition at line 28 of file PATMuonSlimmer.cc.
References beginLuminosityBlock(), iEvent, and produce().
|
final |
Definition at line 81 of file PATMuonSlimmer.cc.
References modifyMuon_, and muonModifier_.
Referenced by ~PATMuonSlimmer().
|
override |
Definition at line 86 of file PATMuonSlimmer.cc.
References reco::Muon::calEnergy(), pat::Muon::caloMETMuonCorrs(), reco::Muon::combinedQuality(), reco::MuonMETCorrectionData::corrX(), reco::MuonMETCorrectionData::corrY(), reco::MuonSegmentMatch::cscSegmentRef, DEFINE_FWK_MODULE, dropDirectionalIso_, dropPfP4_, reco::MuonSegmentMatch::dtSegmentRef, reco::MuonSegmentMatch::dXdZErr, reco::MuonSegmentMatch::dYdZErr, reco::MuonEnergy::ecal_position, reco::MuonEnergy::ecal_time, reco::MuonEnergy::ecal_timeError, reco::MuonEnergy::em, pat::Muon::embedCaloMETMuonCorrs(), pat::Muon::embedDytMuon(), pat::Muon::embedPickyMuon(), pat::Muon::embedTpfmsMuon(), reco::MuonEnergy::emMax, reco::MuonEnergy::emS25, edm::Event::getByToken(), reco::MuonEnergy::had, reco::MuonEnergy::hadMax, reco::MuonEnergy::hadS9, reco::MuonEnergy::hcal_position, reco::MuonEnergy::hcal_time, reco::MuonEnergy::hcal_timeError, mps_fire::i, reco::Muon::isEnergyValid(), reco::Muon::isMatchesValid(), edm::Ref< C, T, F >::isNonnull(), reco::Muon::isPFMuon(), reco::Muon::isQualityValid(), linkToPackedPF_, reco::Muon::matches(), modifyMuon_, eostools::move(), amptDefaultParameters_cff::mu, muonModifier_, reco::PFCandidate::muonRef(), dqmiodumpmetadata::n, reco::MuonMETCorrectionData::NotUsed, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, packedPFCandidateRefMixer_cfi::pf, pf2pc_, pf_, edm::Event::put(), pat::PATObject< ObjectType >::refToOrig_, edm::refToPtr(), saveSegments_, saveTeVMuons_, segmentsMuonSelection_, reco::Muon::setCalEnergy(), reco::Muon::setCombinedQuality(), reco::Muon::setPFIsolation(), reco::Muon::setPFP4(), slimCaloMETCorr_, slimCaloVars_, slimKinkVars_, slimMatches_, TrackRefitter_38T_cff::src, src_, reco::MuonQuality::tkKink_position, reco::MuonEnergy::tower, reco::MuonEnergy::towerS9, reco::MuonMETCorrectionData::type(), reco::MuonSegmentMatch::xErr, and reco::MuonSegmentMatch::yErr.
Referenced by ~PATMuonSlimmer().
|
private |
Definition at line 38 of file PATMuonSlimmer.cc.
Referenced by produce().
|
private |
Definition at line 38 of file PATMuonSlimmer.cc.
Referenced by produce().
|
private |
Definition at line 37 of file PATMuonSlimmer.cc.
Referenced by PATMuonSlimmer(), and produce().
|
private |
Definition at line 40 of file PATMuonSlimmer.cc.
Referenced by beginLuminosityBlock(), PATMuonSlimmer(), and produce().
|
private |
Definition at line 41 of file PATMuonSlimmer.cc.
Referenced by beginLuminosityBlock(), PATMuonSlimmer(), and produce().
|
private |
Definition at line 36 of file PATMuonSlimmer.cc.
Referenced by PATMuonSlimmer(), and produce().
|
private |
Definition at line 35 of file PATMuonSlimmer.cc.
Referenced by PATMuonSlimmer(), and produce().
|
private |
Definition at line 40 of file PATMuonSlimmer.cc.
Referenced by PATMuonSlimmer(), and produce().
|
private |
Definition at line 38 of file PATMuonSlimmer.cc.
Referenced by produce().
|
private |
Definition at line 38 of file PATMuonSlimmer.cc.
Referenced by produce().
|
private |
Definition at line 38 of file PATMuonSlimmer.cc.
Referenced by produce().
|
private |
Definition at line 38 of file PATMuonSlimmer.cc.
Referenced by produce().
|
private |
Definition at line 38 of file PATMuonSlimmer.cc.
Referenced by produce().
|
private |
Definition at line 38 of file PATMuonSlimmer.cc.
Referenced by produce().
|
private |
Definition at line 34 of file PATMuonSlimmer.cc.
Referenced by produce().