Public Member Functions | |
void | dump () |
int | exitCode () const |
ProvenanceDumper & | operator= (ProvenanceDumper const &)=delete |
void | printErrors (std::ostream &os) |
ProvenanceDumper (std::string const &filename, bool showDependencies, bool extendedAncestors, bool extendedDescendants, bool excludeESModules, bool showAllModules, bool showTopLevelPSets, std::vector< std::string > const &findMatch, bool dontPrintProducts, std::string const &dumpPSetID, int productIDEntry) | |
ProvenanceDumper (ProvenanceDumper const &)=delete | |
Private Member Functions | |
void | addAncestors (edm::BranchID const &branchID, std::set< edm::BranchID > &ancestorBranchIDs, std::ostringstream &sout, std::map< edm::BranchID, std::set< edm::ParentageID >> &perProductParentage) const |
void | addDescendants (edm::BranchID const &branchID, std::set< edm::BranchID > &descendantBranchIDs, std::ostringstream &sout, std::map< edm::BranchID, std::set< edm::BranchID >> &parentToChildren) const |
void | dumpEventFilteringParameterSets (edm::EventSelectionIDVector const &ids) |
void | dumpEventFilteringParameterSets_ (TFile *file) |
void | dumpParameterSetForID_ (edm::ParameterSetID const &id) |
void | dumpProcessHistory_ () |
std::optional< std::tuple< edm::BranchIDListHelper, std::vector< edm::ProcessIndex > > > | makeBranchIDListHelper () |
void | work_ () |
Private Attributes | |
bool | dontPrintProducts_ |
std::string | dumpPSetID_ |
int | errorCount_ |
std::stringstream | errorLog_ |
bool | excludeESModules_ |
int | exitCode_ |
bool | extendedAncestors_ |
bool | extendedDescendants_ |
std::string | filename_ |
std::vector< std::string > | findMatch_ |
HistoryNode | historyGraph_ |
edm::propagate_const< std::unique_ptr< TFile > > | inputFile_ |
edm::ProcessConfigurationVector | phc_ |
edm::ProcessHistoryVector | phv_ |
int const | productIDEntry_ |
bool | productRegistryPresent_ |
ParameterSetMap | psm_ |
edm::ProductRegistry | reg_ |
bool | showDependencies_ |
bool | showOtherModules_ |
bool | showTopLevelPSets_ |
Definition at line 434 of file EdmProvDump.cc.
ProvenanceDumper::ProvenanceDumper | ( | std::string const & | filename, |
bool | showDependencies, | ||
bool | extendedAncestors, | ||
bool | extendedDescendants, | ||
bool | excludeESModules, | ||
bool | showAllModules, | ||
bool | showTopLevelPSets, | ||
std::vector< std::string > const & | findMatch, | ||
bool | dontPrintProducts, | ||
std::string const & | dumpPSetID, | ||
int | productIDEntry | ||
) |
Definition at line 499 of file EdmProvDump.cc.
|
delete |
|
private |
Definition at line 1076 of file EdmProvDump.cc.
References MicroEventContent_cff::branch, edm::ParentageRegistry::getMapped(), edm::ParentageRegistry::instance(), and edm::Parentage::parents().
Referenced by work_().
|
private |
Definition at line 1097 of file EdmProvDump.cc.
Referenced by work_().
void ProvenanceDumper::dump | ( | void | ) |
|
private |
Definition at line 536 of file EdmProvDump.cc.
References gather_cfg::cout, dumpParameterSetForID_(), and mps_fire::i.
Referenced by dumpEventFilteringParameterSets_().
|
private |
Definition at line 551 of file EdmProvDump.cc.
References cms::cuda::assert(), gather_cfg::cout, dumpEventFilteringParameterSets(), edm::poolNames::eventHistoryBranchName(), edm::poolNames::eventHistoryTreeName(), events, edm::poolNames::eventSelectionsBranchName(), edm::poolNames::eventTreeName(), geometryDiff::file, and h.
Referenced by work_().
|
private |
Definition at line 580 of file EdmProvDump.cc.
References gather_cfg::cout, relativeConstraints::empty, mps_fire::i, sistrip::SpyUtilities::isValid(), prettyPrint(), and psm_.
Referenced by dumpEventFilteringParameterSets(), and work_().
|
private |
Definition at line 602 of file EdmProvDump.cc.
References submitPVValidationJobs::child, gather_cfg::cout, historyGraph_, l1ctLayer2EG_cff::id, class-composition::parent, and phv_.
Referenced by work_().
int ProvenanceDumper::exitCode | ( | ) | const |
|
private |
Definition at line 639 of file EdmProvDump.cc.
References cms::cuda::assert(), edm::poolNames::branchIDListBranchName(), edm::poolNames::branchListIndexesBranchName(), events, edm::poolNames::eventTreeName(), edm::BranchIDListHelper::fixBranchListIndexes(), inputFile_, edm::makeBranchListIndexToProcessIndex(), edm::poolNames::metaDataTreeName(), eostools::move(), or, productIDEntry_, and edm::BranchIDListHelper::updateFromInput().
Referenced by work_().
|
delete |
void ProvenanceDumper::printErrors | ( | std::ostream & | os | ) |
Definition at line 529 of file EdmProvDump.cc.
References errorCount_, and errorLog_.
Referenced by main().
|
private |
Definition at line 703 of file EdmProvDump.cc.
References addAncestors(), addDescendants(), cms::cuda::assert(), MicroEventContent_cff::branch, edm::branchIDToProductID(), edm::BranchTypeToBranchEntryInfoBranchName(), edm::BranchTypeToMetaDataTreeName(), edm::BranchTypeToProductProvenanceBranchName(), edm::BranchTypeToProductTreeName(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, gather_cfg::cout, dontPrintProducts_, dumpEventFilteringParameterSets_(), dumpParameterSetForID_(), dumpProcessHistory_(), dumpPSetID_, edm::ParameterSet::empty(), errorCount_, errorLog_, Exception, excludeESModules_, edm::ParameterSet::existsAs(), exitCode_, extendedAncestors_, extendedDescendants_, findMatch_, edm::propagate_const< T >::get(), edm::ParentageRegistry::getMapped(), edm::pset::Registry::getMapped(), edm::ParameterSet::getParameterSet(), historyGraph_, mps_fire::i, edm::Parentage::id(), l1ctLayer2EG_cff::id, edm::ParameterSet::id(), edm::poolNames::idToParameterSetBlobsBranchName(), edm::InEvent, info(), input, inputFile_, edm::ParentageRegistry::insertMapped(), edm::pset::Registry::insertMapped(), edm::ParentageRegistry::instance(), edm::pset::Registry::instance(), edm::ParameterSet::isRegistered(), B2GTnPMonitor_cfi::item, makeBranchIDListHelper(), edm::poolNames::metaDataTreeName(), edm::poolNames::moduleDescriptionMapBranchName(), HerwigMaxPtPartonFilter_cfi::moduleLabel, edm::numEntries(), edm::poolNames::parameterSetMapBranchName(), edm::poolNames::parameterSetsTreeName(), edm::poolNames::parentageBranchName(), edm::poolNames::parentageTreeName(), edm::Parentage::parents(), phc_, phv_, prettyPrint(), LaserDQM_cfg::process, edm::poolNames::processHistoryBranchName(), edm::poolNames::processHistoryMapBranchName(), edm::poolNames::productDescriptionBranchName(), edm::ProductRegistry::productListUpdator(), productRegistryPresent_, muonDTDigis_cfi::pset, psm_, reg_, edm::ParameterSet::registerIt(), alignCSCRings::s, edm::setIsMergeable(), showDependencies_, showOtherModules_, showTopLevelPSets_, edm::sort_all(), source, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, triggerPaths, triggerResults, tier0::unique(), and x.
Referenced by dump().
|
private |
Definition at line 487 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 488 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 473 of file EdmProvDump.cc.
Referenced by printErrors(), and work_().
|
private |
Definition at line 472 of file EdmProvDump.cc.
Referenced by printErrors(), and work_().
|
private |
Definition at line 482 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 471 of file EdmProvDump.cc.
Referenced by exitCode(), and work_().
|
private |
Definition at line 480 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 481 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 469 of file EdmProvDump.cc.
|
private |
Definition at line 486 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 478 of file EdmProvDump.cc.
Referenced by dumpProcessHistory_(), and work_().
|
private |
Definition at line 470 of file EdmProvDump.cc.
Referenced by makeBranchIDListHelper(), and work_().
|
private |
Definition at line 475 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 476 of file EdmProvDump.cc.
Referenced by dumpProcessHistory_(), and work_().
|
private |
Definition at line 489 of file EdmProvDump.cc.
Referenced by makeBranchIDListHelper().
|
private |
Definition at line 484 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 477 of file EdmProvDump.cc.
Referenced by dumpParameterSetForID_(), and work_().
|
private |
Definition at line 474 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 479 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 483 of file EdmProvDump.cc.
Referenced by work_().
|
private |
Definition at line 485 of file EdmProvDump.cc.
Referenced by work_().