#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 | kExcludeESModulesCommandOpt = "excludeESModules,e" |
static char const *const | kExcludeESModulesOpt = "excludeESModules" |
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(), and query::result.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 922 of file EdmProvDump.cc.
References dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, ProvenanceDumper::dump(), alignCSCRings::e, error, cppFunctionSkipper::exception, ProvenanceDumper::exitCode(), convertXMLtoSQLite_cfg::fileName, kDependenciesCommandOpt, fwlog::kError, kFileNameOpt, kFindMatchCommandOpt, kFindMatchOpt, kHelpCommandOpt, kShowAllModulesCommandOpt, AlCaHLTBitMon_ParallelJobs::options, AlCaHLTBitMon_ParallelJobs::p, ProvenanceDumper::printErrors(), DTTTrigCorrFirst::run, cms::Exception::what(), and x.
std::string nonProducerComponent | ( | std::string const & | iCompName, |
edm::ParameterSet const & | iProcessConfig, | ||
std::string const & | iProcessName | ||
) |
Definition at line 227 of file EdmProvDump.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), diffTwoXMLs::label, prettyPrint(), and query::result.
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, and dataformats::indent().
|
static |
Definition at line 414 of file EdmProvDump.cc.
References alignCSCRings::e, i, edm::ParameterSet::psetTable(), edm::ParameterSet::tbl(), and edm::ParameterSet::vpsetTable().
Referenced by ProvenanceDumper::dumpParameterSetForID_(), eventSetupComponent(), nonProducerComponent(), prettyPrint(), topLevelPSet(), and ProvenanceDumper::work_().
|
static |
Definition at line 387 of file EdmProvDump.cc.
References edm::ParameterSetEntry::isTracked(), prettyPrint(), and edm::ParameterSetEntry::pset().
|
static |
Definition at line 395 of file EdmProvDump.cc.
References alignCSCRings::e, i, edm::VParameterSetEntry::isTracked(), prettyPrint(), errorMatrix2Lands_multiChannel::start, and edm::VParameterSetEntry::vpset().
|
static |
Definition at line 283 of file EdmProvDump.cc.
References edm::ParameterSet::getParameterSet(), prettyPrint(), and query::result.
|
static |
Definition at line 908 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 907 of file EdmProvDump.cc.
|
static |
Definition at line 910 of file EdmProvDump.cc.
|
static |
Definition at line 909 of file EdmProvDump.cc.
|
static |
Definition at line 920 of file EdmProvDump.cc.
|
static |
Definition at line 919 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 914 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 913 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 918 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 917 of file EdmProvDump.cc.
|
static |
Definition at line 912 of file EdmProvDump.cc.
Referenced by main().
|
static |
Definition at line 911 of file EdmProvDump.cc.
|
static |
Definition at line 916 of file EdmProvDump.cc.
|
static |
Definition at line 915 of file EdmProvDump.cc.
|
static |
Definition at line 906 of file EdmProvDump.cc.
|
static |
Definition at line 905 of file EdmProvDump.cc.