Namespaces | |
cone | |
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, kDBnewDMwLTwGJPhase2 } |
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) |
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 25 of file RecoTauBuilderCombinatoricPlugin.cc.
typedef std::vector<reco::PFRecoTauChargedHadron> reco::tau::ChargedHadronList |
Definition at line 24 of file RecoTauBuilderCombinatoricPlugin.cc.
typedef PFRecoTauChargedHadronFromGenericTrackPlugin<pat::PackedCandidate> reco::tau::PFRecoTauChargedHadronFromLostTrackPlugin |
Definition at line 350 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
typedef PFRecoTauChargedHadronFromGenericTrackPlugin<reco::Track> reco::tau::PFRecoTauChargedHadronFromTrackPlugin |
Definition at line 349 of file PFRecoTauChargedHadronFromGenericTrackPlugin.cc.
Definition at line 27 of file RecoTauBuilderCombinatoricPlugin.cc.
typedef std::vector< RecoTauPiZero > reco::tau::PiZeroList |
Definition at line 26 of file RecoTauBuilderCombinatoricPlugin.cc.
anonymous enum |
Enumerator | |
---|---|
kOldDMwoLT | |
kOldDMwLT | |
kNewDMwoLT | |
kNewDMwLT | |
kDBoldDMwLT | |
kDBnewDMwLT | |
kPWoldDMwLT | |
kPWnewDMwLT | |
kDBoldDMwLTwGJ | |
kDBnewDMwLTwGJ | |
kDBnewDMwLTwGJPhase2 |
Definition at line 58 of file PFRecoTauClusterVariables.h.
math::XYZPointF reco::tau::atECALEntrance | ( | const reco::Candidate * | part, |
double | bField | ||
) |
Definition at line 109 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 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 83 of file RecoTauCommonUtilities.h.
References mps_fire::i, convertSQLitetoXML_cfg::output, and relativeConstraints::value.
unsigned int reco::tau::chargedHadronsInDecayMode | ( | PFTau::hadronicDecayMode | mode | ) |
Reverse mapping of decay modes into multiplicities.
Definition at line 44 of file PFTauDecayModeTools.cc.
References reco::PFTau::kOneProngNPiZero, and universalConfigTemplate::mode.
Container reco::tau::cleanOverlaps | ( | const Container & | dirty | ) |
Definition at line 31 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 91 of file pfRecoTauChargedHadronAuxFunctions.cc.
References compChargedHadronP4fromPxPyPz().
reco::Candidate::LorentzVector reco::tau::compChargedHadronP4fromPxPyPz | ( | double | chargedHadronPx, |
double | chargedHadronPy, | ||
double | chargedHadronPz | ||
) |
Definition at line 80 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 7 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.
void reco::tau::countMatches | ( | const reco::Muon & | muon, |
std::vector< int > & | numMatchesDT, | ||
std::vector< int > & | numMatchesCSC, | ||
std::vector< int > & | numMatchesRPC | ||
) |
Definition at line 46 of file RecoTauMuonTools.cc.
References cms::cuda::assert(), MuonSubdetId::CSC, MuonSubdetId::DT, reco::Muon::matches(), and MuonSubdetId::RPC.
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 78 of file PFRecoTauClusterVariables.cc.
References cms::cuda::assert(), pat::PackedCandidate::caloFraction(), reco::PFCandidate::ecalEnergy(), pat::PackedCandidate::energy(), reco::PFCandidate::hcalEnergy(), pat::PackedCandidate::hcalFraction(), reco::PFTau::signalCands(), and dqmMemoryStats::total.
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
float reco::tau::eratio | ( | const pat::Tau & | tau | ) |
Definition at line 101 of file PFRecoTauClusterVariables.cc.
References pat::Tau::ecalEnergy(), pat::Tau::hcalEnergy(), and dqmMemoryStats::total.
std::pair< edm::ParameterSet, edm::ParameterSet > reco::tau::factorizePUQCuts | ( | const edm::ParameterSet & | inputSet | ) |
Definition at line 167 of file RecoTauQualityCuts.cc.
References edm::ParameterSet::copyFrom(), GOODCOLL_filter_cfg::cut, and edm::ParameterSet::getParameterNames().
Referenced by PFRecoTauDiscriminationByIsolation::PFRecoTauDiscriminationByIsolation(), and PFRecoTauDiscriminationByIsolationContainer::PFRecoTauDiscriminationByIsolationContainer().
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 188 of file PFRecoTauClusterVariables.cc.
References funct::abs(), pat::Tau::decayMode(), reco::deltaPhi(), reco::deltaR(), runTauDisplay::dr, pat::Tau::dxy(), pat::Tau::dxy_Sig(), alignCSCRings::e, pat::Tau::ecalEnergy(), eratio(), reco::LeafCandidate::eta(), validate-o2o-wbm::f, pat::Tau::flightLength(), pat::Tau::flightLengthSig(), pat::Tau::hasSecondaryVertex(), pat::Tau::hcalEnergy(), pat::Tau::ip3d(), pat::Tau::ip3d_Sig(), CommonMethods::isnan(), edm::Ptr< T >::isNonnull(), pat::Tau::isolationGammaCands(), dqmiolumiharvest::j, kDBnewDMwLT, kDBnewDMwLTwGJ, kDBnewDMwLTwGJPhase2, kDBoldDMwLT, kDBoldDMwLTwGJ, kNewDMwLT, kNewDMwoLT, kOldDMwLT, kOldDMwoLT, kPWnewDMwLT, kPWoldDMwLT, pat::Tau::leadChargedHadrCand(), pat::Tau::leadingTrackNormChi2(), log, SiStripPI::max, SiStripPI::min, n_photons_total(), reco::LeafCandidate::p(), reco::RecoCandidate::p4, reco::LeafCandidate::phi(), funct::pow(), reco::LeafCandidate::pt(), pt_weighted_deta_strip(), pt_weighted_dphi_strip(), pt_weighted_dr_iso(), pt_weighted_dr_signal(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), pat::Tau::signalGammaCands(), edm::PtrVectorBase::size(), 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 41 of file RecoTauCommonUtilities.h.
References funct::abs(), dataset::end, and convertSQLitetoXML_cfg::output.
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 43 of file RecoTauCommonUtilities.cc.
References convertSQLitetoXML_cfg::output.
Referenced by flattenPiZeros(), and reco::tau::xclean::CrossCleanPtrs< PtrIter >::initialize().
std::vector< CandidatePtr > reco::tau::flattenPiZeros | ( | const std::vector< RecoTauPiZero > & | piZeros | ) |
Definition at line 55 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 78 of file PFTauDecayModeTools.cc.
References JetMCTagUtils::genTauDecayMode(), reco::PFTau::kNull, and translateGenDecayModeToReco().
const reco::Track * reco::tau::getTrackFromChargedHadron | ( | const reco::PFRecoTauChargedHadron & | chargedHadron | ) |
Definition at line 12 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()(), PFRecoTauChargedHadronProducer::produce(), and setChargedHadronP4().
bool reco::tau::isPtrEqual | ( | const edm::Ptr< Base > & | b, |
const edm::Ptr< Der > & | d | ||
) |
Definition at line 94 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 99 of file PFRecoTauEnergyAlgorithmPlugin.cc.
References ztail::d.
float reco::tau::lead_track_chi2 | ( | const reco::PFTau & | tau | ) |
return chi2 of the leading track ==> deprecated? <==
Definition at line 58 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(), pat::PackedCandidate::pseudoTrack(), and reco::PFCandidate::trackRef().
Referenced by reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate().
InputIterator reco::tau::leadCand | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 138 of file RecoTauCommonUtilities.h.
References SplitLinear::begin, and dataset::end.
Referenced by reco::tau::RecoTauConstructor::get(), reco::tau::RecoTauVertexAssociator::getLeadCand(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), and reco::tau::RecoTauVertexAssociator::getLeadTrackRef().
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 163 of file PFRecoTauClusterVariables.cc.
References reco::PFTau::isolationGammaCands(), and reco::PFTau::signalGammaCands().
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
unsigned int reco::tau::n_photons_total | ( | const pat::Tau & | tau | ) |
Definition at line 175 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 59 of file RecoTauCommonUtilities.cc.
References pfCandidatesByPdgId().
Referenced by reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin::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 63 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 71 of file RecoTauCommonUtilities.cc.
References reco::CompositePtrCandidate::daughterPtrVector(), and filterPFCandidates().
Referenced by 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 77 of file RecoTauCommonUtilities.cc.
References reco::CompositePtrCandidate::daughterPtrVector(), filterPFCandidates(), and convertSQLitetoXML_cfg::output.
std::vector< reco::CandidatePtr > reco::tau::pfChargedCands | ( | const Jet & | jet, |
bool | sort = true |
||
) |
Extract all non-neutral candidates from a PFJet.
Definition at line 94 of file RecoTauCommonUtilities.cc.
References reco::CompositePtrCandidate::daughterPtrVector(), filterPFCandidates(), and convertSQLitetoXML_cfg::output.
Referenced by 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 92 of file RecoTauCommonUtilities.cc.
References pfCandidates().
Referenced by reco::tau::RecoTauPiZeroTrivialPlugin::operator()(), reco::tau::RecoTauPiZeroCombinatoricPlugin::operator()(), and reco::tau::RecoTauBuilderConePlugin::operator()().
unsigned int reco::tau::piZerosInDecayMode | ( | PFTau::hadronicDecayMode | mode | ) |
Definition at line 49 of file PFTauDecayModeTools.cc.
References reco::PFTau::kOneProngNPiZero, and universalConfigTemplate::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 36 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 39 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 44 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 47 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 52 of file PFRecoTauClusterVariables.h.
References pt_weighted_dx().
Referenced by DeepTauId::createInputsV1(), DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 53 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 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 33 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 156 of file PFRecoTauClusterVariables.cc.
References universalConfigTemplate::mode, metsig::tau, and ALCARECOEcalPhiSym_cff::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 159 of file PFRecoTauClusterVariables.cc.
References universalConfigTemplate::mode, metsig::tau, and ALCARECOEcalPhiSym_cff::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 113 of file PFRecoTauClusterVariables.cc.
References funct::abs(), HLT_FULL_cff::cands, reco::deltaPhi(), reco::deltaR(), runTauDisplay::dr, SiStripPI::max, SiStripPI::min, DiDispStaMuonMonitor_cfi::pt, and metsig::tau.
|
static |
|
static |
|
static |
|
static |
void reco::tau::setChargedHadronP4 | ( | reco::PFRecoTauChargedHadron & | chargedHadron, |
double | scaleFactor_neutralPFCands = 1.0 |
||
) |
Definition at line 31 of file pfRecoTauChargedHadronAuxFunctions.cc.
References reco::PFRecoTauChargedHadron::algoIs(), cms::cuda::assert(), 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(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::LeafCandidate::setP4(), and HLT_FULL_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 133 of file RecoTauCommonUtilities.h.
References reco::Candidate::charge(), and sumPFVector().
reco::Candidate::LorentzVector reco::tau::sumPFCandP4 | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 121 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 127 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 111 of file RecoTauCommonUtilities.h.
References dataset::end, cms::cuda::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 104 of file RecoTauCommonUtilities.h.
References SplitLinear::begin, and N.
Referenced by reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), reco::tau::RecoTauPiZeroCombinatoricPlugin::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 54 of file PFTauDecayModeTools.cc.
References reco::PFTau::kNull, reco::PFTau::kOneProngNPiZero, and reco::PFTau::kRareDecayMode.
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 74 of file PFTauDecayModeTools.cc.