typedef const PFTau& reco::tau::disc::Tau |
Definition at line 25 of file RecoTauDiscriminantFunctions.h.
typedef std::vector<double> reco::tau::disc::VDouble |
Definition at line 26 of file RecoTauDiscriminantFunctions.h.
double reco::tau::disc::AbsEta | ( | Tau | tau | ) |
Definition at line 73 of file RecoTauDiscriminantFunctions.cc.
References abs, and reco::LeafCandidate::eta().
double reco::tau::disc::AbsJetEta | ( | Tau | tau | ) |
Definition at line 90 of file RecoTauDiscriminantFunctions.cc.
References abs, and reco::PFTau::jetRef().
VDouble reco::tau::disc::ChargedOutlierAngle | ( | Tau | tau | ) |
Definition at line 372 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFChargedHadrCands(), and reco::LeafCandidate::p4().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
VDouble reco::tau::disc::ChargedOutlierPt | ( | Tau | tau | ) |
Definition at line 367 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFChargedHadrCands(), and reco::LeafCandidate::pt().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
double reco::tau::disc::ChargedOutlierSumPt | ( | Tau | tau | ) |
Definition at line 324 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::isolationPFChargedHadrCandsPtSum().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return tau.isolationPFChargedHadrCandsPtSum(); }
VDouble reco::tau::disc::Dalitz | ( | Tau | tau | ) |
Definition at line 386 of file RecoTauDiscriminantFunctions.cc.
References Dalitz2().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
VDouble reco::tau::disc::Dalitz2 | ( | Tau | tau | ) |
Definition at line 187 of file RecoTauDiscriminantFunctions.cc.
References mainTrack(), notMainTrack(), convertSQLitetoXML_cfg::output, reco::LeafCandidate::p4(), p4, reco::PFTau::signalPiZeroCandidates(), and edm::RefVector< C, T, F >::size().
Referenced by Dalitz().
{ PFCandidateRef theMainTrack = mainTrack(tau); PFCandidateRefVector otherSignalTracks = notMainTrack(tau); const std::vector<RecoTauPiZero> &pizeros = tau.signalPiZeroCandidates(); VDouble output; output.reserve(otherSignalTracks.size() + pizeros.size()); // Add combos with tracks BOOST_FOREACH(PFCandidateRef trk, otherSignalTracks) { reco::Candidate::LorentzVector p4 = theMainTrack->p4() + trk->p4(); output.push_back(p4.mass()); } // Add combos with pizeros BOOST_FOREACH(const RecoTauPiZero &pizero, pizeros) { reco::Candidate::LorentzVector p4 = theMainTrack->p4() + pizero.p4(); output.push_back(p4.mass()); } return output; }
double reco::tau::disc::DecayMode | ( | Tau | tau | ) |
Definition at line 75 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::decayMode().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return tau.decayMode(); }
double reco::tau::disc::EMFraction | ( | Tau | tau | ) |
Definition at line 267 of file RecoTauDiscriminantFunctions.cc.
References gather_cfg::cout, reco::PFTau::dump(), edm::Ref< C, T, F >::key(), reco::LeafCandidate::pt(), query::result, reco::PFTau::signalPFChargedHadrCands(), and reco::PFTau::signalPFGammaCands().
{ //double result = tau.emFraction(); reco::Candidate::LorentzVector gammaP4; BOOST_FOREACH(const reco::PFCandidateRef& gamma, tau.signalPFGammaCands()) { gammaP4 += gamma->p4(); } double result = gammaP4.pt()/tau.pt(); if (result > 0.99) { std::cout << "EM fraction = " << result << tau << std::endl; tau.dump(std::cout); std::cout << "charged" << std::endl; BOOST_FOREACH(const reco::PFCandidateRef cand, tau.signalPFChargedHadrCands()) { std::cout << " pt: " << cand->pt() << " type: " << cand->particleId() << " key: " << cand.key() << std::endl; } std::cout << "gammas" << std::endl; BOOST_FOREACH(const reco::PFCandidateRef cand, tau.signalPFGammaCands()) { std::cout << " pt: " << cand->pt() << " type: " << cand->particleId() << " key: " << cand.key() << std::endl; } } return result; }
double reco::tau::disc::Eta | ( | Tau | tau | ) |
Definition at line 72 of file RecoTauDiscriminantFunctions.cc.
References reco::LeafCandidate::eta().
Referenced by SiStripGainFromData::algoBeginJob(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), HcalDetDiagNoiseMonitor::analyze(), ResolutionAnalyzer::analyze(), FFTJetProducer::beginJob(), DeDxDiscriminatorProducer::beginRun(), HLTJetMETDQMSource::beginRun(), JetMETHLTOfflineSource::beginRun(), AlphaTVarProducer::CalcAlphaT(), AlphaTVarProducer::CalcHT(), L1TauAnalyzer::calcL1MCPFTauMatching(), L1TauAnalyzer::calcL1MCTauMatching(), AlphaTVarProducer::CalcMHT(), reco::PFRecHit::calculatePositionREP(), PFTauDiscriminants::DiscriminantList::DiscriminantList(), L1TauAnalyzer::evalL1extraDecisions(), L1TauAnalyzer::fillGenHistograms(), L1TauAnalyzer::fillL1Histograms(), L1TauAnalyzer::fillPFTauHistograms(), PythiaFilterGammaGamma::filter(), PFJetAlgorithm::FindJets(), DTMuonMillepede::getbqcMatrix(), DTMuonMillepede::getCqcMatrix(), CovarianceMatrix::getEtaDependentScaleFactor(), EcalClusterCrackCorrection::getValue(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), HLTElectronEtFilter::hltFilter(), HLTElectronGenericFilter::hltFilter(), likelihood(), HcalDetDiagLaserMonitor::LoadDataset(), HcalDetDiagPedestalMonitor::LoadDataset(), HcalDetDiagLEDMonitor::LoadReference(), HcalDetDiagLaserMonitor::LoadReference(), HcalDetDiagPedestalMonitor::LoadReference(), EcalClusterLocal::localCoordsEB(), EcalClusterLocal::localCoordsEE(), reco::PFRecHit::PFRecHit(), PFTauElecRejectionBenchmark::process(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), KDTreeLinkerTrackHcal::searchLinks(), KDTreeLinkerTrackEcal::searchLinks(), reco::PFRecHit::setCorner(), FastL1BitInfo::setEta(), HLTJetMETDQMSource::PathInfo::setHistos(), JetMETHLTOfflineSource::PathInfo::setHistos(), BTagHLTOfflineSource::PathInfo::setHistos(), LinkByRecHit::testTrackAndClusterByRecHit(), TEcnaHistos::TowerCrystalNumbering(), and PFJetAlgorithm::Update().
{ return tau.eta(); }
VDouble reco::tau::disc::FilteredObjectPt | ( | Tau | tau | ) |
Definition at line 392 of file RecoTauDiscriminantFunctions.cc.
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return VDouble(); }
VDouble reco::tau::disc::GammaOccupancy | ( | Tau | tau | ) |
Definition at line 393 of file RecoTauDiscriminantFunctions.cc.
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return VDouble(); }
VDouble reco::tau::disc::GammaPt | ( | Tau | tau | ) |
Definition at line 394 of file RecoTauDiscriminantFunctions.cc.
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return VDouble(); }
double reco::tau::disc::ImpactParameterSignificance | ( | Tau | tau | ) |
Definition at line 291 of file RecoTauDiscriminantFunctions.cc.
References abs, and reco::PFTau::leadPFChargedHadrCandsignedSipt().
VDouble reco::tau::disc::InvariantMass | ( | Tau | tau | ) |
Definition at line 396 of file RecoTauDiscriminantFunctions.cc.
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList(), ErsatzMEt::ersatzFabrik(), ErsatzMEt::probeFinder(), TagProbeMassProducer::produce(), and HemisphereAlgo::reconstruct().
{ return VDouble(); }
double reco::tau::disc::InvariantMassOfSignal | ( | Tau | tau | ) |
Definition at line 76 of file RecoTauDiscriminantFunctions.cc.
References reco::LeafCandidate::mass().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return tau.mass(); }
VDouble reco::tau::disc::InvariantMassOfSignalWithFiltered | ( | Tau | tau | ) |
Definition at line 395 of file RecoTauDiscriminantFunctions.cc.
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return VDouble(); }
double reco::tau::disc::IsolationChargedAveragePtFraction | ( | Tau | tau | ) |
Definition at line 176 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::isolationPFChargedHadrCands(), reco::PFTau::isolationPFChargedHadrCandsPtSum(), reco::PFTau::leadPFChargedHadrCand(), and edm::RefVector< C, T, F >::size().
double reco::tau::disc::IsolationChargedPtFraction | ( | Tau | tau | ) |
Definition at line 108 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::isolationPFChargedHadrCandsPtSum(), and reco::PFTau::jetRef().
double reco::tau::disc::IsolationChargedSumHard | ( | Tau | tau | ) |
Definition at line 206 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFChargedHadrCands(), convertSQLitetoXML_cfg::output, and reco::LeafCandidate::pt().
Referenced by IsolationChargedSumHardRelative().
double reco::tau::disc::IsolationChargedSumHardRelative | ( | Tau | tau | ) |
Definition at line 229 of file RecoTauDiscriminantFunctions.cc.
References IsolationChargedSumHard(), and reco::PFTau::jetRef().
{ return IsolationChargedSumHard(tau)/tau.jetRef()->pt(); }
double reco::tau::disc::IsolationChargedSumSoft | ( | Tau | tau | ) |
Definition at line 217 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFChargedHadrCands(), convertSQLitetoXML_cfg::output, and reco::LeafCandidate::pt().
Referenced by IsolationChargedSumSoftRelative().
double reco::tau::disc::IsolationChargedSumSoftRelative | ( | Tau | tau | ) |
Definition at line 233 of file RecoTauDiscriminantFunctions.cc.
References IsolationChargedSumSoft(), and reco::PFTau::jetRef().
{ return IsolationChargedSumSoft(tau)/tau.jetRef()->pt(); }
double reco::tau::disc::IsolationECALPtFraction | ( | Tau | tau | ) |
Definition at line 112 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::isolationPFGammaCandsEtSum(), and reco::PFTau::jetRef().
double reco::tau::disc::IsolationECALSumHard | ( | Tau | tau | ) |
Definition at line 237 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFGammaCands(), convertSQLitetoXML_cfg::output, and reco::LeafCandidate::pt().
Referenced by IsolationECALSumHardRelative().
double reco::tau::disc::IsolationECALSumHardRelative | ( | Tau | tau | ) |
Definition at line 260 of file RecoTauDiscriminantFunctions.cc.
References IsolationECALSumHard(), and reco::PFTau::jetRef().
{ return IsolationECALSumHard(tau)/tau.jetRef()->pt(); }
double reco::tau::disc::IsolationECALSumSoft | ( | Tau | tau | ) |
Definition at line 248 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFGammaCands(), convertSQLitetoXML_cfg::output, and reco::LeafCandidate::pt().
Referenced by IsolationECALSumSoftRelative().
double reco::tau::disc::IsolationECALSumSoftRelative | ( | Tau | tau | ) |
Definition at line 263 of file RecoTauDiscriminantFunctions.cc.
References IsolationECALSumSoft(), and reco::PFTau::jetRef().
{ return IsolationECALSumSoft(tau)/tau.jetRef()->pt(); }
double reco::tau::disc::IsolationNeutralHadronPtFraction | ( | Tau | tau | ) |
Definition at line 116 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::isolationPFNeutrHadrCands(), and reco::PFTau::jetRef().
{ double sum = 0.0; BOOST_FOREACH(PFCandidateRef cand, tau.isolationPFNeutrHadrCands()) { sum += cand->pt(); } return sum/tau.jetRef()->pt(); }
double reco::tau::disc::JetEta | ( | Tau | tau | ) |
Definition at line 86 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::jetRef().
{ return tau.jetRef()->eta(); }
double reco::tau::disc::JetPt | ( | Tau | tau | ) |
Definition at line 82 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::jetRef().
Referenced by BTagHLTOfflineSource::beginRun(), JetMETHLTOfflineSource::beginRun(), BTagHLTOfflineSource::PathInfo::setDgnsHistos(), and JetMETHLTOfflineSource::PathInfo::setDgnsHistos().
{ return tau.jetRef()->pt(); }
double reco::tau::disc::JetTauDR | ( | Tau | tau | ) |
Definition at line 100 of file RecoTauDiscriminantFunctions.cc.
References reco::deltaR(), reco::PFTau::jetRef(), and reco::LeafCandidate::p4().
{ return reco::deltaR(tau.p4(), tau.jetRef()->p4()); }
double reco::tau::disc::JetWidth | ( | Tau | tau | ) |
Definition at line 94 of file RecoTauDiscriminantFunctions.cc.
References abs, reco::PFTau::jetRef(), and mathSSE::sqrt().
PFCandidateRef reco::tau::disc::mainTrack | ( | const PFTau & | tau | ) |
For three prong events, take the track that has charge opposite to the composite charge.
Referenced by Dalitz2(), MainTrackAngle(), MainTrackEta(), MainTrackPt(), MainTrackPtFraction(), and notMainTrack().
PFCandidateRef reco::tau::disc::mainTrack | ( | Tau | tau | ) |
Definition at line 49 of file RecoTauDiscriminantFunctions.cc.
References reco::LeafCandidate::charge(), reco::PFTau::leadPFChargedHadrCand(), reco::PFTau::signalPFChargedHadrCands(), and edm::RefVector< C, T, F >::size().
double reco::tau::disc::MainTrackAngle | ( | Tau | tau | ) |
Definition at line 314 of file RecoTauDiscriminantFunctions.cc.
References reco::deltaR(), mainTrack(), and reco::LeafCandidate::p4().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ PFCandidateRef trk = mainTrack(tau); return (!trk) ? 0.0 : deltaR(trk->p4(), tau.p4()); }
double reco::tau::disc::MainTrackEta | ( | Tau | tau | ) |
Definition at line 309 of file RecoTauDiscriminantFunctions.cc.
References mainTrack().
{ PFCandidateRef trk = mainTrack(tau); return (!trk) ? 0.0 : trk->eta(); }
double reco::tau::disc::MainTrackPt | ( | Tau | tau | ) |
Definition at line 304 of file RecoTauDiscriminantFunctions.cc.
References mainTrack().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ PFCandidateRef trk = mainTrack(tau); return (!trk) ? 0.0 : trk->pt(); }
double reco::tau::disc::MainTrackPtFraction | ( | Tau | tau | ) |
Definition at line 183 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::jetRef(), and mainTrack().
double reco::tau::disc::Mass | ( | Tau | tau | ) |
Definition at line 74 of file RecoTauDiscriminantFunctions.cc.
References reco::LeafCandidate::mass().
Referenced by TFitConstraintM::setMassConstraint(), TFitConstraintMGaus::setMassConstraint(), and TFitConstraintM::TFitConstraintM().
{ return tau.mass(); }
VDouble reco::tau::disc::NeutralOutlierAngle | ( | Tau | tau | ) |
Definition at line 381 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFGammaCands(), and reco::LeafCandidate::p4().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
VDouble reco::tau::disc::NeutralOutlierPt | ( | Tau | tau | ) |
Definition at line 376 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFGammaCands(), and reco::LeafCandidate::pt().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
double reco::tau::disc::NeutralOutlierSumPt | ( | Tau | tau | ) |
Definition at line 328 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::isolationPFGammaCandsEtSum().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return tau.isolationPFGammaCandsEtSum(); }
PFCandidateRefVector reco::tau::disc::notMainTrack | ( | Tau | tau | ) |
Definition at line 59 of file RecoTauDiscriminantFunctions.cc.
References mainTrack(), convertSQLitetoXML_cfg::output, edm::RefVector< C, T, F >::push_back(), edm::RefVector< C, T, F >::reserve(), reco::PFTau::signalPFChargedHadrCands(), and edm::RefVector< C, T, F >::size().
Referenced by Dalitz2(), TrackAngle(), TrackEta(), and TrackPt().
{ const PFCandidateRef& mainTrackRef = mainTrack(tau); PFCandidateRefVector output; output.reserve(tau.signalPFChargedHadrCands().size() - 1); BOOST_FOREACH(const PFCandidateRef& ref, tau.signalPFChargedHadrCands()) { if (ref != mainTrackRef) output.push_back(ref); } return output; }
double reco::tau::disc::OpeningAngle3D | ( | Tau | tau | ) |
Definition at line 141 of file RecoTauDiscriminantFunctions.cc.
References angle(), reco::LeafCandidate::p4(), and reco::PFTau::signalPFCands().
{ double sumE = 0; double weightedAngle = 0; BOOST_FOREACH(const reco::PFCandidateRef& cand, tau.signalPFCands()) { double candE = cand->energy(); double candAngle = angle(cand->p4(), tau.p4()); sumE += candE; weightedAngle += candAngle*candE; } return (sumE > 0) ? weightedAngle/sumE : 0.0; }
double reco::tau::disc::OpeningDeltaR | ( | Tau | tau | ) |
Definition at line 129 of file RecoTauDiscriminantFunctions.cc.
References reco::deltaR(), reco::LeafCandidate::p4(), and reco::PFTau::signalPFCands().
Referenced by reco::tau::RecoTauDiscriminantInvariantWidth::operator()().
{ double sumEt = 0; double weightedDeltaR = 0; BOOST_FOREACH(const reco::PFCandidateRef& cand, tau.signalPFCands()) { double candEt = cand->et(); double candDeltaR = reco::deltaR(cand->p4(), tau.p4()); sumEt += candEt; weightedDeltaR += candDeltaR*candEt; } return (sumEt > 0) ? weightedDeltaR/sumEt : 0.0; }
VDouble reco::tau::disc::OutlierAngle | ( | Tau | tau | ) |
Definition at line 363 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFCands(), and reco::LeafCandidate::p4().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
VDouble reco::tau::disc::OutlierMass | ( | Tau | tau | ) |
Definition at line 397 of file RecoTauDiscriminantFunctions.cc.
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return VDouble(); }
double reco::tau::disc::OutlierN | ( | Tau | tau | ) |
Definition at line 295 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::isolationPFChargedHadrCands(), reco::PFTau::isolationPFGammaCands(), and edm::RefVector< C, T, F >::size().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
double reco::tau::disc::OutlierNCharged | ( | Tau | tau | ) |
Definition at line 300 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::isolationPFChargedHadrCands(), and edm::RefVector< C, T, F >::size().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return tau.isolationPFChargedHadrCands().size(); }
VDouble reco::tau::disc::OutlierPt | ( | Tau | tau | ) |
Definition at line 359 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::PFTau::isolationPFCands(), and reco::LeafCandidate::pt().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
double reco::tau::disc::OutlierSumPt | ( | Tau | tau | ) |
Definition at line 319 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::isolationPFChargedHadrCandsPtSum(), and reco::PFTau::isolationPFGammaCandsEtSum().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
VDouble reco::tau::disc::PiZeroAngle | ( | Tau | tau | ) |
Definition at line 354 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::LeafCandidate::p4(), and reco::PFTau::signalPiZeroCandidates().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
VDouble reco::tau::disc::PiZeroEta | ( | Tau | tau | ) |
Definition at line 350 of file RecoTauDiscriminantFunctions.cc.
References reco::LeafCandidate::eta(), extract(), and reco::PFTau::signalPiZeroCandidates().
{ return extract(tau.signalPiZeroCandidates(), std::mem_fun_ref(&RecoTauPiZero::eta)); }
VDouble reco::tau::disc::PiZeroPt | ( | Tau | tau | ) |
Definition at line 346 of file RecoTauDiscriminantFunctions.cc.
References extract(), reco::LeafCandidate::pt(), and reco::PFTau::signalPiZeroCandidates().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
double reco::tau::disc::Pt | ( | Tau | tau | ) |
Definition at line 71 of file RecoTauDiscriminantFunctions.cc.
References reco::LeafCandidate::pt().
Referenced by AlphaT::AlphaT(), HCALRecHitAnalyzer::analyze(), DijetMass< Jet >::analyze(), ResolutionAnalyzer::analyze(), CaloTowerAnalyzer::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), JetMETHLTOfflineSource::beginRun(), L1TauAnalyzer::calcL1MCPFTauMatching(), L1TauAnalyzer::calcL1MCTauMatching(), PFTauDiscriminants::DiscriminantList::DiscriminantList(), L1TauAnalyzer::evalL1extraDecisions(), PythiaFilterGammaGamma::filter(), PFBlockAlgo::goodPtResolution(), GlobalTrackerMuonAlignment::gradientGlobal(), GlobalTrackerMuonAlignment::gradientLocal(), BaseParticlePropagator::helixRadius(), HLTJetSortedVBFFilter< T >::hltFilter(), HLTElectronEtFilter::hltFilter(), HLTElectronGenericFilter::hltFilter(), HLTDoublet< T1, T2 >::hltFilter(), BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToBeamCylinder(), BaseParticlePropagator::propagateToClosestApproach(), CSCTFPtMethods::Pt2Stn(), CSCTFPtMethods::Pt2Stn2010(), CSCTFPtMethods::Pt2Stn2011(), CSCTFPtMethods::Pt2Stn2012(), CSCTFPtMethods::Pt2Stn2012_DT(), CSCTFPtMethods::Pt3Stn(), CSCTFPtMethods::Pt3Stn2010(), CSCTFPtMethods::Pt3Stn2011(), CSCTFPtMethods::Pt3Stn2012(), CSCTFPtMethods::Pt3Stn2012_DT(), MuScleFit::selectMuons(), JetMETHLTOfflineSource::PathInfo::setHistos(), BTagHLTOfflineSource::PathInfo::setHistos(), ECALRecHitAnalyzer::WriteECALRecHits(), and BaseParticlePropagator::xyImpactParameter().
{ return tau.pt(); }
double reco::tau::disc::ScaledEtaJetCollimation | ( | Tau | tau | ) |
Definition at line 124 of file RecoTauDiscriminantFunctions.cc.
References abs, reco::PFTau::jetRef(), and mathSSE::sqrt().
double reco::tau::disc::ScaledOpeningDeltaR | ( | Tau | tau | ) |
Definition at line 153 of file RecoTauDiscriminantFunctions.cc.
References reco::deltaR(), i, j, max(), p4, reco::LeafCandidate::pt(), reco::PFTau::signalPFCands(), and edm::RefVector< C, T, F >::size().
{ double max = 0.0; const PFCandidateRefVector& cands = tau.signalPFCands(); for (size_t i = 0; i < cands.size()-1; ++i) { for (size_t j = i+1; j < cands.size(); ++j) { double deltaRVal = deltaR(cands[i]->p4(), cands[j]->p4()); if (deltaRVal > max) { max = deltaRVal; } } } // Correct for resolution if ( max < 0.05 ) max = 0.05; // Make invariant of PT return max*tau.pt();; }
double reco::tau::disc::ScaledPhiJetCollimation | ( | Tau | tau | ) |
Definition at line 171 of file RecoTauDiscriminantFunctions.cc.
References abs, reco::PFTau::jetRef(), and mathSSE::sqrt().
double reco::tau::disc::SignalPtFraction | ( | Tau | tau | ) |
Definition at line 104 of file RecoTauDiscriminantFunctions.cc.
References reco::PFTau::jetRef(), and reco::LeafCandidate::pt().
VDouble reco::tau::disc::TrackAngle | ( | Tau | tau | ) |
Definition at line 341 of file RecoTauDiscriminantFunctions.cc.
References extract(), notMainTrack(), and reco::LeafCandidate::p4().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
{ return extract(notMainTrack(tau), DeltaRToAxis(tau.p4())); }
VDouble reco::tau::disc::TrackEta | ( | Tau | tau | ) |
Definition at line 337 of file RecoTauDiscriminantFunctions.cc.
References reco::LeafCandidate::eta(), extract(), and notMainTrack().
{ return extract(notMainTrack(tau), std::mem_fun_ref(&PFCandidate::eta)); }
VDouble reco::tau::disc::TrackPt | ( | Tau | tau | ) |
Definition at line 333 of file RecoTauDiscriminantFunctions.cc.
References extract(), notMainTrack(), and reco::LeafCandidate::pt().
Referenced by PFTauDiscriminants::DiscriminantList::DiscriminantList().
{ return extract(notMainTrack(tau), std::mem_fun_ref(&PFCandidate::pt)); }