CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
adjustForPileup.h
Go to the documentation of this file.
1 // Common tool for pileup subtraction. Can be used
2 // to subtract pileup as a 4-vector or just to scale
3 // the jet 4-vector so that its Pt becomes less by
4 // the amount of pileup Pt.
5 //
6 // If the amount of pileup is larger than the amount
7 // of Pt available in the jet, all components of the
8 // jet 4-vector will be set to 0.
9 //
10 // I. Volobouev
11 // July 2012
12 
13 #ifndef RecoJets_FFTJetAlgorithms_adjustForPileup_h
14 #define RecoJets_FFTJetAlgorithms_adjustForPileup_h
15 
17 
18 namespace fftjetcms {
20  const math::XYZTLorentzVector& pileup,
21  bool subtractPileupAs4Vec);
22 }
23 
24 #endif // RecoJets_FFTJetAlgorithms_adjustForPileup_h
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
math::XYZTLorentzVector adjustForPileup(const math::XYZTLorentzVector &jet, const math::XYZTLorentzVector &pileup, bool subtractPileupAs4Vec)