CMS 3D CMS Logo

Namespaces | Functions
PFTauDecayModeTools.cc File Reference
#include <map>
#include "RecoTauTag/RecoTau/interface/PFTauDecayModeTools.h"
#include "DataFormats/JetReco/interface/GenJet.h"
#include "PhysicsTools/JetMCUtils/interface/JetMCTag.h"

Go to the source code of this file.

Namespaces

 reco
 fixed size matrix
 
 reco::tau
 

Functions

unsigned int reco::tau::chargedHadronsInDecayMode (PFTau::hadronicDecayMode mode)
 Reverse mapping of decay modes into multiplicities. More...
 
PFTau::hadronicDecayMode reco::tau::getDecayMode (const reco::GenJet *genJet)
 
unsigned int reco::tau::piZerosInDecayMode (PFTau::hadronicDecayMode mode)
 
PFTau::hadronicDecayMode reco::tau::translateDecayMode (unsigned int nCharged, unsigned int nPiZero)
 
PFTau::hadronicDecayMode reco::tau::translateGenDecayModeToReco (const std::string &genName)
 Convert a genTau decay mode string ('oneProng0Pi0') to the RECO enum. More...
 
std::string reco::tau::translateRecoDecayModeToGen (PFTau::hadronicDecayMode decayMode)
 Convert a RECO enum decay mode to a string ('oneProng0Pi0') More...
 

Variable Documentation

◆ label

const char* label

Definition at line 11 of file PFTauDecayModeTools.cc.

Referenced by edm::TrieNode< T >::_sequentialSearch(), RecoTrackAccumulator::accumulateEvent(), edm::ConfigurationDescriptions::add(), PhysicsTools::Calibration::MVAComputerContainer::add(), FWDialogBuilder::addLabel(), HLTMuonMatchAndPlotContainer::addPlotter(), edm::eventsetup::ComponentFactory< T >::addTo(), edm::WorkerManager::addToUnscheduledWorkers(), pat::PATObject< reco::Muon >::addUserCand(), pat::PATObject< reco::Muon >::addUserData(), pat::PATObject< reco::Muon >::addUserDataFromPtr(), pat::PATObject< reco::Muon >::addUserDataObject_(), pat::PATObject< reco::Muon >::addUserFloat(), pat::PATObject< reco::Muon >::addUserInt(), edm::ConfigurationDescriptions::addWithDefaultLabel(), L1TriggerKeyExtViewer::analyze(), CaloTowerAnalyzer::analyze(), HLTBTagPerformanceAnalyzer::analyze(), TestPythiaDecays::analyze(), BigEventsDebugger< T >::analyze(), SiStripQualityHistory::analyze(), SiPixelQualityHistory::analyze(), HcalIsoTrkAnalyzer::analyze(), PhotonAnalyzer::analyze(), ZToMuMuGammaAnalyzer::analyze(), IsoTrig::analyze(), SiStripRecHitsValid::analyze(), PrimaryVertexAnalyzer4PUSlimmed::analyze(), MuonTrackValidator::analyze(), SiStripTrackingRecHitsValid::analyze(), dqm::RamdiskMonitor::analyzeFile(), CaloSimHitStudy::analyzeHits(), B2GDQM::analyzeJets(), TauDQMHistPlotter::cfgEntryLabel::applyTo(), SummaryGenerator::axisLabel(), HGCalBHValidation::beginRun(), SiStripQualityHistory::beginRun(), SiPixelQualityHistory::beginRun(), ExternalGeneratorFilter::beginStream(), FWDialogBuilder::beginTab(), BigEventsDebugger< T >::BigEventsDebugger(), FastTimerService::PlotsPerPath::book(), FastTimerService::PlotsPerJob::book(), GEMBaseValidation::bookDetectorOccupancy(), HLTMuonPlotter::bookHist(), DTnoiseDBValidation::bookHisto(), BTagDifferentialPlot::bookHisto(), L1TStage2EMTF::bookHistograms(), CaloTowerAnalyzer::bookHistograms(), MixCollectionValidation::bookHistograms(), BeamMonitor::bookHistograms(), GlobalTest::bookHistograms(), HLTBTagPerformanceAnalyzer::bookHistograms(), EmDQM::bookHistograms(), EmDQMReco::bookHistograms(), TriggerRatesMonitor::bookHistograms(), PrimaryVertexAnalyzer4PUSlimmed::bookHistograms(), MuonTrackValidator::bookHistograms(), ME0BaseValidation::BookHistXY(), ME0BaseValidation::BookHistZR(), SiStripQualityChecker::bookStatus(), RPCMonitorDigi::bookWheelDiskME(), edm::CFWriter::branchesActivate(), edm::MixingModule::branchesActivate(), BSvsPVPlots(), FWStringParameterSetter::build(), FWEnumParameterSetter::build(), FWLongParameterSetter::build(), SiPixelGainCalibrationAnalysis::CalculateAveragePerColumn(), PrimaryVertexAnalyzer4PUSlimmed::calculatePurityAndFillHistograms(), PedeLabelerBase::calibrationParamFromLabel(), reco::modules::CandCombinerBase::CandCombinerBase(), FWPSetTableManager::cellRenderer(), cert_plot(), edm::CFWriter::CFWriter(), GctErrorAnalyzer::checkCollections(), SiStripCondObjBuilderFromDb::checkForCompatibility(), ClusMultCorrPlots(), ClusMultInvestPlots(), ClusMultLumiCorrPlots(), ClusMultVtxCorrPlots(), CmsShowCommonPopup::CmsShowCommonPopup(), CmsShowMainFrame::CmsShowMainFrame(), dqmservices::DQMFileIterator::collect(), FWTableViewManager::TableHandle::column(), edm::soa::TableExaminer< T >::columnDescImpl(), CommonModeAnalyzer::CommonModeAnalyzer(), MuonGEMBaseHarvestor::computeEfficiency(), BPHAnalyzerWrapper< BPHModuleWrapper::one_analyzer >::consume(), PhysicsTools::Calibration::MVAComputerContainer::contains(), edm::service::RandomNumberGeneratorService::createEnginesInVector(), SiStripMonitorDigi::createLayerMEs(), SiStripMonitorCluster::createLayerMEs(), SiStripRecHitsValid::createLayerMEs(), SiStripTrackingRecHitsValid::createLayerMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), fastsim::SimplifiedGeometryFactory::createSimplifiedGeometry(), SiStripRecHitsValid::createStereoAndMatchedMEs(), SiStripTrackingRecHitsValid::createStereoAndMatchedMEs(), SiStripMonitorDigi::createSubDetMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripRecHitsValid::createSubDetMEs(), magneticfield::DD4hep_VolumeBasedMagneticFieldESProducerFromDB::DD4hep_VolumeBasedMagneticFieldESProducerFromDB(), cand::parser::decayParser(), edm::defaultModuleLabel(), defaultModuleLabel(), edm::ParameterSet::deprecatedInputTagWarning(), CSCIndexer::detIdFromChamberIndex(), CSCIndexerBase::detIdFromChamberIndex(), CSCIndexer::detIdFromChamberLabel(), CSCIndexerBase::detIdFromChamberLabel(), edm::TrieNode< T >::display(), EmDQMPostProcessor::dividehistos(), JetMETDQMPostProcessor::dividehistos(), EmDQMPostProcessor::dividehistos2D(), DumpGctDigis::doEM(), DumpGctDigis::doEnergySums(), DumpGctDigis::doFibres(), DumpGctDigis::doInternEM(), DumpGctDigis::doJets(), DumpGctDigis::doRctEM(), DumpGctDigis::doRegions(), HLTVertexPerformanceAnalyzer::dqmBeginRun(), HLTBTagPerformanceAnalyzer::dqmBeginRun(), EmDQM::dqmBeginRun(), HLTBTagHarvestingAnalyzer::dqmEndJob(), drawMap(), DTDigiReader::DTDigiReader(), HLTConfigData::dump(), edmtest::HcalDumpConditions::dumpIt(), DuplicateRecHits::DuplicateRecHits(), editBoolParameter(), editESInputTag(), editFileInPath(), editInputTag(), editNumericParameter(), editStringParameter(), editVectorParameter(), editVInputTag(), EffPurFromHistos::EffPurFromHistos(), EffPurFromHistos2D::EffPurFromHistos2D(), FastTimerService::encodeToJSON(), HLTScalersClient::endLuminosityBlock(), TauDQMHistPlotter::endRun(), edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord >::ESGetToken(), edm::ParameterDescription< std::vector< ParameterSet > >::exists_(), HLTConfigData::extract(), extractRecordData(), cond::payloadInspector::RunHistoryPlot< PayloadType, Y >::fill(), cond::payloadInspector::TimeHistoryPlot< PayloadType, Y >::fill(), HcalObjRepresent::HcalDataContainer< Items, Item >::FillCanv(), MultiHitFromChi2EDProducer::fillDescriptions(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >::fillDescriptions(), CAHitNtupletEDProducerT< T_Generator >::fillDescriptions(), HitTripletEDProducerT< T_HitTripletGenerator >::fillDescriptions(), SiStripQualityChecker::fillDetectorStatusAtLumi(), TriggerSummaryProducerAOD::fillFilterObjectMembers(), PrimaryVertexAnalyzer4PUSlimmed::fillGenAssociatedRecoVertexHistograms(), MuonProducer::fillMuonMap(), FastTimerServiceClient::fillPlotsVsLumi(), EgHLTOfflineSummaryClient::fillQTestData_(), PrimaryVertexAnalyzer4PUSlimmed::fillRecoAssociatedGenPVHistograms(), PrimaryVertexAnalyzer4PUSlimmed::fillRecoAssociatedGenVertexHistograms(), PrimaryVertexAnalyzer4PUSlimmed::fillResolutionAndPullHistograms(), TrackingNtuple::fillSeeds(), TriggerSummaryProducerAOD::fillTriggerObjectCollections(), PFLinker::fillValueMap(), PhysicsTools::Calibration::MVAComputerContainer::find(), edm::service::PrescaleService::findDefaultIndex(), JetCorrectorParametersCollection::findKey(), edm::Principal::findProductByLabel(), FWLiteESRecordWriterAnalyzer::FWLiteESRecordWriterAnalyzer(), FWTableView::FWTableView(), SiStripGainESProducer::GainGetter::GainGetter(), JME::JetResolution::get(), JME::JetResolutionScaleFactor::get(), JetTagComputer::TagInfoHelper::get(), edm::get(), edm::LuminosityBlock::getByLabel(), edm::Run::getByLabel(), edm::Principal::getByLabel(), edm::Event::getByLabel(), edm::PrincipalGetAdapter::getByLabel_(), HLTDoubletDZ< T1, T2 >::getCollections(), cscdqm::Utility::getCSCTypeLabel(), pat::PATObject< reco::Muon >::getKinResolution(), edm::PrincipalGetAdapter::getMatchingSequenceByLabel_(), edm::ParameterSet::getParameter(), edm::getProducerParameterSet(), edm::RandomEngineStates::getRandomEngineStates(), SiStripSummaryCreator::getSummaryME(), edm::WorkerManager::getWorker(), dqm::RamdiskMonitor::globalBeginLuminosityBlock(), HLTriggerJSONMonitoring::globalBeginRun(), GenWeightsTableProducer::globalEndRunProduce(), GlobalMuonProducer::GlobalMuonProducer(), pat::Jet::groomedMass(), hitfit::Constraint_Intermed_Labels::has_label(), pat::PATObject< reco::Muon >::hasKinResolution(), pat::PATObject< reco::Muon >::hasOverlaps(), pat::Jet::hasSubjets(), pat::Jet::hasTagInfo(), NVProfilerService::highlight(), edm::HiMixingModule::HiMixingModule(), HistoProviderDQM::HistoProviderDQM(), HITrackClusterRemover::HITrackClusterRemover(), HLTBTagPerformanceAnalyzer::HLTBTagPerformanceAnalyzer(), HLTDoublet< T1, T2 >::hltFilter(), HLTVertexPerformanceAnalyzer::HLTVertexPerformanceAnalyzer(), TtEvent::hypoClassKeyFromString(), pat::TriggerEvent::indexFilter(), edm::ProductResolverIndexHelper::indexToIndexAndNames(), PhysicsTools::MVAModuleHelper< Record, Object, Filler >::init(), TMVAEvaluator::initializeGBRForest(), edm::InputFile::inputFileOpened(), edm::ParameterSetDescription::isLabelUnused(), popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded(), edm::iterateTrieLeaves(), JetCorrectionESChain::JetCorrectionESChain(), JetCorrectionESProducer< Corrector >::JetCorrectionESProducer(), JetCorrectionESSource< Corrector >::JetCorrectionESSource(), JetEnergyShift::JetEnergyShift(), JetResolutionESProducer::JetResolutionESProducer(), JetResolutionScaleFactorESProducer::JetResolutionScaleFactorESProducer(), L1EmulBias::L1EmulBias(), l1t::l1GtBoardTypeStringToEnum(), l1GtBoardTypeStringToEnum(), l1t::l1GtConditionCategoryStringToEnum(), l1GtConditionCategoryStringToEnum(), l1t::l1GtConditionTypeStringToEnum(), l1GtConditionTypeStringToEnum(), l1GtObjectStringToEnum(), l1GtPsbQuadStringToEnum(), l1TGtObjectStringToEnum(), L1TPFProducer::L1TPFProducer(), L1TriggerKeyDummyProd::L1TriggerKeyDummyProd(), L1TriggerKeyDummyProdExt::L1TriggerKeyDummyProdExt(), L1TriggerKeyOnlineProdExt::L1TriggerKeyOnlineProdExt(), NVProfilerService::labelColor(), NVProfilerService::labelColorLight(), ConcreteFFTJetRcdMapper< DataType, RecordType >::load(), DefaultFFTJetRcdMapper< FFTPFJetCorrectorSequence >::load(), edm::eventsetup::SourceMakerTraits::logInfoWhenSharing(), edm::eventsetup::EventSetupProvider::logInfoWhenSharing(), main(), SiStripGainESProducer::make_GainGetter(), CmsShowMainFrame::makeFixedSizeLabel(), edm::makeNotFoundException(), SiStripHitEffFromCalibTree::makeSummary(), Mille::mille(), edm::MixingModule::MixingModule(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble::monitorPath(), TopSingleLepton_miniAOD::MonitorEnsemble::monitorPath(), B2GDoubleLeptonHLTValidation::monitorPath(), B2GHadronicHLTValidation::monitorPath(), B2GSingleLeptonHLTValidation::monitorPath(), TopSingleLepton::MonitorEnsemble::monitorPath(), SingleTopTChannelLepton::MonitorEnsemble::monitorPath(), TopDiLeptonOffline::MonitorEnsemble::monitorPath(), multibsvspvplots(), MuonProducer::MuonProducer(), MuonSeedMerger::MuonSeedMerger(), MuPFIsoEmbedder::MuPFIsoEmbedder(), MVAJetPuIdProducer::MVAJetPuIdProducer(), HeavyFlavorValidation::myBook1D(), edm::service::RandomNumberGeneratorService::mySeed(), pat::helper::NamedUserDataLoader< pat::helper::AddUserCand >::NamedUserDataLoader(), Python11ParameterSet::newInputTag(), cmspython3::Python11ParameterSet::newInputTag(), nonProducerComponent(), SingleTopTChannelLeptonDQM_miniAOD::objectType(), TopSingleLeptonDQM_miniAOD::objectType(), TopSingleLeptonDQM::objectType(), SingleTopTChannelLeptonDQM::objectType(), TopDiLeptonOfflineDQM::objectType(), METCorrectorParametersCollection::operator[](), MEtXYcorrectParametersCollection::operator[](), JetCorrectorParametersCollection::operator[](), pat::PATObject< reco::Muon >::overlaps(), edm::parameterSet(), cscdqm::Collection::ParseAxisLabels(), pat::PATGenericParticleProducer::PATGenericParticleProducer(), pat::PATJetProducer::PATJetProducer(), pat::PATJetUpdater::PATJetUpdater(), pat::PATTauProducer::PATTauProducer(), PileupJetIdProducer::PileupJetIdProducer(), PlotOccupancyMapGeneric(), PlotOnTrackOccupancyGeneric(), FastTimerService::postBeginJob(), edm::service::StallMonitor::postBeginJob(), edm::service::SimpleMemoryCheck::postEndJob(), FastTimerService::postGlobalEndLumi(), FastTimerService::postGlobalEndRun(), edm::service::SimpleMemoryCheck::postModule(), CSCChamberTimeCorrectionsValues::prefill(), NVProfilerService::preModuleBeginJob(), NVProfilerService::preModuleBeginStream(), NVProfilerService::preModuleConstruction(), NVProfilerService::preModuleEndJob(), NVProfilerService::preModuleEndStream(), NVProfilerService::preModuleEvent(), NVProfilerService::preModuleEventAcquire(), NVProfilerService::preModuleEventPrefetching(), NVProfilerService::preModuleGlobalBeginLumi(), NVProfilerService::preModuleGlobalBeginRun(), NVProfilerService::preModuleGlobalEndLumi(), NVProfilerService::preModuleGlobalEndRun(), NVProfilerService::preModuleStreamBeginLumi(), NVProfilerService::preModuleStreamBeginRun(), NVProfilerService::preModuleStreamEndLumi(), NVProfilerService::preModuleStreamEndRun(), CTPPSRPAlignmentCorrectionsDataESSourceXML::PrepareSequence(), NVProfilerService::preSourceConstruction(), PrimaryVertexPlots(), print_detailed_path_state(), printCommonMETData(), FastTimerService::printEventHeader(), FastTimerService::printEventLine(), edm::ConfigurationDescriptions::printForLabel(), printFrame(), FastTimerService::printHeader(), printMVAMEtJetInfo(), printMVAMEtPFCandInfo(), edm::ParameterDescription< std::vector< ParameterSet > >::printNestedContent_(), FastTimerService::printPathSummaryHeader(), FastTimerService::printPathSummaryLine(), FastTimerService::printSummary(), FastTimerService::printSummaryHeader(), FastTimerService::printSummaryLine(), TrackstersMergeProducer::printTrackstersDebug(), FastTimerService::printTransition(), SiStripProcessedRawDigiProducer::produce(), TriggerSummaryProducerRAW::produce(), L1EmulBias::produce(), TriggerSummaryProducerAOD::produce(), QGLikelihoodESProducer::QGLikelihoodESProducer(), QGLikelihoodSystematicsESProducer::QGLikelihoodSystematicsESProducer(), edm::service::RandomNumberGeneratorService::RandomNumberGeneratorService(), npstat::LinInterpolatedTableND< Numeric, Axis >::read(), pat::PATMuonProducer::readIsolationLabels(), pat::PATPhotonProducer::readIsolationLabels(), pat::PATElectronProducer::readIsolationLabels(), L1MuDTSectorReceiver::receiveCSCData(), L1MuGMTPSB::receiveData(), edm::RootFile::reportOpened(), pat::PATObject< reco::Muon >::resolE(), pat::PATObject< reco::Muon >::resolEt(), pat::PATObject< reco::Muon >::resolEta(), pat::PATObject< reco::Muon >::resolM(), pat::PATObject< reco::Muon >::resolP(), pat::PATObject< reco::Muon >::resolPhi(), pat::PATObject< reco::Muon >::resolPInv(), pat::PATObject< reco::Muon >::resolPt(), pat::PATObject< reco::Muon >::resolPx(), pat::PATObject< reco::Muon >::resolPy(), pat::PATObject< reco::Muon >::resolPz(), pat::PATObject< reco::Muon >::resolTheta(), TestCUDAProducerGPUKernel::runAlgo(), RunRangeDependentPedeLabeler::runRangeFromLabel(), RunRangeDependentPedeLabeler::runRangeIndexFromLabel(), edm::SecondaryEventProvider::SecondaryEventProvider(), SegmentTrackAnalyzer::SegmentTrackAnalyzer(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble::selectionPath(), TopSingleLepton_miniAOD::MonitorEnsemble::selectionPath(), TopSingleLepton::MonitorEnsemble::selectionPath(), SingleTopTChannelLepton::MonitorEnsemble::selectionPath(), TopDiLeptonOffline::MonitorEnsemble::selectionPath(), muon::selectionTypeFromString(), muon::selectorFromString(), JsonOutputProducer::JsonVars::serialise(), edm::messagedrop::StringProducerWithPhase::set(), dqm::impl::MonitorElement::setBinLabel(), HcalObjRepresent::setBinLabels(), HcalObjRepresent::ADataRepr::setBinLabels(), DTConfigBti::setDefaults(), DTConfigTraco::setDefaults(), HcalObjRepresent::SetEtaPhiLabels(), PhysicsTools::MVAModuleHelper< Record, Object, Filler >::setEventSetup(), pat::PATObject< reco::Muon >::setKinResolution(), CSGAction::setMenuLabel(), edm::MessageDrop::setModuleWithPhase(), pat::PATObject< reco::Muon >::setOverlaps(), edm::RandomEngineStates::setRandomEngineStates(), edm::BranchDescription::setSwitchAliasModuleLabel(), HcalDbProducer::setupProduce(), HcalDbProducer::setupProduceAll(), HcalDbProducer::setupProduceAllImpl(), CmsShowMainFrame::showFWorksInfo(), SiPixelQualityESProducer::SiPixelQualityESProducer(), SiStripDelayESProducer::SiStripDelayESProducer(), SiStripGainFromCalibTree::SiStripGainFromCalibTree(), SiStripGainsPCLWorker::SiStripGainsPCLWorker(), edm::service::RandomNumberGeneratorService::snapShot(), SplittingConfigurableHisto::SplittingConfigurableHisto(), StatisticsPlots(), pat::L1MuonMatcher::storeExtraInfo(), pat::HLTL1MuonMatcher::storeExtraInfo(), pat::MatcherUsingTracks::storeValueMap(), TriggerMatcherToHLTDebug::storeValueMap(), GenWeightsTableProducer::streamBeginLuminosityBlock(), edm::StreamSchedule::StreamSchedule(), sistrip::MeasureLA::summarize_module_muH_byLayer(), pat::Jet::tagInfoByTypeOrLabel(), TauDiscriminationProducerBase< TauType, TauDiscriminator >::TauDiscriminationProducerBase(), TauValidation::tauMother(), TestPythiaDecays::TestPythiaDecays(), edm::throwAmbiguousException(), SiStripGainSimESProducer::TokenLabel::TokenLabel(), SiStripDelayESProducer::TokenSign::TokenSign(), edm::service::Tracer::Tracer(), TrackCount::TrackCount(), TrackListMerger::TrackListMerger(), TrackPlots(), TriggerSummaryProducerAOD::TriggerSummaryProducerAOD(), fwlite::Record::typeAndLabelOfAvailableData(), fwlite::RecordWriter::update(), PhysicsTools::MVAComputerCache::update(), HLTrigReport::updateConfigCache(), JetTagComputer::uses(), edm::ParameterDescription< std::vector< ParameterSet > >::validate_(), edm::HiMixingModule::verifyRegistry(), PrimaryVertexProducerAlgorithm::vertices(), magneticfield::VolumeBasedMagneticFieldESProducerFromDB::VolumeBasedMagneticFieldESProducerFromDB(), edm::walkTrie(), edm::AsciiOutputModule::write(), sistrip::EnsembleCalibrationLA::write_ensembles_text(), ElectronHEEPIDValueMapProducer::writeValueMap(), MuonSimClassifier::writeValueMap(), MuonMCClassifier::writeValueMap(), fwlite::Event::~Event(), fwlite::LuminosityBlock::~LuminosityBlock(), and fwlite::Run::~Run().

◆ mode