CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
noPileUpMEtUtilities.h
Go to the documentation of this file.
1 #ifndef RecoMET_METPUSubtraction_noPileUpMEtUtilities_h
2 #define RecoMET_METPUSubtraction_noPileUpMEtUtilities_h
3 
5 
10 
11 #include <vector>
12 
13 namespace noPileUpMEtUtilities
14 {
15  //-------------------------------------------------------------------------------
16  // general auxiliary functions
18  //-------------------------------------------------------------------------------
19 
20  //-------------------------------------------------------------------------------
21  // auxiliary functions for jets
23  const std::vector<reco::Candidate::LorentzVector>&,
24  double, bool);
26  double, double, int);
27  CommonMETData computeJetSum(const reco::MVAMEtJetInfoCollection&, double* sumAbsPx = 0, double* sumAbsPy = 0);
28  CommonMETData computeJetSum_neutral(const reco::MVAMEtJetInfoCollection&, double* sumAbsPx = 0, double* sumAbsPy = 0);
32  //-------------------------------------------------------------------------------
33 
34  //-------------------------------------------------------------------------------
35  // auxiliary functions for PFCandidates
37  const std::vector<reco::Candidate::LorentzVector>&,
38  double, bool);
40  double, double, int, int);
41  CommonMETData computePFCandidateSum(const reco::MVAMEtPFCandInfoCollection&, double* sumAbsPx = 0, double* sumAbsPy = 0);
42  //-------------------------------------------------------------------------------
43 
44  //-------------------------------------------------------------------------------
45  // auxiliary functions to compute different types of MEt/hadronic recoils
46  //
47  // NOTE: all pfCandidates and jets passed as function arguments
48  // need to be cleaned wrt. leptons
49  //
50  CommonMETData computeTrackRecoil(const reco::MVAMEtPFCandInfoCollection&, double* sumAbsPx = 0, double* sumAbsPy = 0);
51  CommonMETData computeTrackRecoilNoPU(const reco::MVAMEtPFCandInfoCollection&, double* sumAbsPx = 0, double* sumAbsPy = 0);
52  CommonMETData computeTrackRecoilPU(const reco::MVAMEtPFCandInfoCollection&, double* sumAbsPx = 0, double* sumAbsPy = 0);
53  CommonMETData computeNeutralRecoil_unclustered(const reco::MVAMEtPFCandInfoCollection&, double* sumAbsPx = 0, double* sumAbsPy = 0);
55  const reco::MVAMEtPFCandInfoCollection&, double* sumAbsPx = 0, double* sumAbsPy = 0);
57  const reco::MVAMEtPFCandInfoCollection&, double* sumAbsPx = 0, double* sumAbsPy = 0);
58  //-------------------------------------------------------------------------------
59 }
60 
61 #endif
CommonMETData computeJetSum(const reco::MVAMEtJetInfoCollection &, double *sumAbsPx=0, double *sumAbsPy=0)
reco::MVAMEtPFCandInfoCollection cleanPFCandidates(const reco::MVAMEtPFCandInfoCollection &, const std::vector< reco::Candidate::LorentzVector > &, double, bool)
reco::MVAMEtPFCandInfoCollection selectPFCandidates(const reco::MVAMEtPFCandInfoCollection &, double, double, int, int)
CommonMETData computeTrackRecoil(const reco::MVAMEtPFCandInfoCollection &, double *sumAbsPx=0, double *sumAbsPy=0)
CommonMETData computeHadRecoilNoPU(const reco::MVAMEtJetInfoCollection &, const reco::MVAMEtPFCandInfoCollection &, double *sumAbsPx=0, double *sumAbsPy=0)
void finalizeMEtData(CommonMETData &)
std::vector< reco::MVAMEtJetInfo > MVAMEtJetInfoCollection
Definition: MVAMEtDataFwd.h:10
CommonMETData computeHadRecoilPU(const reco::MVAMEtJetInfoCollection &, const reco::MVAMEtPFCandInfoCollection &, double *sumAbsPx=0, double *sumAbsPy=0)
CommonMETData computeTrackRecoilPU(const reco::MVAMEtPFCandInfoCollection &, double *sumAbsPx=0, double *sumAbsPy=0)
Structure containing data common to all types of MET.
Definition: CommonMETData.h:12
CommonMETData computeJetSum_neutral(const reco::MVAMEtJetInfoCollection &, double *sumAbsPx=0, double *sumAbsPy=0)
reco::MVAMEtJetInfo subleadJet(const reco::MVAMEtJetInfoCollection &)
std::vector< reco::MVAMEtPFCandInfo > MVAMEtPFCandInfoCollection
Definition: MVAMEtDataFwd.h:12
CommonMETData computeTrackRecoilNoPU(const reco::MVAMEtPFCandInfoCollection &, double *sumAbsPx=0, double *sumAbsPy=0)
reco::MVAMEtJetInfoCollection selectJets(const reco::MVAMEtJetInfoCollection &, double, double, int)
reco::MVAMEtJetInfo leadJet(const reco::MVAMEtJetInfoCollection &)
reco::MVAMEtJetInfoCollection cleanJets(const reco::MVAMEtJetInfoCollection &, const std::vector< reco::Candidate::LorentzVector > &, double, bool)
CommonMETData computePFCandidateSum(const reco::MVAMEtPFCandInfoCollection &, double *sumAbsPx=0, double *sumAbsPy=0)
CommonMETData computeNeutralRecoil_unclustered(const reco::MVAMEtPFCandInfoCollection &, double *sumAbsPx=0, double *sumAbsPy=0)
reco::MVAMEtJetInfo jet(const reco::MVAMEtJetInfoCollection &, unsigned)