reco::MVAMEtJetInfoCollection noPileUpMEtUtilities::cleanJets | ( | const reco::MVAMEtJetInfoCollection & | jets, |
const std::vector< reco::Candidate::LorentzVector > & | leptons, | ||
double | dRoverlap, | ||
bool | invert | ||
) |
Definition at line 22 of file noPileUpMEtUtilities.cc.
References reco::deltaR2(), jet(), and reco::MVAMEtJetInfo::p4_.
Referenced by NoPileUpPFMEtProducer::produce().
reco::MVAMEtPFCandInfoCollection noPileUpMEtUtilities::cleanPFCandidates | ( | const reco::MVAMEtPFCandInfoCollection & | pfCandidates, |
const std::vector< reco::Candidate::LorentzVector > & | leptons, | ||
double | dRoverlap, | ||
bool | invert | ||
) |
Definition at line 124 of file noPileUpMEtUtilities.cc.
References reco::deltaR2().
Referenced by NoPileUpPFMEtProducer::produce().
CommonMETData noPileUpMEtUtilities::computeHadRecoilNoPU | ( | const reco::MVAMEtJetInfoCollection & | jets, |
const reco::MVAMEtPFCandInfoCollection & | pfCandidates, | ||
double * | sumAbsPx = 0 , |
||
double * | sumAbsPy = 0 |
||
) |
Definition at line 232 of file noPileUpMEtUtilities.cc.
References computeJetSum_neutral(), computeTrackRecoilNoPU(), alignCSCRings::e, finalizeMEtData(), reco::MVAMEtJetInfo::kNoPileUp, CommonMETData::mex, CommonMETData::mey, selectJets(), and CommonMETData::sumet.
CommonMETData noPileUpMEtUtilities::computeHadRecoilPU | ( | const reco::MVAMEtJetInfoCollection & | jets, |
const reco::MVAMEtPFCandInfoCollection & | pfCandidates, | ||
double * | sumAbsPx = 0 , |
||
double * | sumAbsPy = 0 |
||
) |
Definition at line 252 of file noPileUpMEtUtilities.cc.
References computeJetSum_neutral(), computeTrackRecoilPU(), alignCSCRings::e, finalizeMEtData(), reco::MVAMEtJetInfo::kPileUp, CommonMETData::mex, CommonMETData::mey, selectJets(), and CommonMETData::sumet.
CommonMETData noPileUpMEtUtilities::computeJetSum | ( | const reco::MVAMEtJetInfoCollection & | jets, |
double * | sumAbsPx = 0 , |
||
double * | sumAbsPy = 0 |
||
) |
Definition at line 56 of file noPileUpMEtUtilities.cc.
References funct::abs(), finalizeMEtData(), jet(), CommonMETData::mex, CommonMETData::mey, reco::MVAMEtJetInfo::p4_, and CommonMETData::sumet.
CommonMETData noPileUpMEtUtilities::computeJetSum_neutral | ( | const reco::MVAMEtJetInfoCollection & | jets, |
double * | sumAbsPx = 0 , |
||
double * | sumAbsPy = 0 |
||
) |
Definition at line 78 of file noPileUpMEtUtilities.cc.
References funct::abs(), finalizeMEtData(), jet(), CommonMETData::mex, CommonMETData::mey, reco::MVAMEtJetInfo::neutralEnFrac_, reco::MVAMEtJetInfo::p4_, and CommonMETData::sumet.
Referenced by computeHadRecoilNoPU(), and computeHadRecoilPU().
CommonMETData noPileUpMEtUtilities::computeNeutralRecoil_unclustered | ( | const reco::MVAMEtPFCandInfoCollection & | pfCandidates, |
double * | sumAbsPx = 0 , |
||
double * | sumAbsPy = 0 |
||
) |
Definition at line 225 of file noPileUpMEtUtilities.cc.
References computePFCandidateSum(), reco::MVAMEtPFCandInfo::kNeutral, and selectPFCandidates().
CommonMETData noPileUpMEtUtilities::computePFCandidateSum | ( | const reco::MVAMEtPFCandInfoCollection & | pfCandidates, |
double * | sumAbsPx = 0 , |
||
double * | sumAbsPy = 0 |
||
) |
Definition at line 165 of file noPileUpMEtUtilities.cc.
References funct::abs(), finalizeMEtData(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by computeNeutralRecoil_unclustered(), computeTrackRecoil(), computeTrackRecoilNoPU(), and computeTrackRecoilPU().
CommonMETData noPileUpMEtUtilities::computeTrackRecoil | ( | const reco::MVAMEtPFCandInfoCollection & | pfCandidates, |
double * | sumAbsPx = 0 , |
||
double * | sumAbsPy = 0 |
||
) |
Definition at line 194 of file noPileUpMEtUtilities.cc.
References PFRecoTauChargedHadronBuilderPlugins_cfi::chargedPFCandidates, computePFCandidateSum(), alignCSCRings::e, finalizeMEtData(), reco::MVAMEtPFCandInfo::kUndefined, CommonMETData::mex, CommonMETData::mey, selectPFCandidates(), and CommonMETData::sumet.
CommonMETData noPileUpMEtUtilities::computeTrackRecoilNoPU | ( | const reco::MVAMEtPFCandInfoCollection & | pfCandidates, |
double * | sumAbsPx = 0 , |
||
double * | sumAbsPy = 0 |
||
) |
Definition at line 211 of file noPileUpMEtUtilities.cc.
References computePFCandidateSum(), alignCSCRings::e, reco::MVAMEtPFCandInfo::kNoPileUpCharged, and selectPFCandidates().
Referenced by computeHadRecoilNoPU().
CommonMETData noPileUpMEtUtilities::computeTrackRecoilPU | ( | const reco::MVAMEtPFCandInfoCollection & | pfCandidates, |
double * | sumAbsPx = 0 , |
||
double * | sumAbsPy = 0 |
||
) |
Definition at line 218 of file noPileUpMEtUtilities.cc.
References computePFCandidateSum(), alignCSCRings::e, reco::MVAMEtPFCandInfo::kPileUpCharged, and selectPFCandidates().
Referenced by computeHadRecoilPU().
void noPileUpMEtUtilities::finalizeMEtData | ( | CommonMETData & | metData | ) |
Definition at line 12 of file noPileUpMEtUtilities.cc.
References CommonMETData::met, CommonMETData::mex, CommonMETData::mey, CommonMETData::mez, CommonMETData::phi, and mathSSE::sqrt().
Referenced by computeHadRecoilNoPU(), computeHadRecoilPU(), computeJetSum(), computeJetSum_neutral(), computePFCandidateSum(), and computeTrackRecoil().
reco::MVAMEtJetInfo noPileUpMEtUtilities::jet | ( | const reco::MVAMEtJetInfoCollection & | jets, |
unsigned | idx | ||
) |
Definition at line 100 of file noPileUpMEtUtilities.cc.
References customizeTrackingMonitorSeedNumber::idx, fwrapper::jets, and python.multivaluedict::sort().
Referenced by cleanJets(), computeJetSum(), computeJetSum_neutral(), leadJet(), selectJets(), and subleadJet().
reco::MVAMEtJetInfo noPileUpMEtUtilities::leadJet | ( | const reco::MVAMEtJetInfoCollection & | jets | ) |
Definition at line 111 of file noPileUpMEtUtilities.cc.
References jet().
Referenced by EwkMuDQM::analyze().
reco::MVAMEtJetInfoCollection noPileUpMEtUtilities::selectJets | ( | const reco::MVAMEtJetInfoCollection & | jets, |
double | minJetPt, | ||
double | maxJetPt, | ||
int | type | ||
) |
Definition at line 42 of file noPileUpMEtUtilities.cc.
References jet(), reco::btau::jetPt, reco::MVAMEtJetInfo::kUndefined, reco::MVAMEtJetInfo::p4_, and reco::MVAMEtJetInfo::type_.
Referenced by computeHadRecoilNoPU(), and computeHadRecoilPU().
reco::MVAMEtPFCandInfoCollection noPileUpMEtUtilities::selectPFCandidates | ( | const reco::MVAMEtPFCandInfoCollection & | pfCandidates, |
double | minCharge, | ||
double | maxCharge, | ||
int | type, | ||
int | isWithinJet | ||
) |
Definition at line 146 of file noPileUpMEtUtilities.cc.
References funct::abs(), and reco::MVAMEtJetInfo::kUndefined.
Referenced by computeNeutralRecoil_unclustered(), computeTrackRecoil(), computeTrackRecoilNoPU(), and computeTrackRecoilPU().
reco::MVAMEtJetInfo noPileUpMEtUtilities::subleadJet | ( | const reco::MVAMEtJetInfoCollection & | jets | ) |
Definition at line 116 of file noPileUpMEtUtilities.cc.
References jet().