20 edm::LogWarning(
"L1TPFMetNoMuProducer") <<
"invalid collection for pfMet" << std::endl;
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.);
34 for (
auto muon = muons->begin();
muon != muons->end(); ++
muon) {
35 if (
muon->isPFMuon()) {
45 thePFMetNoMu.
setP4(pfMetNoMuP4);
SpecificPFMETData getSpecific() const
double px() const final
x coordinate of momentum vector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
const Point & vertex() const override
vertex position (overwritten by PF...)
const LorentzVector & p4() const final
four-momentum Lorentz vector
T const * product() const
double py() const final
y coordinate of momentum vector
const edm::EDGetTokenT< reco::MuonCollection > theMuonCollection_
const edm::EDGetTokenT< reco::PFMETCollection > thePFMETCollection_
std::vector< reco::PFMET > PFMETCollection
collection of PFMET objects
void setP4(const LorentzVector &p4) final
set 4-momentum