Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:48

0001 // Common tool for pileup subtraction. Can be used
0002 // to subtract pileup as a 4-vector or just to scale
0003 // the jet 4-vector so that its Pt becomes less by
0004 // the amount of pileup Pt.
0005 //
0006 // If the amount of pileup is larger than the amount
0007 // of Pt available in the jet, all components of the
0008 // jet 4-vector will be set to 0.
0009 //
0010 // I. Volobouev
0011 // July 2012
0012 
0013 #ifndef RecoJets_FFTJetAlgorithms_adjustForPileup_h
0014 #define RecoJets_FFTJetAlgorithms_adjustForPileup_h
0015 
0016 #include "DataFormats/Math/interface/LorentzVector.h"
0017 
0018 namespace fftjetcms {
0019   math::XYZTLorentzVector adjustForPileup(const math::XYZTLorentzVector& jet,
0020                                           const math::XYZTLorentzVector& pileup,
0021                                           bool subtractPileupAs4Vec);
0022 }
0023 
0024 #endif  // RecoJets_FFTJetAlgorithms_adjustForPileup_h