#include <NoPileUpMEtUtilities.h>
Public Types | |
enum | { kOutsideJet =0, kWithin, kAll } |
enum | { kChHSMET =0, kChPUMET, kNeutralUncMET, kHadronicHSMET, kHadronicPUMET } |
Public Member Functions | |
reco::PUSubMETCandInfoCollection | cleanJets (const reco::PUSubMETCandInfoCollection &, const std::vector< reco::Candidate::LorentzVector > &, double, bool) |
reco::PUSubMETCandInfoCollection | cleanPFCandidates (const reco::PUSubMETCandInfoCollection &, const std::vector< reco::Candidate::LorentzVector > &, double, bool) |
void | computeAllSums (const reco::PUSubMETCandInfoCollection &jets, const reco::PUSubMETCandInfoCollection &pfCandidates) |
CommonMETData | computeRecoil (int metType, double &sumAbsPx, double &sumAbsPy) |
void | finalizeMEtData (CommonMETData &) |
NoPileUpMEtUtilities () | |
~NoPileUpMEtUtilities () | |
Private Member Functions | |
CommonMETData | computeCandidateSum (const reco::PUSubMETCandInfoCollection &cands, bool neutralFracOnly, double &sumAbsPx, double &sumAbsPy) |
reco::PUSubMETCandInfoCollection | selectCandidates (const reco::PUSubMETCandInfoCollection &cands, double minPt, double maxPt, int type, bool isCharged, int isWithinJet) |
Private Attributes | |
CommonMETData | chHSPfcSum_ |
double | chHSPfcSumAbsPx_ |
double | chHSPfcSumAbsPy_ |
CommonMETData | chPUPfcSum_ |
double | chPUPfcSumAbsPx_ |
double | chPUPfcSumAbsPy_ |
double | maxPtDef_ |
double | minPtDef_ |
CommonMETData | nHSJetSum_ |
double | nHSJetSumAbsPx_ |
double | nHSJetSumAbsPy_ |
CommonMETData | nPUJetSum_ |
double | nPUJetSumAbsPx_ |
double | nPUJetSumAbsPy_ |
CommonMETData | nUncPfcSum_ |
double | nUncPfcSumAbsPx_ |
double | nUncPfcSumAbsPy_ |
Definition at line 13 of file NoPileUpMEtUtilities.h.
anonymous enum |
anonymous enum |
Enumerator | |
---|---|
kChHSMET | |
kChPUMET | |
kNeutralUncMET | |
kHadronicHSMET | |
kHadronicPUMET |
Definition at line 19 of file NoPileUpMEtUtilities.h.
NoPileUpMEtUtilities::NoPileUpMEtUtilities | ( | ) |
NoPileUpMEtUtilities::~NoPileUpMEtUtilities | ( | ) |
Definition at line 14 of file NoPileUpMEtUtilities.cc.
reco::PUSubMETCandInfoCollection NoPileUpMEtUtilities::cleanJets | ( | const reco::PUSubMETCandInfoCollection & | jets, |
const std::vector< reco::Candidate::LorentzVector > & | leptons, | ||
double | dRoverlap, | ||
bool | invert | ||
) |
Definition at line 32 of file NoPileUpMEtUtilities.cc.
References reco::deltaR2(), HLT_25ns10e33_v2_cff::invert, and metsig::jet.
Referenced by NoPileUpPFMEtProducer::produce().
reco::PUSubMETCandInfoCollection NoPileUpMEtUtilities::cleanPFCandidates | ( | const reco::PUSubMETCandInfoCollection & | pfCandidates, |
const std::vector< reco::Candidate::LorentzVector > & | leptons, | ||
double | dRoverlap, | ||
bool | invert | ||
) |
Definition at line 86 of file NoPileUpMEtUtilities.cc.
References reco::deltaR2(), and HLT_25ns10e33_v2_cff::invert.
Referenced by NoPileUpPFMEtProducer::produce().
void NoPileUpMEtUtilities::computeAllSums | ( | const reco::PUSubMETCandInfoCollection & | jets, |
const reco::PUSubMETCandInfoCollection & | pfCandidates | ||
) |
Definition at line 139 of file NoPileUpMEtUtilities.cc.
References chHSPfcSum_, chHSPfcSumAbsPx_, chHSPfcSumAbsPy_, chPUPfcSum_, chPUPfcSumAbsPx_, chPUPfcSumAbsPy_, computeCandidateSum(), kAll, reco::PUSubMETCandInfo::kChHS, reco::PUSubMETCandInfo::kChPU, reco::PUSubMETCandInfo::kHS, reco::PUSubMETCandInfo::kNeutral, kOutsideJet, reco::PUSubMETCandInfo::kPU, reco::PUSubMETCandInfo::kUndefined, maxPtDef_, minPtDef_, nHSJetSum_, nHSJetSumAbsPx_, nHSJetSumAbsPy_, nPUJetSum_, nPUJetSumAbsPx_, nPUJetSumAbsPy_, nUncPfcSum_, nUncPfcSumAbsPx_, nUncPfcSumAbsPy_, and selectCandidates().
|
private |
Definition at line 53 of file NoPileUpMEtUtilities.cc.
References funct::abs(), finalizeMEtData(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by computeAllSums().
CommonMETData NoPileUpMEtUtilities::computeRecoil | ( | int | metType, |
double & | sumAbsPx, | ||
double & | sumAbsPy | ||
) |
Definition at line 175 of file NoPileUpMEtUtilities.cc.
References chHSPfcSum_, chHSPfcSumAbsPx_, chHSPfcSumAbsPy_, chPUPfcSum_, chPUPfcSumAbsPx_, chPUPfcSumAbsPy_, kChHSMET, kChPUMET, kHadronicHSMET, kHadronicPUMET, kNeutralUncMET, CommonMETData::mex, CommonMETData::mey, nHSJetSum_, nHSJetSumAbsPx_, nHSJetSumAbsPy_, nUncPfcSum_, nUncPfcSumAbsPx_, nUncPfcSumAbsPy_, and CommonMETData::sumet.
void NoPileUpMEtUtilities::finalizeMEtData | ( | CommonMETData & | metData | ) |
Definition at line 22 of file NoPileUpMEtUtilities.cc.
References CommonMETData::met, CommonMETData::mex, CommonMETData::mey, CommonMETData::mez, CommonMETData::phi, and mathSSE::sqrt().
Referenced by computeCandidateSum().
|
private |
Definition at line 110 of file NoPileUpMEtUtilities.cc.
References reco::btau::jetPt, kAll, and reco::PUSubMETCandInfo::kUndefined.
Referenced by computeAllSums().
|
private |
Definition at line 64 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 70 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 76 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 65 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 71 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 77 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 62 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and NoPileUpMEtUtilities().
|
private |
Definition at line 61 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and NoPileUpMEtUtilities().
|
private |
Definition at line 67 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 73 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 79 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 68 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums().
|
private |
Definition at line 74 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums().
|
private |
Definition at line 80 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums().
|
private |
Definition at line 66 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 72 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 78 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().