9 const double pt = jet.Pt();
12 const double pileupPt = pileup.Pt();
13 const double ptFactor = (pt - pileupPt)/pt;
16 else if (subtractPileupAs4Vec)
19 const double e = subtracted.E();
25 const double px = subtracted.Px();
26 const double py = subtracted.Py();
27 const double pz = subtracted.Pz();
28 if (e*e < px*px + py*py + pz*pz)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
math::XYZTLorentzVector adjustForPileup(const math::XYZTLorentzVector &jet, const math::XYZTLorentzVector &pileup, bool subtractPileupAs4Vec)