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_0__LINE__ ("PATTauDiscriminationByMVAIsolationRun2") |
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< PFRecoTauDiscriminationByMVAIsolationRun2 > > | s_filler_0__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 Calorimetry_cff::bField, RawParticle::charge(), BaseParticlePropagator::getSuccess(), BaseParticlePropagator::particle(), reco::PFCandidate::positionAtECALEntrance(), BaseParticlePropagator::propagateToEcalEntrance(), 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 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(), reco::HitPattern::muonCSCHitFilter(), reco::HitPattern::muonDTHitFilter(), reco::HitPattern::muonHitFilter(), reco::HitPattern::muonRPCHitFilter(), reco::HitPattern::numberOfAllHits(), 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, 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(), metsig::tau, and dqmMemoryStats::total.
Referenced by 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 metsig::tau, 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(), DMR_cfg::cut, and input.
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(), reco::deltaPhi(), reco::deltaR(), MillePedeFileConverter_cfg::e, eratio(), f, CommonMethods::isnan(), dqmiolumiharvest::j, kDBnewDMwLT, kDBnewDMwLTwGJ, kDBnewDMwLTwGJPhase2, kDBoldDMwLT, kDBoldDMwLTwGJ, kNewDMwLT, kNewDMwoLT, kOldDMwLT, kOldDMwoLT, kPWnewDMwLT, kPWoldDMwLT, dqm-mbProfile::log, SiStripPI::max, SiStripPI::min, taus_updatedMVAIds_cff::mvaOpt, n_photons_total(), l1ctLayer1_cff::nPhoton, conifer::pow(), pt_weighted_deta_strip(), pt_weighted_dphi_strip(), pt_weighted_dr_iso(), pt_weighted_dr_signal(), mathSSE::sqrt(), and metsig::tau.
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(), convertSQLitetoXML_cfg::output, EgammaValidation_cff::pdgId, 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 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(), and HPSPFTauProducerPuppi_cfi::chargedHadron.
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.
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.
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::TrackBase::normalizedChi2(), pfDeepBoostedJetPreprocessParams_cfi::pfcand, pat::PackedCandidate::pseudoTrack(), and metsig::tau.
Referenced by reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate().
InputIterator reco::tau::leadCand | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 138 of file RecoTauCommonUtilities.h.
Referenced by reco::tau::RecoTauConstructor::get(), reco::tau::RecoTauVertexAssociator::getLeadCand(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), reco::tau::RecoTauVertexAssociator::getLeadTrackRef(), and reco::tau::RecoTauQualityCuts::setLeadTrack().
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 metsig::tau.
Referenced by 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 metsig::tau.
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 metsig::jet, pfCandidatesByPdgId(), and jetUpdater_cfi::sort.
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 metsig::jet, CosmicGenFilterHelix_cfi::pdgIds, pfCandidatesByPdgId(), and jetUpdater_cfi::sort.
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 filterPFCandidates(), metsig::jet, EgammaValidation_cff::pdgId, and jetUpdater_cfi::sort.
Referenced by PATTauHybridProducer::fillTauFromJet(), 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 filterPFCandidates(), metsig::jet, convertSQLitetoXML_cfg::output, EgammaValidation_cff::pdgId, CosmicGenFilterHelix_cfi::pdgIds, 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 94 of file RecoTauCommonUtilities.cc.
References filterPFCandidates(), metsig::jet, convertSQLitetoXML_cfg::output, and jetUpdater_cfi::sort.
Referenced by PATTauHybridProducer::fillTauFromJet(), 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 metsig::jet, pfCandidates(), and jetUpdater_cfi::sort.
Referenced by PATTauHybridProducer::fillTauFromJet(), 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 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 symbols::dm, pt_weighted_dx(), and metsig::tau.
Referenced by DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 39 of file PFRecoTauClusterVariables.h.
References symbols::dm, pt_weighted_dx(), and metsig::tau.
|
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 symbols::dm, pt_weighted_dx(), and metsig::tau.
Referenced by DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 47 of file PFRecoTauClusterVariables.h.
References symbols::dm, 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 inside an isolation conde but not associated to signal
Definition at line 52 of file PFRecoTauClusterVariables.h.
References symbols::dm, pt_weighted_dx(), and metsig::tau.
Referenced by DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 53 of file PFRecoTauClusterVariables.h.
References symbols::dm, 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 symbols::dm, pt_weighted_dx(), and metsig::tau.
Referenced by DeepTauId::createTauBlockInputs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::discriminate(), and fillIsoMVARun2Inputs().
|
inline |
Definition at line 33 of file PFRecoTauClusterVariables.h.
References symbols::dm, pt_weighted_dx(), and metsig::tau.
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 runTauDisplay::decaymode, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, metsig::tau, and trigObjTnPSource_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 159 of file PFRecoTauClusterVariables.cc.
References runTauDisplay::decaymode, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, metsig::tau, and trigObjTnPSource_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 113 of file PFRecoTauClusterVariables.cc.
References funct::abs(), HLT_2023v12_cff::cands, runTauDisplay::decaymode, reco::deltaPhi(), reco::deltaR(), RemoveAddSevLevel::flag, SiStripPI::max, SiStripPI::min, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, DiDispStaMuonMonitor_cfi::pt, metsig::tau, and trigObjTnPSource_cfi::var.
|
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 cms::cuda::assert(), HPSPFTauProducerPuppi_cfi::chargedHadron, compChargedHadronP4fromPxPyPz(), getTrackFromChargedHadron(), edm::Ptr< T >::isNonnull(), reco::PFRecoTauChargedHadron::kChargedPFCandidate, reco::PFRecoTauChargedHadron::kPFNeutralHadron, reco::PFRecoTauChargedHadron::kTrack, electrons_cff::ptRatio, and HLT_2023v12_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 EcalMonitorTask_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 104 of file RecoTauCommonUtilities.h.
References 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, reco::PFTau::kRareDecayMode, HLT_2023v12_cff::maxPiZeros, HLT_2023v12_cff::nCharged, and HLT_2023v12_cff::nPiZeros.
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.
References Skims_PA_cff::name.
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.
References boostedTaus_cff::decayMode.