#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 16 of file NoPileUpMEtUtilities.h.
NoPileUpMEtUtilities::NoPileUpMEtUtilities | ( | ) |
NoPileUpMEtUtilities::~NoPileUpMEtUtilities | ( | ) |
Definition at line 13 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 28 of file NoPileUpMEtUtilities.cc.
References HLTMuonOfflineAnalyzer_cfi::deltaR2, l1tstage2_dqm_sourceclient-live_cfg::invert, metsig::jet, PDWG_EXODelayedJetMET_cff::jets, and HLT_2023v12_cff::leptons.
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 81 of file NoPileUpMEtUtilities.cc.
References HLTMuonOfflineAnalyzer_cfi::deltaR2, l1tstage2_dqm_sourceclient-live_cfg::invert, HLT_2023v12_cff::leptons, and zmumugammaAnalyzer_cfi::pfCandidates.
Referenced by NoPileUpPFMEtProducer::produce().
void NoPileUpMEtUtilities::computeAllSums | ( | const reco::PUSubMETCandInfoCollection & | jets, |
const reco::PUSubMETCandInfoCollection & | pfCandidates | ||
) |
Definition at line 140 of file NoPileUpMEtUtilities.cc.
References chHSPfcSum_, chHSPfcSumAbsPx_, chHSPfcSumAbsPy_, chPUPfcSum_, chPUPfcSumAbsPx_, chPUPfcSumAbsPy_, computeCandidateSum(), PDWG_EXODelayedJetMET_cff::jets, 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_, zmumugammaAnalyzer_cfi::pfCandidates, and selectCandidates().
|
private |
Definition at line 49 of file NoPileUpMEtUtilities.cc.
References funct::abs(), HLT_2023v12_cff::cands, finalizeMEtData(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by computeAllSums().
CommonMETData NoPileUpMEtUtilities::computeRecoil | ( | int | metType, |
double & | sumAbsPx, | ||
double & | sumAbsPy | ||
) |
Definition at line 169 of file NoPileUpMEtUtilities.cc.
References chHSPfcSum_, chHSPfcSumAbsPx_, chHSPfcSumAbsPy_, chPUPfcSum_, chPUPfcSumAbsPx_, chPUPfcSumAbsPy_, kChHSMET, kChPUMET, kHadronicHSMET, kHadronicPUMET, kNeutralUncMET, objects.autophobj::metType, CommonMETData::mex, CommonMETData::mey, nHSJetSum_, nHSJetSumAbsPx_, nHSJetSumAbsPy_, nUncPfcSum_, nUncPfcSumAbsPx_, nUncPfcSumAbsPy_, and CommonMETData::sumet.
void NoPileUpMEtUtilities::finalizeMEtData | ( | CommonMETData & | metData | ) |
Definition at line 19 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 107 of file NoPileUpMEtUtilities.cc.
References HLT_2023v12_cff::cands, reco::btau::jetPt, kAll, reco::PUSubMETCandInfo::kUndefined, and PV_cfg::maxPt.
Referenced by computeAllSums().
|
private |
Definition at line 62 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 68 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 74 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 63 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 69 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 75 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and computeRecoil().
|
private |
Definition at line 60 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and NoPileUpMEtUtilities().
|
private |
Definition at line 59 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums(), and NoPileUpMEtUtilities().
|
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 66 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums().
|
private |
Definition at line 72 of file NoPileUpMEtUtilities.h.
Referenced by computeAllSums().
|
private |
Definition at line 78 of file NoPileUpMEtUtilities.h.
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().