#include "DataFormats/Provenance/interface/BranchType.h"
#include "DataFormats/Provenance/interface/EventSelectionID.h"
#include "DataFormats/Provenance/interface/History.h"
#include "DataFormats/Provenance/interface/ParameterSetBlob.h"
#include "DataFormats/Provenance/interface/ProcessConfigurationRegistry.h"
#include "DataFormats/Provenance/interface/ParameterSetID.h"
#include "DataFormats/Provenance/interface/ProcessHistoryRegistry.h"
#include "DataFormats/Provenance/interface/ProcessConfigurationID.h"
#include "DataFormats/Provenance/interface/ProductRegistry.h"
#include "DataFormats/Provenance/interface/Parentage.h"
#include "DataFormats/Provenance/interface/ProductProvenance.h"
#include "DataFormats/Provenance/interface/StoredProductProvenance.h"
#include "DataFormats/Provenance/interface/ParentageRegistry.h"
#include "FWCore/Catalog/interface/InputFileCatalog.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/Registry.h"
#include "FWCore/ParameterSet/interface/FillProductRegistryTransients.h"
#include "FWCore/ServiceRegistry/interface/ServiceRegistry.h"
#include "FWCore/Services/src/SiteLocalConfigService.h"
#include "FWCore/Utilities/interface/Algorithms.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "Cintex/Cintex.h"
#include "TError.h"
#include "TFile.h"
#include "TTree.h"
#include "boost/program_options.hpp"
#include <assert.h>
#include <iostream>
#include <memory>
#include <map>
#include <set>
#include <sstream>
#include <vector>
Go to the source code of this file.
Classes | |
class | ProvenanceDumper |
Typedefs | |
typedef std::map< std::string, std::vector < edm::BranchDescription > > | IdToBranches |
typedef std::map< std::pair < std::string, std::string > , IdToBranches > | ModuleToIdBranches |
Functions | |
static void | appendToSet (std::set< std::string > &iSet, std::vector< std::string > const &iFrom) |
std::string | eventSetupComponent (char const *iType, std::string const &iCompName, edm::ParameterSet const &iProcessConfig, std::string const &iProcessName) |
int | main (int argc, char *argv[]) |
std::string | nonProducerComponent (std::string const &iCompName, edm::ParameterSet const &iProcessConfig, std::string const &iProcessName) |
std::ostream & | operator<< (std::ostream &os, edm::ProcessHistory &iHist) |
static std::ostream & | prettyPrint (std::ostream &oStream, edm::ParameterSet const &iPSet, std::string const &iIndent, std::string const &iIndentDelta) |
static std::ostream & | prettyPrint (std::ostream &os, edm::ParameterSetEntry const &psetEntry, std::string const &iIndent, std::string const &iIndentDelta) |
static std::ostream & | prettyPrint (std::ostream &os, edm::VParameterSetEntry const &vpsetEntry, std::string const &iIndent, std::string const &iIndentDelta) |
static std::string | topLevelPSet (std::string const &iName, edm::ParameterSet const &iProcessConfig, std::string const &iProcessName) |
Variables | |
static char const *const | kDependenciesCommandOpt = "dependencies,d" |
static char const *const | kDependenciesOpt = "dependencies" |
static char const *const | kDontPrintProductsCommandOpt = "dontPrintProducts,p" |
static char const *const | kDontPrintProductsOpt = "dontPrintProducts" |
static char const *const | kExcludeESModulesCommandOpt = "excludeESModules,e" |
static char const *const | kExcludeESModulesOpt = "excludeESModules" |
static char const *const | kExtendedAncestorsCommandOpt = "extendedAncestors,x" |
static char const *const | kExtendedAncestorsOpt = "extendedAncestors" |
static char const *const | kExtendedDescendantsCommandOpt = "extendedDescendants,c" |
static char const *const | kExtendedDescendantsOpt = "extendedDescendants" |
static char const *const | kFileNameCommandOpt = "input-file" |
static char const *const | kFileNameOpt = "input-file" |
static char const *const | kFindMatchCommandOpt = "findMatch,f" |
static char const *const | kFindMatchOpt = "findMatch" |
static char const *const | kHelpCommandOpt = "help,h" |
static char const *const | kHelpOpt = "help" |
static char const *const | kShowAllModulesCommandOpt = "showAllModules,a" |
static char const *const | kShowAllModulesOpt = "showAllModules" |
static char const *const | kShowTopLevelPSetsCommandOpt ="showTopLevelPSets,t" |
static char const *const | kShowTopLevelPSetsOpt = "showTopLevelPSets" |
static char const *const | kSortCommandOpt = "sort,s" |
static char const *const | kSortOpt = "sort" |
typedef std::map<std::string, std::vector<edm::BranchDescription> > IdToBranches |
Definition at line 39 of file EdmProvDump.cc.
typedef std::map<std::pair<std::string, std::string>, IdToBranches> ModuleToIdBranches |
Definition at line 40 of file EdmProvDump.cc.
|
static |
std::string eventSetupComponent | ( | char const * | iType, |
std::string const & | iCompName, | ||
edm::ParameterSet const & | iProcessConfig, | ||
std::string const & | iProcessName | ||
) |
Definition at line 161 of file EdmProvDump.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), mergeVDriftHistosByStation::name, prettyPrint(), query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 1088 of file EdmProvDump.cc.
References dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, ProvenanceDumper::dump(), alignCSCRings::e, error, cppFunctionSkipper::exception, ProvenanceDumper::exitCode(), convertXMLtoSQLite_cfg::fileName, kDependenciesCommandOpt, kDontPrintProductsCommandOpt, fwlog::kError, kExtendedDescendantsCommandOpt, kFileNameOpt, kFindMatchCommandOpt, kFindMatchOpt, kHelpCommandOpt, kShowAllModulesCommandOpt, AlCaHLTBitMon_ParallelJobs::options, AlCaHLTBitMon_ParallelJobs::p, ProvenanceDumper::printErrors(), DTTTrigCorrFirst::run, AlCaHLTBitMon_QueryRunRegistry::string, cms::Exception::what(), and x.
std::string nonProducerComponent | ( | std::string const & | iCompName, |
edm::ParameterSet const & | iProcessConfig, | ||
std::string const & | iProcessName | ||
) |
Definition at line 245 of file EdmProvDump.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), diffTwoXMLs::label, prettyPrint(), query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
std::ostream& operator<< | ( | std::ostream & | os, |
edm::ProcessHistory & | iHist | ||
) |
Definition at line 133 of file EdmProvDump.cc.
References edm::ProcessHistory::begin(), alignCSCRings::e, edm::ProcessHistory::end(), i, dataformats::indent(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 451 of file EdmProvDump.cc.
References alignCSCRings::e, i, edm::ParameterSet::psetTable(), AlCaHLTBitMon_QueryRunRegistry::string, edm::ParameterSet::tbl(), and edm::ParameterSet::vpsetTable().
Referenced by ProvenanceDumper::dumpParameterSetForID_(), eventSetupComponent(), nonProducerComponent(), prettyPrint(), topLevelPSet(), and ProvenanceDumper::work_().
|
static |
Definition at line 424 of file EdmProvDump.cc.
References edm::ParameterSetEntry::isTracked(), prettyPrint(), and edm::ParameterSetEntry::pset().
|
static |
Definition at line 432 of file EdmProvDump.cc.
References alignCSCRings::e, i, edm::VParameterSetEntry::isTracked(), prettyPrint(), dqm_diff::start, AlCaHLTBitMon_QueryRunRegistry::string, and edm::VParameterSetEntry::vpset().
|
static |
Definition at line 310 of file EdmProvDump.cc.
References edm::ParameterSet::getParameterSet(), prettyPrint(), and query::result.
|
static |
Definition at line 1068 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 1067 of file EdmProvDump.cc.
|
static |
Definition at line 1080 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 1079 of file EdmProvDump.cc.
|
static |
Definition at line 1074 of file EdmProvDump.cc.
|
static |
Definition at line 1073 of file EdmProvDump.cc.
|
static |
Definition at line 1070 of file EdmProvDump.cc.
|
static |
Definition at line 1069 of file EdmProvDump.cc.
|
static |
Definition at line 1072 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 1071 of file EdmProvDump.cc.
|
static |
Definition at line 1086 of file EdmProvDump.cc.
|
static |
Definition at line 1085 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 1078 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 1077 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 1084 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 1083 of file EdmProvDump.cc.
|
static |
Definition at line 1076 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 1075 of file EdmProvDump.cc.
|
static |
Definition at line 1082 of file EdmProvDump.cc.
|
static |
Definition at line 1081 of file EdmProvDump.cc.
|
static |
Definition at line 1066 of file EdmProvDump.cc.
|
static |
Definition at line 1065 of file EdmProvDump.cc.