#include <L1TPFMetNoMuProducer.h>
Definition at line 15 of file L1TPFMetNoMuProducer.h.
◆ L1TPFMetNoMuProducer()
◆ produce()
Definition at line 12 of file L1TPFMetNoMuProducer.cc.
19 if (!
pfMet.isValid()) {
20 edm::LogWarning(
"L1TPFMetNoMuProducer") <<
"invalid collection for pfMet" << std::endl;
23 if (!
muons.isValid()) {
24 edm::LogWarning(
"L1TPFMetNoMuProducer") <<
"invalid collection for muons" << std::endl;
29 double pfMetNoMuPx = thePFMetNoMu.
px();
30 double pfMetNoMuPy = thePFMetNoMu.
py();
32 double muPx(0.), muPy(0.);
35 if (
muon->isPFMuon()) {
45 thePFMetNoMu.
setP4(pfMetNoMuP4);
References reco::PFMET::getSpecific(), eostools::move(), HLT_2018_cff::muon, PDWG_BPHSkim_cff::muons, reco::LeafCandidate::p4(), RecoPFMET_cff::pfMet, reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::setP4(), reco::MET::sumEt(), theMuonCollection_, thePFMETCollection_, and reco::LeafCandidate::vertex().
◆ theMuonCollection_
◆ thePFMETCollection_