Namespaces | |
cone | |
disc | |
helpers | |
qcuts | |
xclean | |
Typedefs | |
typedef tau::CombinatoricGenerator < ChargedHadronList > | ChargedHadronCombo |
typedef std::vector < reco::PFRecoTauChargedHadron > | ChargedHadronList |
typedef tau::CombinatoricGenerator < PiZeroList > | PiZeroCombo |
typedef std::vector < RecoTauPiZero > | PiZeroList |
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) |
reco::Candidate::LorentzVector | compChargedHadronP4fromPThetaPhi (double, double, double) |
reco::Candidate::LorentzVector | compChargedHadronP4fromPxPyPz (double, double, double) |
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 >::const_iterator &, const std::vector< RecoTauPiZero >::const_iterator &) |
Flatten a list of pi zeros into a list of there constituent PFCandidates. More... | |
std::vector< PFCandidatePtr > | flattenPiZeros (const std::vector< RecoTauPiZero > &) |
PFTau::hadronicDecayMode | getDecayMode (const reco::GenJet *genJet) |
template<typename InputIterator > | |
InputIterator | leadPFCand (InputIterator begin, InputIterator end) |
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) |
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.
Definition at line 26 of file RecoTauBuilderCombinatoricPlugin.cc.
typedef std::vector< RecoTauPiZero > reco::tau::PiZeroList |
Definition at line 25 of file RecoTauBuilderCombinatoricPlugin.cc.
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 35 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 58 of file pfRecoTauChargedHadronAuxFunctions.cc.
References compChargedHadronP4fromPxPyPz().
reco::Candidate::LorentzVector reco::tau::compChargedHadronP4fromPxPyPz | ( | double | chargedHadronPx, |
double | chargedHadronPy, | ||
double | chargedHadronPz | ||
) |
Definition at line 50 of file pfRecoTauChargedHadronAuxFunctions.cc.
References mathSSE::sqrt().
Referenced by compChargedHadronP4fromPThetaPhi(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), and setChargedHadronP4().
|
inline |
Definition at line 23 of file RecoTauDiscriminantPlugins.h.
References PFRecoTauDiscriminationAgainstMuonMVA_cfi::mvaName.
Referenced by PFTauMVAInputDiscriminantTranslator::PFTauMVAInputDiscriminantTranslator().
std::pair< edm::ParameterSet, edm::ParameterSet > reco::tau::factorizePUQCuts | ( | const edm::ParameterSet & | inputSet | ) |
Definition at line 317 of file RecoTauQualityCuts.cc.
References edm::ParameterSet::copyFrom(), GOODCOLL_filter_cfg::cut, edm::ParameterSet::getParameterNames(), and AlCaHLTBitMon_QueryRunRegistry::string.
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 40 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 >::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 16 of file RecoTauCommonUtilities.cc.
References convertSQLitetoXML_cfg::output.
Referenced by flattenPiZeros(), reco::tau::xclean::CrossCleanPtrs< PtrIter >::initialize(), and reco::tau::RecoTauPhotonFilter::operator()().
std::vector< PFCandidatePtr > reco::tau::flattenPiZeros | ( | const std::vector< RecoTauPiZero > & | piZeros | ) |
Definition at line 30 of file RecoTauCommonUtilities.cc.
References flattenPiZeros().
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()().
InputIterator reco::tau::leadPFCand | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Definition at line 132 of file RecoTauCommonUtilities.h.
Referenced by reco::tau::RecoTauConstructor::get(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), and reco::tau::RecoTauBuilderConePlugin::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 34 of file RecoTauCommonUtilities.cc.
References filterPFCandidates(), reco::PFJet::getPFConstituents(), and python.multivaluedict::sort().
Referenced by JetTester_HeavyIons::analyze(), JetAnalyzer_HeavyIons::analyze(), MCEmbeddingValidationAnalyzer::analyze(), PFRecoTauDiscriminationByIsolation::beginEvent(), GEDGsfElectronProducer::fillGsfElectronValueMap(), PFElectronTranslator::fillMVAValueMap(), GreedyMuonPFCandidateFilter::filter(), ChargedHadronTrackResolutionFilter::filter(), InconsistentMuonPFCandidateFilter::filter(), MuonBadTrackFilter::filter(), FixedGridEnergyDensity::fixedGridRho(), GEDGsfElectronProducer::matchWithPFCandidates(), reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), reco::tau::RecoTauBuilderConePlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), pfCandidates(), pfChargedCands(), pfGammas(), PFMuonCaloCleaner::produce(), FSPFProducer::produce(), reco::ParticleFlowForChargedMETProducer::produce(), PFElectronTranslator::produce(), JVFJetIdProducer::produce(), PFMET::produce(), HLTMhtProducer::produce(), NoPileUpPFMEtProducer::produce(), HLTHtMhtProducer::produce(), MuonPFCandidateCleaner::produce(), PFLinker::produce(), PFPileUp::produce(), HLTTrackMETProducer::produce(), BoostedTauSeedsProducer::produce(), NoPileUpPFMEtDataProducer::produce(), pat::PATPFParticleProducer::produce(), cms::METSignificanceProducer::produce(), FFTJetPFPileupCleaner::produce(), SoftKillerProducer::produce(), MuonProducer::produce(), reco::modules::HICaloCompatibleTrackSelector::produce(), and PFPhotonTranslator::produce().
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 42 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 59 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::RecoTauVertexAssociator::getLeadTrack(), 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 55 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.
void reco::tau::setChargedHadronP4 | ( | reco::PFRecoTauChargedHadron & | chargedHadron, |
double | scaleFactor_neutralPFCands = 1.0 |
||
) |
Definition at line 10 of file pfRecoTauChargedHadronAuxFunctions.cc.
References reco::PFRecoTauChargedHadron::algoIs(), assert(), compChargedHadronP4fromPxPyPz(), reco::PFRecoTauChargedHadron::getChargedPFCandidate(), reco::PFRecoTauChargedHadron::getNeutralPFCandidates(), reco::PFRecoTauChargedHadron::getTrack(), edm::Ptr< T >::isNonnull(), reco::PFRecoTauChargedHadron::kChargedPFCandidate, reco::PFRecoTauChargedHadron::kPFNeutralHadron, reco::PFRecoTauChargedHadron::kTrack, and reco::LeafCandidate::setP4().
Referenced by reco::tau::RecoTauConstructor::addTauChargedHadron(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromTrackPlugin::operator()(), and PFRecoTauChargedHadronProducer::produce().
int reco::tau::sumPFCandCharge | ( | InputIterator | begin, |
InputIterator | end | ||
) |
Sum the charge of a collection of PFCandidates.
Definition at line 127 of file RecoTauCommonUtilities.h.
References reco::LeafCandidate::charge(), and sumPFVector().
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 | ||
) |
Definition at line 96 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, and reco::PFTau::kRareDecayMode.
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.