Namespaces | |
cone | |
disc | |
helpers | |
qcuts | |
xclean | |
Functions | |
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) |
std::string | discPluginName (const std::string &mvaName) |
std::pair< edm::ParameterSet, edm::ParameterSet > | factorizePUQCuts (const edm::ParameterSet &inputSet) |
template<typename Iterator > | |
std::vector< PFCandidatePtr > | filterPFCandidates (const Iterator &begin, const Iterator &end, int particleId, bool sort=true) |
std::vector< PFCandidatePtr > | flattenPiZeros (const std::vector< RecoTauPiZero > &) |
Flatten a list of pi zeros into a list of there constituent PFCandidates. More... | |
PFTau::hadronicDecayMode | getDecayMode (const reco::GenJet *genJet) |
const reco::TrackBaseRef | getTrack (const reco::PFCandidate &cand) |
bool | isTauSignalPFCandidate (const reco::PFTau &tau, const reco::PFCandidatePtr &pfJetConstituent) |
template<typename InputIterator > | |
InputIterator | leadPFCand (InputIterator begin, InputIterator end) |
void | markCandsInStrip (std::vector< bool > &candFlags, const std::set< size_t > &candIds) |
std::vector< PFCandidatePtr > | pfCandidates (const PFJet &jet, int particleId, bool sort=true) |
std::vector< PFCandidatePtr > | pfCandidates (const PFJet &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< PFCandidatePtr > | pfChargedCands (const PFJet &jet, bool sort=true) |
Extract all non-neutral candidates from a PFJet. More... | |
std::vector< PFCandidatePtr > | pfGammas (const PFJet &jet, bool sort=true) |
Extract all pfGammas from a PFJet. More... | |
unsigned int | piZerosInDecayMode (PFTau::hadronicDecayMode mode) |
double | square (double x) |
template<typename InputIterator > | |
int | sumPFCandCharge (InputIterator begin, InputIterator end) |
Sum the PT 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... | |
RefVectorType reco::tau::castView | ( | const edm::Handle< BaseView > & | view | ) |
Convert a BaseView (View<T>) to a TRefVector.
Definition at line 74 of file RecoTauCommonUtilities.h.
References 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 45 of file PFTauDecayModeTools.cc.
References reco::PFTau::kOneProngNPiZero, and alignBH_cfg::mode.
Container reco::tau::cleanOverlaps | ( | const Container & | dirty | ) |
Definition at line 34 of file RecoTauCleaningTools.h.
References clean, and analyzePatCOC_cfg::overlaps.
Referenced by RecoTauCleanerImpl< Prod >::produce().
|
inline |
Definition at line 24 of file RecoTauDiscriminantPlugins.h.
Referenced by reco::tau::RecoTauMVAHelper::loadDiscriminantPlugins(), and PFTauMVAInputDiscriminantTranslator::PFTauMVAInputDiscriminantTranslator().
std::pair< edm::ParameterSet, edm::ParameterSet > reco::tau::factorizePUQCuts | ( | const edm::ParameterSet & | inputSet | ) |
Definition at line 281 of file RecoTauQualityCuts.cc.
References edm::ParameterSet::copyFrom(), GOODCOLL_filter_cfg::cut, and edm::ParameterSet::getParameterNames().
Referenced by PFRecoTauDiscriminationByIsolation::PFRecoTauDiscriminationByIsolation().
std::vector<PFCandidatePtr> reco::tau::filterPFCandidates | ( | const Iterator & | begin, |
const Iterator & | end, | ||
int | particleId, | ||
bool | sort = true |
||
) |
Filter a collection of objects that are convertible to PFCandidatePtrs by PFCandidate ID
Definition at line 41 of file RecoTauCommonUtilities.h.
References end, convertSQLitetoXML_cfg::output, and python.multivaluedict::sort().
Referenced by pfCandidates().
std::vector< PFCandidatePtr > reco::tau::flattenPiZeros | ( | const std::vector< RecoTauPiZero > & | piZeros | ) |
Flatten a list of pi zeros into a list of there constituent PFCandidates.
Definition at line 16 of file RecoTauCommonUtilities.cc.
References convertSQLitetoXML_cfg::output.
Referenced by reco::tau::xclean::CrossCleanPtrs::CrossCleanPtrs(), and reco::tau::RecoTauPhotonFilter::operator()().
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 PFTauDiscriminants::PFTauDiscriminantManager::mainTrack(), and tautools::RecoTauDecayModeTruthMatchPlugin::operator()().
const reco::TrackBaseRef reco::tau::getTrack | ( | const reco::PFCandidate & | cand | ) |
Definition at line 83 of file RecoTauEnergyRecoveryPlugin.cc.
References reco::PFCandidate::gsfTrackRef(), edm::Ref< C, T, F >::isNonnull(), and reco::PFCandidate::trackRef().
Referenced by reco::tau::RecoTauEnergyRecoveryPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::qcuts::trkChi2(), reco::tau::qcuts::trkLongitudinalImpactParameter(), reco::tau::qcuts::trkLongitudinalImpactParameterWrtTrack(), reco::tau::qcuts::trkPixelHits(), reco::tau::qcuts::trkTrackerHits(), and reco::tau::qcuts::trkTransverseImpactParameter().
bool reco::tau::isTauSignalPFCandidate | ( | const reco::PFTau & | tau, |
const reco::PFCandidatePtr & | pfJetConstituent | ||
) |
Definition at line 90 of file RecoTauEnergyRecoveryPlugin.cc.
References edm::RefVector< C, T, F >::begin(), edm::RefVector< C, T, F >::end(), edm::Ptr< T >::key(), and reco::PFTau::signalPFCands().
Referenced by reco::tau::RecoTauEnergyRecoveryPlugin::operator()().
InputIterator reco::tau::leadPFCand | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 132 of file RecoTauCommonUtilities.h.
Referenced by reco::tau::RecoTauConstructor::get(), and reco::tau::RecoTauBuilderConePlugin::operator()().
void reco::tau::markCandsInStrip | ( | std::vector< bool > & | candFlags, |
const std::set< size_t > & | candIds | ||
) |
Definition at line 166 of file RecoTauPiZeroStripPlugin2.cc.
Referenced by reco::tau::RecoTauPiZeroStripPlugin2::operator()().
std::vector< reco::PFCandidatePtr > reco::tau::pfCandidates | ( | const PFJet & | 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
Definition at line 29 of file RecoTauCommonUtilities.cc.
References filterPFCandidates(), reco::PFJet::getPFConstituents(), and python.multivaluedict::sort().
Referenced by PFMETAnalyzer::analyze(), PFElectronTranslator::fillMVAValueMap(), GreedyMuonPFCandidateFilter::filter(), InconsistentMuonPFCandidateFilter::filter(), FixedGridEnergyDensity::fixedGridRho(), reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), reco::tau::RecoTauBuilderConePlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), pfCandidates(), pfChargedCands(), pfGammas(), FSPFProducer::produce(), HLTHtMhtProducer::produce(), PFElectronTranslator::produce(), PFMET::produce(), PFLinker::produce(), MuonProducer::produce(), PFPileUp::produce(), pat::PATPFParticleProducer::produce(), FFTJetPFPileupCleaner::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), PFPhotonTranslator::produce(), and PFMETAnalyzer::validateMET().
std::vector< reco::PFCandidatePtr > reco::tau::pfCandidates | ( | const PFJet & | 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 37 of file RecoTauCommonUtilities.cc.
References convertSQLitetoXML_cfg::output, pfCandidates(), and python.multivaluedict::sort().
std::vector< reco::PFCandidatePtr > reco::tau::pfChargedCands | ( | const PFJet & | jet, |
bool | sort = true |
||
) |
Extract all non-neutral candidates from a PFJet.
Definition at line 54 of file RecoTauCommonUtilities.cc.
References reco::PFCandidate::e, reco::PFCandidate::h, reco::PFCandidate::mu, convertSQLitetoXML_cfg::output, pfCandidates(), and python.multivaluedict::sort().
Referenced by reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), and reco::tau::RecoTauBuilderConePlugin::operator()().
std::vector< reco::PFCandidatePtr > reco::tau::pfGammas | ( | const PFJet & | jet, |
bool | sort = true |
||
) |
Extract all pfGammas from a PFJet.
Definition at line 50 of file RecoTauCommonUtilities.cc.
References reco::PFCandidate::gamma, and 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 50 of file PFTauDecayModeTools.cc.
References reco::PFTau::kOneProngNPiZero, and alignBH_cfg::mode.
double reco::tau::square | ( | double | x | ) |
Definition at line 103 of file RecoTauEnergyRecoveryPlugin.cc.
References x.
Referenced by reco::tau::RecoTauIsolationMasking::mask(), and reco::tau::RecoTauEnergyRecoveryPlugin::operator()().
int reco::tau::sumPFCandCharge | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Sum the PT of a collection of PFCandidates.
Definition at line 127 of file RecoTauCommonUtilities.h.
References reco::LeafCandidate::charge(), and sumPFVector().
Referenced by reco::tau::RecoTauConstructor::get().
reco::Candidate::LorentzVector reco::tau::sumPFCandP4 | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 114 of file RecoTauCommonUtilities.h.
References reco::LeafCandidate::p4(), and sumPFVector().
double reco::tau::sumPFCandPt | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Sum the PT of a collection of PFCandidates.
Definition at line 121 of file RecoTauCommonUtilities.h.
References reco::LeafCandidate::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 104 of file RecoTauCommonUtilities.h.
References end, init, and convertSQLitetoXML_cfg::output.
Referenced by sumPFCandCharge(), sumPFCandP4(), and sumPFCandPt().
InputIterator reco::tau::takeNElements | ( | const InputIterator & | begin, |
const InputIterator & | end, | ||
size_t | N | ||
) |
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, and reco::PFTau::kRareDecayMode.
Referenced by reco::tau::RecoTauObjectEmbedder< T >::operator()(), reco::tau::RecoTauDiscriminantInvariantWidth::RecoTauDiscriminantInvariantWidth(), RecoTauMVADiscriminator::RecoTauMVADiscriminator(), 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.