Namespaces | |
cone | |
disc | |
helpers | |
qcuts | |
xclean | |
Typedefs | |
typedef tau::CombinatoricGenerator< ChargedHadronList > | ChargedHadronCombo |
typedef std::vector< reco::PFRecoTauChargedHadron > | ChargedHadronList |
typedef PFRecoTauChargedHadronFromGenericTrackPlugin< pat::PackedCandidate > | PFRecoTauChargedHadronFromLostTrackPlugin |
typedef PFRecoTauChargedHadronFromGenericTrackPlugin< reco::Track > | PFRecoTauChargedHadronFromTrackPlugin |
typedef tau::CombinatoricGenerator< PiZeroList > | PiZeroCombo |
typedef std::vector< RecoTauPiZero > | PiZeroList |
Enumerations | |
enum | { kOldDMwoLT, kOldDMwLT, kNewDMwoLT, kNewDMwLT, kDBoldDMwLT, kDBnewDMwLT, kPWoldDMwLT, kPWnewDMwLT, kDBoldDMwLTwGJ, kDBnewDMwLTwGJ } |
Functions | |
math::XYZPointF | atECALEntrance (const reco::Candidate *part, double bField) |
template<typename RefVectorType , typename BaseView > | |
RefVectorType | castView (const edm::Handle< BaseView > &view) |
Convert a BaseView (View<T>) to a TRefVector. More... | |
unsigned int | chargedHadronsInDecayMode (PFTau::hadronicDecayMode mode) |
Reverse mapping of decay modes into multiplicities. More... | |
template<typename Container , class OverlapFunction > | |
Container | cleanOverlaps (const Container &dirty) |
reco::Candidate::LorentzVector | compChargedHadronP4fromPThetaPhi (double, double, double) |
reco::Candidate::LorentzVector | compChargedHadronP4fromPxPyPz (double, double, double) |
void | countHits (const reco::Muon &muon, std::vector< int > &numHitsDT, std::vector< int > &numHitsCSC, std::vector< int > &numHitsRPC) |
void | countMatches (const reco::Muon &muon, std::vector< int > &numMatchesDT, std::vector< int > &numMatchesCSC, std::vector< int > &numMatchesRPC) |
std::string | discPluginName (const std::string &mvaName) |
float | eratio (const reco::PFTau &tau) |
return ratio of energy in ECAL over sum of energy in ECAL and HCAL More... | |
float | eratio (const pat::Tau &tau) |
std::pair< edm::ParameterSet, edm::ParameterSet > | factorizePUQCuts (const edm::ParameterSet &inputSet) |
bool | fillIsoMVARun2Inputs (float *mvaInput, const pat::Tau &tau, int mvaOpt, const std::string &nameCharged, const std::string &nameNeutral, const std::string &namePu, const std::string &nameOutside, const std::string &nameFootprint) |
template<typename Iterator > | |
std::vector< CandidatePtr > | filterPFCandidates (const Iterator &begin, const Iterator &end, int pdgId, bool sort=true) |
std::vector< CandidatePtr > | flattenPiZeros (const std::vector< RecoTauPiZero >::const_iterator &, const std::vector< RecoTauPiZero >::const_iterator &) |
Flatten a list of pi zeros into a list of there constituent PFCandidates. More... | |
std::vector< CandidatePtr > | flattenPiZeros (const std::vector< RecoTauPiZero > &) |
std::string | format_vint (const std::vector< int > &vi) |
PFTau::hadronicDecayMode | getDecayMode (const reco::GenJet *genJet) |
const reco::Track * | getTrackFromChargedHadron (const reco::PFRecoTauChargedHadron &chargedHadron) |
template<class Base , class Der > | |
bool | isPtrEqual (const edm::Ptr< Base > &b, const edm::Ptr< Der > &d) |
template<class Base > | |
bool | isPtrEqual (const edm::Ptr< Base > &b, const edm::Ptr< Base > &d) |
float | lead_track_chi2 (const reco::PFTau &tau) |
return chi2 of the leading track ==> deprecated? <== More... | |
template<typename InputIterator > | |
InputIterator | leadCand (InputIterator begin, InputIterator end) |
unsigned int | n_photons_total (const reco::PFTau &tau) |
return total number of pf photon candidates with pT>500 MeV, which are associated to signal More... | |
unsigned int | n_photons_total (const pat::Tau &tau) |
std::vector< CandidatePtr > | pfCandidates (const Jet &jet, int particleId, bool sort=true) |
std::vector< CandidatePtr > | pfCandidates (const Jet &jet, const std::vector< int > &particleIds, bool sort=true) |
Extract pfCandidates of a that match a list of particle Ids from a PFJet. More... | |
std::vector< CandidatePtr > | pfCandidatesByPdgId (const Jet &jet, int pdgId, bool sort=true) |
std::vector< CandidatePtr > | pfCandidatesByPdgId (const Jet &jet, const std::vector< int > &pdgIds, bool sort=true) |
Extract pfCandidates of a that match a list of PDG Ids from a PFJet. More... | |
std::vector< CandidatePtr > | pfChargedCands (const Jet &jet, bool sort=true) |
Extract all non-neutral candidates from a PFJet. More... | |
std::vector< CandidatePtr > | pfGammas (const Jet &jet, bool sort=true) |
Extract all pfGammas from a PFJet. More... | |
unsigned int | piZerosInDecayMode (PFTau::hadronicDecayMode mode) |
float | pt_weighted_deta_strip (const reco::PFTau &tau, int dm) |
float | pt_weighted_deta_strip (const pat::Tau &tau, int dm) |
float | pt_weighted_dphi_strip (const reco::PFTau &tau, int dm) |
float | pt_weighted_dphi_strip (const pat::Tau &tau, int dm) |
float | pt_weighted_dr_iso (const reco::PFTau &tau, int dm) |
float | pt_weighted_dr_iso (const pat::Tau &tau, int dm) |
float | pt_weighted_dr_signal (const reco::PFTau &tau, int dm) |
float | pt_weighted_dr_signal (const pat::Tau &tau, int dm) |
float | pt_weighted_dx (const reco::PFTau &tau, int mode=0, int var=0, int decaymode=-1) |
float | pt_weighted_dx (const pat::Tau &tau, int mode=0, int var=0, int decaymode=-1) |
template<typename T > | |
float | pt_weighted_dx_T (const typename T::Tau_t &tau, int mode, int var, int decaymode) |
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< PATTauDiscriminationByMVAIsolationRun2 > > | s_filler__LINE__ ("PATTauDiscriminationByMVAIsolationRun2") |
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< PFRecoTauDiscriminationByMVAIsolationRun2 > > | s_filler__LINE__ ("PFRecoTauDiscriminationByMVAIsolationRun2") |
static const edm::MakerPluginFactory::PMaker< edm::WorkerMaker< PATTauDiscriminationByMVAIsolationRun2 > > | s_maker__LINE__ ("PATTauDiscriminationByMVAIsolationRun2") |
static const edm::MakerPluginFactory::PMaker< edm::WorkerMaker< PFRecoTauDiscriminationByMVAIsolationRun2 > > | s_maker__LINE__ ("PFRecoTauDiscriminationByMVAIsolationRun2") |
void | setChargedHadronP4 (reco::PFRecoTauChargedHadron &chargedHadron, double scaleFactor_neutralPFCands=1.0) |
template<typename InputIterator > | |
int | sumPFCandCharge (InputIterator begin, InputIterator end) |
Sum the charge of a collection of PFCandidates. More... | |
template<typename InputIterator > | |
reco::Candidate::LorentzVector | sumPFCandP4 (InputIterator begin, InputIterator end) |
template<typename InputIterator > | |
double | sumPFCandPt (InputIterator begin, InputIterator end) |
Sum the pT of a collection of PFCandidates. More... | |
template<typename InputIterator , typename FunctionPtr , typename ReturnType > | |
ReturnType | sumPFVector (InputIterator begin, InputIterator end, FunctionPtr func, ReturnType init) |
Sum the four vectors in a collection of PFCandidates. More... | |
template<typename InputIterator > | |
InputIterator | takeNElements (const InputIterator &begin, const InputIterator &end, size_t N) |
PFTau::hadronicDecayMode | translateDecayMode (unsigned int nCharged, unsigned int nPiZero) |
PFTau::hadronicDecayMode | translateGenDecayModeToReco (const std::string &genName) |
Convert a genTau decay mode string ('oneProng0Pi0') to the RECO enum. More... | |
std::string | translateRecoDecayModeToGen (PFTau::hadronicDecayMode decayMode) |
Convert a RECO enum decay mode to a string ('oneProng0Pi0') More... | |
Definition at line 24 of file RecoTauBuilderCombinatoricPlugin.cc.
typedef std::vector<reco::PFRecoTauChargedHadron> reco::tau::ChargedHadronList |
Definition at line 23 of file RecoTauBuilderCombinatoricPlugin.cc.
typedef PFRecoTauChargedHadronFromGenericTrackPlugin<pat::PackedCandidate> reco::tau::PFRecoTauChargedHadronFromLostTrackPlugin |
Definition at line 333 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
typedef PFRecoTauChargedHadronFromGenericTrackPlugin<reco::Track> reco::tau::PFRecoTauChargedHadronFromTrackPlugin |
Definition at line 332 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Definition at line 26 of file RecoTauBuilderCombinatoricPlugin.cc.
typedef std::vector< RecoTauPiZero > reco::tau::PiZeroList |
Definition at line 25 of file RecoTauBuilderCombinatoricPlugin.cc.
anonymous enum |
Enumerator | |
---|---|
kOldDMwoLT | |
kOldDMwLT | |
kNewDMwoLT | |
kNewDMwLT | |
kDBoldDMwLT | |
kDBnewDMwLT | |
kPWoldDMwLT | |
kPWnewDMwLT | |
kDBoldDMwLTwGJ | |
kDBnewDMwLTwGJ |
Definition at line 66 of file PFRecoTauClusterVariables.h.
math::XYZPointF reco::tau::atECALEntrance | ( | const reco::Candidate * | part, |
double | bField | ||
) |
Definition at line 108 of file RecoTauCommonUtilities.cc.
References ecalTB2006H4_GenSimDigiReco_cfg::bField, reco::Candidate::charge(), reco::Candidate::energy(), BaseParticlePropagator::getSuccess(), BaseParticlePropagator::particle(), reco::PFCandidate::positionAtECALEntrance(), BaseParticlePropagator::propagateToEcalEntrance(), reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), reco::Candidate::vertex(), and RawParticle::vertex().
Referenced by leadCand(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), and reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()().
RefVectorType reco::tau::castView | ( | const edm::Handle< BaseView > & | view | ) |
Convert a BaseView (View<T>) to a TRefVector.
Definition at line 86 of file RecoTauCommonUtilities.h.
References mps_fire::i, and convertSQLitetoXML_cfg::output.
unsigned int reco::tau::chargedHadronsInDecayMode | ( | PFTau::hadronicDecayMode | mode | ) |
Reverse mapping of decay modes into multiplicities.
Definition at line 45 of file PFTauDecayModeTools.cc.
References reco::PFTau::kOneProngNPiZero, and mode.
Container reco::tau::cleanOverlaps | ( | const Container & | dirty | ) |
Definition at line 33 of file RecoTauCleaningTools.h.
References clean, and analyzePatCleaning_cfg::overlaps.
reco::Candidate::LorentzVector reco::tau::compChargedHadronP4fromPThetaPhi | ( | double | chargedHadronP, |
double | chargedHadronTheta, | ||
double | chargedHadronPhi | ||
) |
Definition at line 84 of file pfRecoTauChargedHadronAuxFunctions.cc.
References compChargedHadronP4fromPxPyPz().
reco::Candidate::LorentzVector reco::tau::compChargedHadronP4fromPxPyPz | ( | double | chargedHadronPx, |
double | chargedHadronPy, | ||
double | chargedHadronPz | ||
) |
Definition at line 76 of file pfRecoTauChargedHadronAuxFunctions.cc.
References mathSSE::sqrt().
Referenced by compChargedHadronP4fromPThetaPhi(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), and setChargedHadronP4().
void reco::tau::countHits | ( | const reco::Muon & | muon, |
std::vector< int > & | numHitsDT, | ||
std::vector< int > & | numHitsCSC, | ||
std::vector< int > & | numHitsRPC | ||
) |
Definition at line 6 of file RecoTauMuonTools.cc.
References TrackingRecHit::bad, reco::HitPattern::getHitPattern(), reco::HitPattern::getHitType(), reco::HitPattern::getMuonStation(), edm::Ref< C, T, F >::isNonnull(), reco::HitPattern::muonCSCHitFilter(), reco::HitPattern::muonDTHitFilter(), reco::HitPattern::muonHitFilter(), reco::HitPattern::muonRPCHitFilter(), reco::HitPattern::numberOfAllHits(), reco::Muon::outerTrack(), reco::HitPattern::TRACK_HITS, and TrackingRecHit::valid.
Referenced by reco::HitPattern::numberOfAllTrackerHits(), reco::HitPattern::numberOfBadHits(), reco::HitPattern::numberOfInactiveHits(), reco::HitPattern::numberOfLostHits(), reco::HitPattern::numberOfMuonHits(), reco::HitPattern::numberOfTimingHits(), and reco::HitPattern::numberOfValidHits().
void reco::tau::countMatches | ( | const reco::Muon & | muon, |
std::vector< int > & | numMatchesDT, | ||
std::vector< int > & | numMatchesCSC, | ||
std::vector< int > & | numMatchesRPC | ||
) |
Definition at line 38 of file RecoTauMuonTools.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, reco::Muon::matches(), and MuonSubdetId::RPC.
|
inline |
Definition at line 23 of file RecoTauDiscriminantPlugins.h.
References taus_updatedMVAIds_cff::mvaName.
Referenced by PFTauMVAInputDiscriminantTranslator::PFTauMVAInputDiscriminantTranslator().
float reco::tau::eratio | ( | const reco::PFTau & | tau | ) |
return ratio of energy in ECAL over sum of energy in ECAL and HCAL
Definition at line 66 of file PFRecoTauClusterVariables.cc.
References reco::PFCandidate::ecalEnergy(), reco::PFCandidate::hcalEnergy(), reco::PFTau::signalCands(), and pileupDistInMC::total.
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
float reco::tau::eratio | ( | const pat::Tau & | tau | ) |
Definition at line 83 of file PFRecoTauClusterVariables.cc.
References pat::Tau::ecalEnergy(), pat::Tau::hcalEnergy(), and pileupDistInMC::total.
std::pair< edm::ParameterSet, edm::ParameterSet > reco::tau::factorizePUQCuts | ( | const edm::ParameterSet & | inputSet | ) |
Definition at line 387 of file RecoTauQualityCuts.cc.
References edm::ParameterSet::copyFrom(), TkAlMuonSelectors_cfi::cut, and edm::ParameterSet::getParameterNames().
Referenced by PFRecoTauDiscriminationByIsolation::PFRecoTauDiscriminationByIsolation().
bool reco::tau::fillIsoMVARun2Inputs | ( | float * | mvaInput, |
const pat::Tau & | tau, | ||
int | mvaOpt, | ||
const std::string & | nameCharged, | ||
const std::string & | nameNeutral, | ||
const std::string & | namePu, | ||
const std::string & | nameOutside, | ||
const std::string & | nameFootprint | ||
) |
Definition at line 171 of file PFRecoTauClusterVariables.cc.
References funct::abs(), tauProducer_cfi::chargedIsoPtSum, pat::Tau::decayMode(), pat::Tau::dxy(), pat::Tau::dxy_Sig(), MillePedeFileConverter_cfg::e, eratio(), reco::LeafCandidate::eta(), f, pat::Tau::flightLength(), pat::Tau::flightLengthSig(), tauProducer_cfi::footprintCorrection, pat::Tau::hasSecondaryVertex(), pat::Tau::ip3d(), pat::Tau::ip3d_Sig(), kDBnewDMwLT, kDBnewDMwLTwGJ, kDBoldDMwLT, kDBoldDMwLTwGJ, kNewDMwLT, kNewDMwoLT, kOldDMwLT, kOldDMwoLT, kPWnewDMwLT, kPWoldDMwLT, pat::Tau::leadingTrackNormChi2(), cmsBatch::log, SiStripPI::max, min(), n_photons_total(), tauProducer_cfi::neutralIsoPtSum, reco::LeafCandidate::p(), reco::LeafCandidate::p4(), tauProducer_cfi::photonPtSumOutsideSignalCone, funct::pow(), reco::LeafCandidate::pt(), pt_weighted_deta_strip(), pt_weighted_dphi_strip(), pt_weighted_dr_iso(), pt_weighted_dr_signal(), tauProducer_cfi::puCorrPtSum, mathSSE::sqrt(), and pat::Tau::tauID().
Referenced by reco::tau::PATTauDiscriminationByMVAIsolationRun2::discriminate().
std::vector<CandidatePtr> reco::tau::filterPFCandidates | ( | const Iterator & | begin, |
const Iterator & | end, | ||
int | pdgId, | ||
bool | sort = true |
||
) |
Filter a collection of objects that are convertible to CandidatePtrs by PFCandidate ID
Definition at line 42 of file RecoTauCommonUtilities.h.
References funct::abs(), end, flattenPiZeros(), metsig::jet, convertSQLitetoXML_cfg::output, common_cff::pdgId, pfCandidates(), pfCandidatesByPdgId(), pfChargedCands(), pfGammas(), and jetUpdater_cfi::sort.
Referenced by pfCandidatesByPdgId(), and pfChargedCands().
std::vector< CandidatePtr > reco::tau::flattenPiZeros | ( | const std::vector< RecoTauPiZero >::const_iterator & | piZerosBegin, |
const std::vector< RecoTauPiZero >::const_iterator & | piZerosEnd | ||
) |
Flatten a list of pi zeros into a list of there constituent PFCandidates.
Definition at line 35 of file RecoTauCommonUtilities.cc.
References convertSQLitetoXML_cfg::output.
Referenced by filterPFCandidates(), flattenPiZeros(), reco::tau::xclean::CrossCleanPtrs< PtrIter >::initialize(), and reco::tau::RecoTauPhotonFilter::operator()().
std::vector< CandidatePtr > reco::tau::flattenPiZeros | ( | const std::vector< RecoTauPiZero > & | piZeros | ) |
Definition at line 49 of file RecoTauCommonUtilities.cc.
References flattenPiZeros().
std::string reco::tau::format_vint | ( | const std::vector< int > & | vi | ) |
PFTau::hadronicDecayMode reco::tau::getDecayMode | ( | const reco::GenJet * | genJet | ) |
Definition at line 80 of file PFTauDecayModeTools.cc.
References JetMCTagUtils::genTauDecayMode(), reco::PFTau::kNull, and translateGenDecayModeToReco().
Referenced by tautools::RecoTauDecayModeTruthMatchPlugin::operator()().
const reco::Track * reco::tau::getTrackFromChargedHadron | ( | const reco::PFRecoTauChargedHadron & | chargedHadron | ) |
Definition at line 11 of file pfRecoTauChargedHadronAuxFunctions.cc.
References pat::PackedCandidate::bestTrack(), edm::Ptr< T >::get(), reco::PFRecoTauChargedHadron::getChargedPFCandidate(), reco::PFRecoTauChargedHadron::getLostTrackCandidate(), reco::PFRecoTauChargedHadron::getTrack(), and edm::Ptr< T >::isNonnull().
Referenced by reco::tau::RecoTauSoftTwoProngTausCleanerPlugin::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), and setChargedHadronP4().
bool reco::tau::isPtrEqual | ( | const edm::Ptr< Base > & | b, |
const edm::Ptr< Der > & | d | ||
) |
Definition at line 101 of file PFRecoTauEnergyAlgorithmPlugin.cc.
References b.
Referenced by reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()().
bool reco::tau::isPtrEqual | ( | const edm::Ptr< Base > & | b, |
const edm::Ptr< Base > & | d | ||
) |
Definition at line 106 of file PFRecoTauEnergyAlgorithmPlugin.cc.
References edmIntegrityCheck::d.
float reco::tau::lead_track_chi2 | ( | const reco::PFTau & | tau | ) |
return chi2 of the leading track ==> deprecated? <==
Definition at line 45 of file PFRecoTauClusterVariables.cc.
References edm::Ptr< T >::get(), pat::PackedCandidate::hasTrackDetails(), edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), reco::PFTau::leadChargedHadrCand(), reco::TrackBase::normalizedChi2(), pfDeepBoostedJetPreprocessParams_cfi::pfcand, pat::PackedCandidate::pseudoTrack(), and reco::PFCandidate::trackRef().
Referenced by reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate().
InputIterator reco::tau::leadCand | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 145 of file RecoTauCommonUtilities.h.
References atECALEntrance(), begin, ecalTB2006H4_GenSimDigiReco_cfg::bField, and end.
Referenced by convertToPFCandidatePtr(), reco::tau::RecoTauConstructor::get(), reco::tau::RecoTauVertexAssociator::getLeadCand(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), reco::tau::RecoTauVertexAssociator::getLeadTrackRef(), pat::Tau::muonDecision(), reco::tau::RecoTauQualityCuts::setPV(), and reco::PFTau::~PFTau().
unsigned int reco::tau::n_photons_total | ( | const reco::PFTau & | tau | ) |
return total number of pf photon candidates with pT>500 MeV, which are associated to signal
Definition at line 146 of file PFRecoTauClusterVariables.cc.
References reco::PFTau::isolationGammaCands(), and reco::PFTau::signalGammaCands().
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), fillIsoMVARun2Inputs(), and pt_weighted_dr_iso().
unsigned int reco::tau::n_photons_total | ( | const pat::Tau & | tau | ) |
Definition at line 158 of file PFRecoTauClusterVariables.cc.
References pat::Tau::isolationGammaCands(), and pat::Tau::signalGammaCands().
std::vector< reco::CandidatePtr > reco::tau::pfCandidates | ( | const Jet & | jet, |
int | particleId, | ||
bool | sort = true |
||
) |
Extract pfCandidates of a given particle Id from a PFJet. If sort is true, candidates will be sorted by descending PT. Internally translates to pdgId
Definition at line 53 of file RecoTauCommonUtilities.cc.
References pfCandidatesByPdgId().
Referenced by filterPFCandidates(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), and pfGammas().
std::vector< CandidatePtr > reco::tau::pfCandidates | ( | const Jet & | jet, |
const std::vector< int > & | particleIds, | ||
bool | sort = true |
||
) |
Extract pfCandidates of a that match a list of particle Ids from a PFJet.
Definition at line 58 of file RecoTauCommonUtilities.cc.
References pfCandidatesByPdgId().
std::vector< reco::CandidatePtr > reco::tau::pfCandidatesByPdgId | ( | const Jet & | jet, |
int | pdgId, | ||
bool | sort = true |
||
) |
Extract pfCandidates of a given PDG Id from a PFJet. If sort is true, candidates will be sorted by descending PT
Definition at line 67 of file RecoTauCommonUtilities.cc.
References reco::CompositePtrCandidate::daughterPtrVector(), filterPFCandidates(), common_cff::pdgId, and jetUpdater_cfi::sort.
Referenced by filterPFCandidates(), reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), reco::tau::RecoTauBuilderConePlugin::operator()(), and pfCandidates().
std::vector< reco::CandidatePtr > reco::tau::pfCandidatesByPdgId | ( | const Jet & | jet, |
const std::vector< int > & | pdgIds, | ||
bool | sort = true |
||
) |
Extract pfCandidates of a that match a list of PDG Ids from a PFJet.
Definition at line 75 of file RecoTauCommonUtilities.cc.
References reco::CompositePtrCandidate::daughterPtrVector(), filterPFCandidates(), convertSQLitetoXML_cfg::output, common_cff::pdgId, and jetUpdater_cfi::sort.
std::vector< reco::CandidatePtr > reco::tau::pfChargedCands | ( | const Jet & | jet, |
bool | sort = true |
||
) |
Extract all non-neutral candidates from a PFJet.
Definition at line 93 of file RecoTauCommonUtilities.cc.
References reco::CompositePtrCandidate::daughterPtrVector(), filterPFCandidates(), convertSQLitetoXML_cfg::output, and jetUpdater_cfi::sort.
Referenced by filterPFCandidates(), reco::tau::RecoTauVertexAssociator::getLeadCand(), reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), and reco::tau::RecoTauBuilderConePlugin::operator()().
std::vector< reco::CandidatePtr > reco::tau::pfGammas | ( | const Jet & | jet, |
bool | sort = true |
||
) |
Extract all pfGammas from a PFJet.
Definition at line 89 of file RecoTauCommonUtilities.cc.
References pfCandidates().
Referenced by filterPFCandidates(), reco::tau::RecoTauPiZeroTrivialPlugin::operator()(), reco::tau::RecoTauPiZeroCombinatoricPlugin::operator()(), reco::tau::RecoTauBuilderConePlugin::operator()(), and reco::tau::RecoTauConstructor::reserveTauChargedHadron().
unsigned int reco::tau::piZerosInDecayMode | ( | PFTau::hadronicDecayMode | mode | ) |
Definition at line 50 of file PFTauDecayModeTools.cc.
References reco::PFTau::kOneProngNPiZero, and mode.
|
inline |
return sum of pt weighted values of deta relative to tau candidate for all pf photon candidates, which are associated to signal
Definition at line 40 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 43 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
|
inline |
return sum of pt weighted values of dphi relative to tau candidate for all pf photon candidates, which are associated to signal
Definition at line 48 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 51 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
|
inline |
return sum of pt weighted values of dr relative to tau candidate for all pf photon candidates, which are inside an isolation conde but not associated to signal
Definition at line 56 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 59 of file PFRecoTauClusterVariables.h.
References n_photons_total(), pt_weighted_dx(), and metsig::tau.
|
inline |
return sum of pt weighted values of dr relative to tau candidate for all pf photon candidates, which are associated to signal
Definition at line 32 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 35 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
float reco::tau::pt_weighted_dx | ( | const reco::PFTau & | tau, |
int | mode = 0 , |
||
int | var = 0 , |
||
int | decaymode = -1 |
||
) |
return sum of pt weighted values of distance to tau candidate for all pf photon candidates, which are associated to signal; depending on var the distance is in 0=:dr, 1=:deta, 2=:dphi
Definition at line 139 of file PFRecoTauClusterVariables.cc.
References runTauDisplay::decaymode, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, metsig::tau, and JetChargeProducer_cfi::var.
Referenced by pt_weighted_deta_strip(), pt_weighted_dphi_strip(), pt_weighted_dr_iso(), and pt_weighted_dr_signal().
float reco::tau::pt_weighted_dx | ( | const pat::Tau & | tau, |
int | mode = 0 , |
||
int | var = 0 , |
||
int | decaymode = -1 |
||
) |
Definition at line 142 of file PFRecoTauClusterVariables.cc.
References runTauDisplay::decaymode, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, metsig::tau, and JetChargeProducer_cfi::var.
float reco::tau::pt_weighted_dx_T | ( | const typename T::Tau_t & | tau, |
int | mode, | ||
int | var, | ||
int | decaymode | ||
) |
return sum of pt weighted values of distance to tau candidate for all pf photon candidates, which are associated to signal; depending on var the distance is in 0=:dr, 1=:deta, 2=:dphi
Definition at line 95 of file PFRecoTauClusterVariables.cc.
References funct::abs(), egammaForCoreTracking_cff::cands, reco::deltaPhi(), reco::deltaR(), runTauDisplay::dr, RemoveAddSevLevel::flag, SiStripPI::max, min(), EnergyCorrector::pt, and metsig::tau.
|
static |
|
static |
|
static |
|
static |
void reco::tau::setChargedHadronP4 | ( | reco::PFRecoTauChargedHadron & | chargedHadron, |
double | scaleFactor_neutralPFCands = 1.0 |
||
) |
Definition at line 28 of file pfRecoTauChargedHadronAuxFunctions.cc.
References reco::PFRecoTauChargedHadron::algoIs(), compChargedHadronP4fromPxPyPz(), reco::PFRecoTauChargedHadron::getChargedPFCandidate(), reco::PFRecoTauChargedHadron::getLostTrackCandidate(), reco::PFRecoTauChargedHadron::getNeutralPFCandidates(), getTrackFromChargedHadron(), edm::Ptr< T >::isNonnull(), reco::PFRecoTauChargedHadron::kChargedPFCandidate, reco::PFRecoTauChargedHadron::kPFNeutralHadron, reco::PFRecoTauChargedHadron::kTrack, reco::TrackBase::p(), electrons_cff::ptRatio, reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::LeafCandidate::setP4(), and HiIsolationCommonParameters_cff::track.
Referenced by reco::tau::RecoTauConstructor::addTauChargedHadron(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >::operator()(), and PFRecoTauChargedHadronProducer::produce().
int reco::tau::sumPFCandCharge | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Sum the charge of a collection of PFCandidates.
Definition at line 140 of file RecoTauCommonUtilities.h.
References reco::Candidate::charge(), and sumPFVector().
reco::Candidate::LorentzVector reco::tau::sumPFCandP4 | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 127 of file RecoTauCommonUtilities.h.
References reco::Candidate::p4(), and sumPFVector().
double reco::tau::sumPFCandPt | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Sum the pT of a collection of PFCandidates.
Definition at line 134 of file RecoTauCommonUtilities.h.
References reco::Candidate::pt(), and sumPFVector().
Referenced by reco::tau::RecoTauConstructor::get().
ReturnType reco::tau::sumPFVector | ( | InputIterator | begin, |
InputIterator | end, | ||
FunctionPtr | func, | ||
ReturnType | init | ||
) |
Sum the four vectors in a collection of PFCandidates.
Definition at line 117 of file RecoTauCommonUtilities.h.
References end, jets_cff::func, init, and convertSQLitetoXML_cfg::output.
Referenced by sumPFCandCharge(), sumPFCandP4(), and sumPFCandPt().
InputIterator reco::tau::takeNElements | ( | const InputIterator & | begin, |
const InputIterator & | end, | ||
size_t | N | ||
) |
Definition at line 109 of file RecoTauCommonUtilities.h.
Referenced by reco::tau::RecoTauPiZeroCombinatoricPlugin::operator()(), reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), and reco::tau::RecoTauPiZeroStripPlugin3::operator()().
PFTau::hadronicDecayMode reco::tau::translateDecayMode | ( | unsigned int | nCharged, |
unsigned int | nPiZero | ||
) |
Definition at line 55 of file PFTauDecayModeTools.cc.
References reco::PFTau::kNull, reco::PFTau::kOneProngNPiZero, reco::PFTau::kRareDecayMode, RecoTauCombinatoricProducer_cfi::maxPiZeros, and hpstanc_transforms::nPiZeros.
Referenced by reco::tau::RecoTauObjectEmbedder< T >::operator()(), reco::tau::RecoTauDiscriminantInvariantWidth::RecoTauDiscriminantInvariantWidth(), and RecoTauMVATransform::RecoTauMVATransform().
PFTau::hadronicDecayMode reco::tau::translateGenDecayModeToReco | ( | const std::string & | genName | ) |
Convert a genTau decay mode string ('oneProng0Pi0') to the RECO enum.
Definition at line 70 of file PFTauDecayModeTools.cc.
Referenced by getDecayMode().
std::string reco::tau::translateRecoDecayModeToGen | ( | PFTau::hadronicDecayMode | decayMode | ) |
Convert a RECO enum decay mode to a string ('oneProng0Pi0')
Definition at line 75 of file PFTauDecayModeTools.cc.