CMS 3D CMS Logo

Classes | Typedefs | Functions | Variables
EdmProvDump.cc File Reference
#include "DataFormats/Common/interface/setIsMergeable.h"
#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/ParameterSetID.h"
#include "DataFormats/Provenance/interface/ProcessHistoryRegistry.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/ServiceRegistry/interface/ServiceRegistry.h"
#include "FWCore/Services/src/SiteLocalConfigService.h"
#include "FWCore/Utilities/interface/Algorithms.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/Utilities/interface/propagate_const.h"
#include "TError.h"
#include "TFile.h"
#include "TTree.h"
#include "boost/program_options.hpp"
#include <cassert>
#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 >, IdToBranchesModuleToIdBranches
 

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 std::string const input = std::string("@main_input")
 
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 kDumpPSetIDCommandOpt = "dumpPSetID,i"
 
static char const *const kDumpPSetIDOpt = "dumpPSetID"
 
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 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"
 
static std::string const source = std::string("source")
 
static std::string const triggerPaths = std::string("@trigger_paths")
 
static std::string const triggerResults = std::string("TriggerResults")
 

Typedef Documentation

typedef std::map<std::string, std::vector<edm::BranchDescription> > IdToBranches

Definition at line 37 of file EdmProvDump.cc.

typedef std::map<std::pair<std::string, std::string>, IdToBranches> ModuleToIdBranches

Definition at line 38 of file EdmProvDump.cc.

Function Documentation

static void appendToSet ( std::set< std::string > &  iSet,
std::vector< std::string > const &  iFrom 
)
static

Definition at line 260 of file EdmProvDump.cc.

References gen::n.

Referenced by topLevelPSet().

260  {
261  for (auto const& n : iFrom) {
262  iSet.insert(n);
263  }
264 }
std::string eventSetupComponent ( char const *  iType,
std::string const &  iCompName,
edm::ParameterSet const &  iProcessConfig,
std::string const &  iProcessName 
)

Definition at line 133 of file EdmProvDump.cc.

References popcon2dropbox::copy(), gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), eostools::move(), dataset::name, prettyPrint(), muonDTDigis_cfi::pset, mps_fire::result, jetUpdater_cfi::sort, and AlCaHLTBitMon_QueryRunRegistry::string.

136  {
137  std::ostringstream result;
138  edm::ParameterSet const& pset = iProcessConfig.getParameterSet(iCompName);
139  std::string name(pset.getParameter<std::string>("@module_label"));
140  if (name.empty()) {
141  name = pset.getParameter<std::string>("@module_type");
142  }
143 
144  result << iType << ": " << name << " " << iProcessName << "\n"
145  << " parameters: ";
146  prettyPrint(result, pset, " ", " ");
147  return result.str();
148 }
T getParameter(std::string const &) const
static std::ostream & prettyPrint(std::ostream &oStream, edm::ParameterSet const &iPSet, std::string const &iIndent, std::string const &iIndentDelta)
Definition: EdmProvDump.cc:406
int main ( int  argc,
char *  argv[] 
)

Definition at line 1051 of file EdmProvDump.cc.

References MessageLogger_cfi::cerr, gather_cfg::cout, ProvenanceDumper::dump(), MillePedeFileConverter_cfg::e, relativeConstraints::error, cppFunctionSkipper::exception, ProvenanceDumper::exitCode(), MillePedeFileConverter_cfg::fileName, utils::gErrorIgnoreLevel, kDependenciesCommandOpt, kDontPrintProductsCommandOpt, kDumpPSetIDOpt, fwlog::kError, kExtendedDescendantsCommandOpt, kFileNameOpt, kFindMatchCommandOpt, kFindMatchOpt, kHelpCommandOpt, kShowAllModulesCommandOpt, AlcaSiPixelAliHarvester0T_cff::options, AlCaHLTBitMon_ParallelJobs::p, ProvenanceDumper::printErrors(), writedatasetfile::run, AlCaHLTBitMon_QueryRunRegistry::string, cms::Exception::what(), and x.

1051  {
1052  using namespace boost::program_options;
1053 
1054  std::string descString(argv[0]);
1055  descString += " [options] <filename>";
1056  descString += "\nAllowed options";
1057  options_description desc(descString);
1058  desc.add_options()(kHelpCommandOpt, "show help message")(kSortCommandOpt, "alphabetially sort EventSetup components")(
1059  kDependenciesCommandOpt, "print what data each EDProducer is directly dependent upon")(
1060  kExtendedAncestorsCommandOpt, "print what data each EDProducer is dependent upon including indirect dependences")(
1062  "print what data depends on the data each EDProducer produces including indirect dependences")(
1063  kExcludeESModulesCommandOpt, "do not print ES module information")(
1064  kShowAllModulesCommandOpt, "show all modules (not just those that created data in the file)")(
1065  kShowTopLevelPSetsCommandOpt, "show all top level PSets")(
1067  boost::program_options::value<std::vector<std::string>>(),
1068  "show only modules whose information contains the matching string (or all the matching strings, this option can "
1069  "be repeated with different strings)")(kDontPrintProductsCommandOpt, "do not print products produced by module")(
1071  value<std::string>(),
1072  "print the parameter set associated with the parameter set ID string (and print nothing else)");
1073  //we don't want users to see these in the help messages since this
1074  // name only exists since the parser needs it
1075  options_description hidden;
1076  hidden.add_options()(kFileNameOpt, value<std::string>(), "file name");
1077 
1078  //full list of options for the parser
1079  options_description cmdline_options;
1080  cmdline_options.add(desc).add(hidden);
1081 
1082  positional_options_description p;
1083  p.add(kFileNameOpt, -1);
1084 
1085  variables_map vm;
1086  try {
1087  store(command_line_parser(argc, argv).options(cmdline_options).positional(p).run(), vm);
1088  notify(vm);
1089  } catch (error const& iException) {
1090  std::cerr << iException.what();
1091  return 1;
1092  }
1093 
1094  if (vm.count(kHelpOpt)) {
1095  std::cout << desc << std::endl;
1096  return 0;
1097  }
1098 
1099  if (vm.count(kSortOpt)) {
1100  HistoryNode::sort_ = true;
1101  }
1102 
1103  bool showDependencies = false;
1104  if (vm.count(kDependenciesOpt)) {
1105  showDependencies = true;
1106  }
1107 
1108  bool extendedAncestors = false;
1109  if (vm.count(kExtendedAncestorsOpt)) {
1110  extendedAncestors = true;
1111  }
1112 
1113  bool extendedDescendants = false;
1114  if (vm.count(kExtendedDescendantsOpt)) {
1115  extendedDescendants = true;
1116  }
1117 
1118  bool excludeESModules = false;
1119  if (vm.count(kExcludeESModulesOpt)) {
1120  excludeESModules = true;
1121  }
1122 
1123  bool showAllModules = false;
1124  if (vm.count(kShowAllModulesOpt)) {
1125  showAllModules = true;
1126  }
1127 
1128  bool showTopLevelPSets = false;
1129  if (vm.count(kShowTopLevelPSetsOpt)) {
1130  showTopLevelPSets = true;
1131  }
1132 
1134  if (vm.count(kFileNameOpt)) {
1135  try {
1136  fileName = vm[kFileNameOpt].as<std::string>();
1137  } catch (boost::bad_any_cast const& e) {
1138  std::cout << e.what() << std::endl;
1139  return 2;
1140  }
1141  } else {
1142  std::cout << "Data file not specified." << std::endl;
1143  std::cout << desc << std::endl;
1144  return 2;
1145  }
1146 
1147  std::string dumpPSetID;
1148  if (vm.count(kDumpPSetIDOpt)) {
1149  try {
1150  dumpPSetID = vm[kDumpPSetIDOpt].as<std::string>();
1151  } catch (boost::bad_any_cast const& e) {
1152  std::cout << e.what() << std::endl;
1153  return 2;
1154  }
1155  }
1156 
1157  std::vector<std::string> findMatch;
1158  if (vm.count(kFindMatchOpt)) {
1159  try {
1160  findMatch = vm[kFindMatchOpt].as<std::vector<std::string>>();
1161  } catch (boost::bad_any_cast const& e) {
1162  std::cout << e.what() << std::endl;
1163  return 2;
1164  }
1165  }
1166 
1167  bool dontPrintProducts = false;
1168  if (vm.count(kDontPrintProductsOpt)) {
1169  dontPrintProducts = true;
1170  }
1171 
1172  //silence ROOT warnings about missing dictionaries
1174 
1175  ProvenanceDumper dumper(fileName,
1176  showDependencies,
1177  extendedAncestors,
1178  extendedDescendants,
1179  excludeESModules,
1180  showAllModules,
1181  showTopLevelPSets,
1182  findMatch,
1183  dontPrintProducts,
1184  dumpPSetID);
1185  int exitCode(0);
1186  try {
1187  dumper.dump();
1188  exitCode = dumper.exitCode();
1189  } catch (cms::Exception const& x) {
1190  std::cerr << "cms::Exception caught\n";
1191  std::cerr << x.what() << '\n';
1192  exitCode = 2;
1193  } catch (std::exception& x) {
1194  std::cerr << "std::exception caught\n";
1195  std::cerr << x.what() << '\n';
1196  exitCode = 3;
1197  } catch (...) {
1198  std::cerr << "Unknown exception caught\n";
1199  exitCode = 4;
1200  }
1201 
1202  dumper.printErrors(std::cerr);
1203  return exitCode;
1204 }
static char const *const kDontPrintProductsCommandOpt
static char const *const kDumpPSetIDOpt
static char const *const kDependenciesOpt
static char const *const kFindMatchCommandOpt
static char const *const kShowTopLevelPSetsCommandOpt
static char const *const kHelpOpt
char const * what() const override
Definition: Exception.cc:103
static char const *const kDontPrintProductsOpt
static char const *const kDependenciesCommandOpt
static char const *const kHelpCommandOpt
static char const *const kShowTopLevelPSetsOpt
static char const *const kShowAllModulesCommandOpt
static char const *const kExcludeESModulesCommandOpt
static char const *const kSortOpt
static char const *const kExcludeESModulesOpt
static char const *const kSortCommandOpt
static char const *const kExtendedAncestorsCommandOpt
static char const *const kShowAllModulesOpt
gErrorIgnoreLevel
Definition: utils.py:28
static char const *const kExtendedDescendantsOpt
static char const *const kFileNameOpt
static char const *const kExtendedAncestorsOpt
static char const *const kDumpPSetIDCommandOpt
static char const *const kExtendedDescendantsCommandOpt
static char const *const kFindMatchOpt
std::string nonProducerComponent ( std::string const &  iCompName,
edm::ParameterSet const &  iProcessConfig,
std::string const &  iProcessName 
)

Definition at line 206 of file EdmProvDump.cc.

References popcon2dropbox::copy(), gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), label, eostools::move(), prettyPrint(), muonDTDigis_cfi::pset, mps_fire::result, jetUpdater_cfi::sort, and AlCaHLTBitMon_QueryRunRegistry::string.

208  {
209  std::ostringstream result;
210  edm::ParameterSet const& pset = iProcessConfig.getParameterSet(iCompName);
211  std::string label(pset.getParameter<std::string>("@module_label"));
212 
213  result << "Module: " << label << " " << iProcessName << "\n"
214  << " parameters: ";
215  prettyPrint(result, pset, " ", " ");
216  return result.str();
217 }
T getParameter(std::string const &) const
char const * label
static std::ostream & prettyPrint(std::ostream &oStream, edm::ParameterSet const &iPSet, std::string const &iIndent, std::string const &iIndentDelta)
Definition: EdmProvDump.cc:406
std::ostream& operator<< ( std::ostream &  os,
edm::ProcessHistory iHist 
)

Definition at line 113 of file EdmProvDump.cc.

References gather_cfg::cout, summarizeEdmComparisonLogfiles::indent, LaserDQM_cfg::process, and AlCaHLTBitMon_QueryRunRegistry::string.

113  {
114  std::string const indentDelta(" ");
115  std::string indent = indentDelta;
116  for (auto const& process : iHist) {
117  os << indent << process.processName() << " '" << process.passID() << "' '" << process.releaseVersion() << "' ("
118  << process.parameterSetID() << ")" << std::endl;
119  indent += indentDelta;
120  }
121  return os;
122 }
static std::ostream & prettyPrint ( std::ostream &  oStream,
edm::ParameterSet const &  iPSet,
std::string const &  iIndent,
std::string const &  iIndentDelta 
)
static

Definition at line 406 of file EdmProvDump.cc.

References edm::ParameterSet::psetTable(), AlCaHLTBitMon_QueryRunRegistry::string, edm::ParameterSet::tbl(), and edm::ParameterSet::vpsetTable().

Referenced by ProvenanceDumper::dumpParameterSetForID_(), eventSetupComponent(), nonProducerComponent(), prettyPrint(), topLevelPSet(), and ProvenanceDumper::work_().

409  {
410  std::string newIndent = iIndent + iIndentDelta;
411 
412  oStream << "{" << std::endl;
413  for (auto const& item : iPSet.tbl()) {
414  // indent a bit
415  oStream << newIndent << item.first << ": " << item.second << std::endl;
416  }
417  for (auto const& item : iPSet.psetTable()) {
418  // indent a bit
419  edm::ParameterSetEntry const& pe = item.second;
420  oStream << newIndent << item.first << ": ";
421  prettyPrint(oStream, pe, iIndent, iIndentDelta);
422  oStream << std::endl;
423  }
424  for (auto const& item : iPSet.vpsetTable()) {
425  // indent a bit
426  edm::VParameterSetEntry const& pe = item.second;
427  oStream << newIndent << item.first << ": ";
428  prettyPrint(oStream, pe, newIndent, iIndentDelta);
429  oStream << std::endl;
430  }
431  oStream << iIndent << "}";
432 
433  return oStream;
434 }
static std::ostream & prettyPrint(std::ostream &oStream, edm::ParameterSet const &iPSet, std::string const &iIndent, std::string const &iIndentDelta)
Definition: EdmProvDump.cc:406
static std::ostream& prettyPrint ( std::ostream &  os,
edm::ParameterSetEntry const &  psetEntry,
std::string const &  iIndent,
std::string const &  iIndentDelta 
)
static

Definition at line 374 of file EdmProvDump.cc.

References edm::ParameterSetEntry::isTracked(), prettyPrint(), and edm::ParameterSetEntry::pset().

377  {
378  char const* trackiness = (psetEntry.isTracked() ? "tracked" : "untracked");
379  os << "PSet " << trackiness << " = (";
380  prettyPrint(os, psetEntry.pset(), iIndent + iIndentDelta, iIndentDelta);
381  os << ")";
382  return os;
383 }
static std::ostream & prettyPrint(std::ostream &oStream, edm::ParameterSet const &iPSet, std::string const &iIndent, std::string const &iIndentDelta)
Definition: EdmProvDump.cc:406
static std::ostream& prettyPrint ( std::ostream &  os,
edm::VParameterSetEntry const &  vpsetEntry,
std::string const &  iIndent,
std::string const &  iIndentDelta 
)
static

Definition at line 385 of file EdmProvDump.cc.

References edm::VParameterSetEntry::isTracked(), prettyPrint(), command_line::start, AlCaHLTBitMon_QueryRunRegistry::string, and edm::VParameterSetEntry::vpset().

388  {
389  std::vector<edm::ParameterSet> const& vps = vpsetEntry.vpset();
390  os << "VPSet " << (vpsetEntry.isTracked() ? "tracked" : "untracked") << " = ({" << std::endl;
391  std::string newIndent = iIndent + iIndentDelta;
393  std::string const between(",\n");
394  for (auto const& item : vps) {
395  os << start << newIndent;
396  prettyPrint(os, item, newIndent, iIndentDelta);
397  start = between;
398  }
399  if (!vps.empty()) {
400  os << std::endl;
401  }
402  os << iIndent << "})";
403  return os;
404 }
static std::ostream & prettyPrint(std::ostream &oStream, edm::ParameterSet const &iPSet, std::string const &iIndent, std::string const &iIndentDelta)
Definition: EdmProvDump.cc:406
static std::string topLevelPSet ( std::string const &  iName,
edm::ParameterSet const &  iProcessConfig,
std::string const &  iProcessName 
)
static

Definition at line 266 of file EdmProvDump.cc.

References appendToSet(), getEcalConditions_orcoffint2r_cff::catalog, popcon2dropbox::copy(), gather_cfg::cout, edm::ServiceRegistry::createContaining(), Exception, corrVsCorr::filename, LaserTracksInput_cfi::fileNames, edm::InputFileCatalog::fileNames(), utils::gErrorIgnoreLevel, edm::ParameterSet::getParameterSet(), fwlog::kError, eostools::move(), dataset::name, cmsPerfStripChart::operate(), prettyPrint(), muonDTDigis_cfi::pset, mps_fire::result, jetUpdater_cfi::sort, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by findBinOfMaximum().

268  {
269  std::ostringstream result;
270  edm::ParameterSet const& pset = iProcessConfig.getParameterSet(iName);
271 
272  result << "PSet: " << iName << " " << iProcessName << "\n"
273  << " parameters: ";
274  prettyPrint(result, pset, " ", " ");
275  return result.str();
276 }
static std::ostream & prettyPrint(std::ostream &oStream, edm::ParameterSet const &iPSet, std::string const &iIndent, std::string const &iIndentDelta)
Definition: EdmProvDump.cc:406

Variable Documentation

std::string const input = std::string("@main_input")
static

Definition at line 48 of file EdmProvDump.cc.

Referenced by addFile(), PreMixingSiPixelWorker::addPileups(), PreMixingSiStripWorker::addPileups(), L1MuDTTrackAssembler::address(), L1MuBMTrackAssembler::address(), PreMixingSiPixelWorker::addSignals(), PreMixingSiStripWorker::addSignals(), metsig::significanceAlgo::addSignifMatrix(), edm::DataMixingSiPixelWorker::addSiPixelPileups(), edm::DataMixingSiPixelWorker::addSiPixelSignals(), edm::DataMixingSiStripWorker::addSiStripPileups(), edm::DataMixingSiStripWorker::addSiStripSignals(), BufferedBoostIODBWriter::analyze(), SiPixelPhase1DigisV::analyze(), SiPixelPhase1RecHitsV::analyze(), L1CaloInputScalesGenerator::analyze(), L1CaloInputScaleTester::analyze(), RecoTauPlotDiscriminator::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), FFTJetCorrectorDBWriter::analyze(), SiPixelDigiSource::analyze(), FFTJetImageRecorder::analyze(), HitEff::analyze(), SiPixelRawDataErrorSource::analyze(), SiPixelClusterSource::analyze(), HLTGetDigi::analyze(), FFTJetPileupAnalyzer::analyze(), optutl::CommandLineParser::argVec(), reco::PFTauDecayMode::associatedChargedPFCandidates(), reco::PFTauDecayMode::associatedNeutralPFCandidates(), cond::auth::Cipher::b64decrypt(), Basic2DGenericTopoClusterizer::buildClusters(), GenericSimClusterMapper::buildClusters(), PFClusterFromHGCalMultiCluster::buildClusters(), RealisticSimClusterMapper::buildClusters(), SiStripQuality::cabling(), L1RCTReceiverCard::cardNumber(), tensorflow::NTSession::CheckFetch(), DeepTauId::checkInputs(), FlagsCleanerECAL::clean(), ECALPFSeedCleaner::clean(), SpikeAndDoubleSpikeCleaner::clean(), ClusterCollectionFP420::ClusterCollectionFP420(), PixelThresholdClusterizer::clusterizeDetUnit(), MuonErrorMatrix::complicatedTerm(), convertFile(), APVModeFilter::convertMode(), sistrip::RawToDigiUnpacker::createDigis(), sistrip::SpyUnpacker::createDigis(), CTPPSPixelDigiCollection::CTPPSPixelDigiCollection(), d2str(), edm::ThinnedAssociationsHelper::data(), SiStripCondObjBuilderFromDb::dbParams(), PhysicsTools::VarProcessor::deriv(), edm::DetSetVector< T >::DetSetVector(), DigiCollectionFP420::DigiCollectionFP420(), dumpFiles(), EcalTBCrystalMap::EcalTBCrystalMap(), encodeFile(), SiStripBackplaneCalibration::endOfJob(), EcalDeadChannelRecoveryNN< DetIdT >::estimateEnergy(), PhysicsTools::VarProcessor::eval(), L1RCTReceiverCard::fileInput(), pat::helper::OverlapBySuperClusterSeed::fillOverlapsForItem(), LaserAlignmentEventFilter::filter(), ClusterMultiplicityFilter::filter(), PFTauViewRefSelector::filter(), RecoTauDiscriminatorRefSelectorImpl< T >::filter(), reco::tau::AssociationMatchRefSelector< InputType, MatchedType, OutputType, ClonePolicy >::filter(), FFTJetDijetFilter::filter(), reco::PFTauDecayMode::filteredPFCandidates(), CrossingPtBasedLinearizationPointFinder::find(), DivisiveClusterizer1D< T >::findCandidates(), pixeltemp::DivisiveClusterizer1D< T >::findCandidates(), KinematicParticleVertexFitter::fit(), KinematicConstrainedVertexFitter::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), FixedGridEnergyDensity::FixedGridEnergyDensity(), gen::PyquenHadronizer::generatePartonsAndHadronize(), gen::HydjetHadronizer::generatePartonsAndHadronize(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), FFTJetProducer::genJetPreclusters(), SiStripHistoId::getComponentId(), LHEXMLStringProduct::getCompressed(), PFMETAlgorithmMVA::getCovU2(), jsoncollector::DataPoint::getDefinition(), SimpleElectronicsSimInMIPs::getEventSetup(), ETLElectronicsSim::getEventSetup(), BTLElectronicsSim::getEventSetup(), GFOverlay::GetHistManager(), L1RPCHsbConfig::getHsbMask(), tensorflow::NTSession::GetOrCreateExecutors(), tensorflow::TBBSession::GetOrCreateExecutors(), OMTFReconstruction::getProcessorCandidates(), SiPixelHistogramId::getRawId(), MixEvtVtxGenerator::getRecVertex(), MixBoostEvtVtxGenerator::getRecVertex(), SiStripApvGain::getRegistryPointers(), SiStripSummary::getRegistryVectorEnd(), HDQMSummary::getRegistryVectorEnd(), SiStripThreshold::getRegistryVectorEnd(), RPCLBPacker::getRPCLBRecords(), METCorrectorParametersCollection::getSections(), MEtXYcorrectParametersCollection::getSections(), JetCorrectorParametersCollection::getSections(), MixEvtVtxGenerator::getVertex(), edm::HiMixingModule::HiMixingModule(), i2str(), edm::RootInputFileSequence::initFile(), SiPixelGainCalibrationOffline::initialize(), SiPixelGainCalibration::initialize(), CSCOverlapsAlignmentAlgorithm::initialize(), MuonTaggerNoIPMLP::input0xb50d328(), MuonTaggerNoIPMLP::input0xb50d550(), MuonTaggerNoIPMLP::input0xb50d810(), MuonTaggerNoIPMLP::input0xb50dad0(), MuonTaggerNoIPMLP::input0xb50de18(), MuonTaggerNoIPMLP::input0xb50e090(), MuonTaggerNoIPMLP::input0xb50e350(), MuonTaggerNoIPMLP::input0xb50e5c0(), MuonTaggerNoIPMLP::input0xb50e6c8(), MuonTaggerNoIPMLP::input0xb50e968(), MuonTaggerNoIPMLP::input0xb50ec28(), MuonTaggerNoIPMLP::input0xb50eee8(), MuonTaggerNoIPMLP::input0xb50f1a8(), MuonTaggerNoIPMLP::input0xb50f4f0(), MuonTaggerNoIPMLP::input0xb50fae8(), MuonTaggerNoIPMLP::input0xb50fda8(), MuonTaggerNoIPMLP::input0xb510310(), MuonTaggerNoIPMLP::input0xb510650(), MuonTaggerNoIPMLP::input0xb510a58(), MuonTaggerNoIPMLP::input0xb510f10(), cms::SubEventGenJetProducer::inputTowers(), VirtualJetProducer::inputTowers(), SiStripDetKey::isConsistent(), SiStripFecKey::isConsistent(), SiStripFedKey::isConsistent(), SiStripDetKey::isEqual(), SiStripFecKey::isEqual(), SiStripFedKey::isEqual(), JetCorrectorParameters::JetCorrectorParameters(), VirtualJetProducer::jetType(), FFTJetProducer::loadEnergyFlow(), SiStripAPVRestorer::loadMeanCMMap(), FFTJetProducer::loadSparseTreeData(), edm::service::SiteLocalConfigService::lookupCalibConnect(), edm::makeInput(), HLTConfigProvider::matched(), METCorrectorParameters::METCorrectorParameters(), MEtXYcorrectParameters::MEtXYcorrectParameters(), SymmetricLayerFinder::mirror(), HiggsValidation::MonitoredDecays::MonitoredDecays(), MuonTaggerNoIPMLP::neuron0xb50d328(), MuonTaggerNoIPMLP::neuron0xb50d550(), MuonTaggerNoIPMLP::neuron0xb50d810(), MuonTaggerNoIPMLP::neuron0xb50dad0(), MuonTaggerNoIPMLP::neuron0xb50de18(), MuonTaggerNoIPMLP::neuron0xb50e090(), MuonTaggerNoIPMLP::neuron0xb50e350(), MuonTaggerNoIPMLP::neuron0xb50e5c0(), MuonTaggerNoIPMLP::neuron0xb50e6c8(), MuonTaggerNoIPMLP::neuron0xb50e968(), MuonTaggerNoIPMLP::neuron0xb50ec28(), MuonTaggerNoIPMLP::neuron0xb50eee8(), MuonTaggerNoIPMLP::neuron0xb50f1a8(), MuonTaggerNoIPMLP::neuron0xb50f4f0(), MuonTaggerNoIPMLP::neuron0xb50fae8(), MuonTaggerNoIPMLP::neuron0xb50fda8(), MuonTaggerNoIPMLP::neuron0xb510310(), MuonTaggerNoIPMLP::neuron0xb510650(), MuonTaggerNoIPMLP::neuron0xb510a58(), MuonTaggerNoIPMLP::neuron0xb510f10(), dqmstorepb::ROOTFilePB_Histo::New(), dqmstorepb::ROOTFilePB::New(), SiStripPartition::operator!=(), SiStripDbParams::operator!=(), AnomalousTower::operator()(), BlockSolver::operator()(), DivisiveClusterizer1D< T >::operator()(), pixeltemp::DivisiveClusterizer1D< T >::operator()(), std::hash< mtd_digitizer::MTDCellId >::operator()(), egPM::Param< reco::ElectronSeed >::operator()(), operator>>(), trivialParser::parse(), PFClusterCollectionMerger::PFClusterCollectionMerger(), PixelDigiCollection::PixelDigiCollection(), PlotCombiner(), printTrackerMap(), HistogramProbabilityEstimator::probability(), FFTJetTreeDump::processTreeData(), CrossingFramePSimHitToPSimHitsConverter::produce(), PileupSummaryInfoSlimmer::produce(), SiStripZeroSuppression::produce(), CTPPSModifiedOpticalFunctionsESSource::produce(), RawDataCollectorByLabel::produce(), PFClusterCollectionMerger::produce(), ScaleCorrMETData::produce(), SiPixelClusterShapeCacheProducer::produce(), RawDataMapperByLabel::produce(), sistrip::ExcludedFEDListProducer::produce(), TotemRPRecHitProducer::produce(), SiStripClusterToDigiProducer::produce(), PixelClusterSelectorTopBottom::produce(), reco::tautools::CopyProducer< Collection >::produce(), StripClusterSelectorTopBottom::produce(), TotemRPClusterProducer::produce(), cms::ReconstructerFP420::produce(), pat::ModifiedObjectProducer< T >::produce(), reco::tautools::CastedRefProducer< DerivedCollection, BaseType >::produce(), cms::ElseMETProducer::produce(), cms::PFClusterMETProducer::produce(), TotemRPLocalTrackFitter::produce(), cms::GenMETProducer::produce(), cms::TrackerizerFP420::produce(), TotemRPUVPatternFinder::produce(), cms::ClusterizerFP420::produce(), cms::CaloMETProducer::produce(), FFTJetPileupEstimator::produce(), cms::PFMETProducer::produce(), cms::SiPixelRecHitConverter::produce(), RPCTechnicalTrigger::produce(), HLTRecHitInAllL1RegionsProducer< RecHitType >::produce(), HLTCaloObjInRegionsProducer< CaloObjType, CaloObjCollType >::produce(), tensorflow::NTSession::PRun(), SiStripBadStrip::put(), CSCPairResidualsConstraint::radius(), L1RCTReceiverCard::randomInput(), RBXAndHPDCleaner::RBXAndHPDCleaner(), edm::read_whole_file(), DQMStore::readFilePB(), HcalForwardLibWriter::readUserData(), cms::dd::realTopName(), RecoCollectionFP420::RecoCollectionFP420(), DualTrajectoryFactory::referenceStateAndRecHits(), DualBzeroTrajectoryFactory::referenceStateAndRecHits(), GlobalTrackingRegionWithVerticesProducer::regions(), optutl::CommandLineParser::removeEnding(), PileUpSubtractor::reset(), FastLineRecognition::resetGeometry(), dqmservices::TriggerSelector::returnStatus(), MTDTrackingRecHitProducer::run(), SiStripRecHitConverterAlgorithm::run(), DigiSimLinkAlgorithm::run(), PixelUnpackingRegions::run(), CMSInsideOutAlgorithm::run(), cms::SiPixelRecHitConverter::run(), DTOccupancyTestML::runOccupancyTest(), SeedFinderBase::SeedFinderBase(), tensorflow::NTSession::SendPRunInputs(), reco::CaloMuon::setCaloCompatibility(), reco::Muon::setCaloCompatibility(), reco::PFTauDecayMode::setDecayMode(), EcalTBReadout::setDetIds(), EcalFenixPeakFinder::setInput(), EcalFenixStripFormatEE::setInput(), EcalFenixAmplitudeFilter::setInput(), EcalFenixStripFormatEB::setInput(), L1GctElectronSorter::setInputEmCand(), UEAnalysisSelectorRootple::SetInputList(), hcalCalib::SetInputList(), metsig::significanceAlgo::setSignifMatrix(), l1t::MicroGMTIsolationUnit::setTowerSums(), SiStripRecHitConverterAlgorithm::products::shrink_to_fit(), MuonErrorMatrix::simpleTerm(), SiStripDetKey::SiStripDetKey(), SiStripFecKey::SiStripFecKey(), SiStripFedKey::SiStripFedKey(), SubsystemNeutronReader::SubsystemNeutronReader(), L1MuGMTLUTHelpers::Tokenizer::Tokenizer(), ClusterChecker::tooManyClusters(), TotemRPRecHitProducerAlgorithm::TotemRPRecHitProducerAlgorithm(), TrackCollectionFP420::TrackCollectionFP420(), BzeroReferenceTrajectoryFactory::trajectories(), DualTrajectoryFactory::trajectories(), DualBzeroTrajectoryFactory::trajectories(), ReferenceTrajectoryFactory::trajectories(), MuonGeometrySanityCheckCustomFrame::transform(), MuonGeometrySanityCheckCustomFrame::transformInverse(), LHCOpticsApproximator::Transport(), dqmservices::TriggerSelector::trim(), l1t::MicroGMTCaloIndexSelectionLUT::unHashInput(), l1t::MicroGMTAbsoluteIsolationCheckLUT::unHashInput(), PFMETAlgorithmMVA::updateVariableNames(), edm::vector_transform(), SiStripPartition::versions(), ProvenanceDumper::work_(), LHEXMLStringProduct::writeCompressedContent(), AnomalousTower::~AnomalousTower(), DAFTrackProducerAlgorithm::~DAFTrackProducerAlgorithm(), l1t::MicroGMTExtrapolationLUT::~MicroGMTExtrapolationLUT(), l1t::MicroGMTLUT::~MicroGMTLUT(), l1t::MicroGMTMatchQualFineLUT::~MicroGMTMatchQualFineLUT(), l1t::MicroGMTMatchQualSimpleLUT::~MicroGMTMatchQualSimpleLUT(), l1t::MicroGMTRankPtQualLUT::~MicroGMTRankPtQualLUT(), l1t::MicroGMTRelativeIsolationCheckLUT::~MicroGMTRelativeIsolationCheckLUT(), MTDClusterizerBase::~MTDClusterizerBase(), cms::PFMETProducer::~PFMETProducer(), PileUpSubtractor::~PileUpSubtractor(), PixelClusterizerBase::~PixelClusterizerBase(), SiPixelGainCalibrationForHLT::~SiPixelGainCalibrationForHLT(), SiStripNoises::~SiStripNoises(), SiStripPedestals::~SiStripPedestals(), edm::SiteLocalConfig::~SiteLocalConfig(), TTClusterAlgorithm_neighbor< T >::~TTClusterAlgorithm_neighbor(), and TTClusterAlgorithm_official< T >::~TTClusterAlgorithm_official().

char const* const kDependenciesCommandOpt = "dependencies,d"
static

Definition at line 1030 of file EdmProvDump.cc.

Referenced by main().

char const* const kDependenciesOpt = "dependencies"
static

Definition at line 1029 of file EdmProvDump.cc.

char const* const kDontPrintProductsCommandOpt = "dontPrintProducts,p"
static

Definition at line 1042 of file EdmProvDump.cc.

Referenced by main().

char const* const kDontPrintProductsOpt = "dontPrintProducts"
static

Definition at line 1041 of file EdmProvDump.cc.

char const* const kDumpPSetIDCommandOpt = "dumpPSetID,i"
static

Definition at line 1049 of file EdmProvDump.cc.

char const* const kDumpPSetIDOpt = "dumpPSetID"
static

Definition at line 1048 of file EdmProvDump.cc.

Referenced by main().

char const* const kExcludeESModulesCommandOpt = "excludeESModules,e"
static

Definition at line 1036 of file EdmProvDump.cc.

char const* const kExcludeESModulesOpt = "excludeESModules"
static

Definition at line 1035 of file EdmProvDump.cc.

char const* const kExtendedAncestorsCommandOpt = "extendedAncestors,x"
static

Definition at line 1032 of file EdmProvDump.cc.

char const* const kExtendedAncestorsOpt = "extendedAncestors"
static

Definition at line 1031 of file EdmProvDump.cc.

char const* const kExtendedDescendantsCommandOpt = "extendedDescendants,c"
static

Definition at line 1034 of file EdmProvDump.cc.

Referenced by main().

char const* const kExtendedDescendantsOpt = "extendedDescendants"
static

Definition at line 1033 of file EdmProvDump.cc.

char const* const kFileNameOpt = "input-file"
static

Definition at line 1047 of file EdmProvDump.cc.

Referenced by main().

char const* const kFindMatchCommandOpt = "findMatch,f"
static

Definition at line 1040 of file EdmProvDump.cc.

Referenced by main().

char const* const kFindMatchOpt = "findMatch"
static

Definition at line 1039 of file EdmProvDump.cc.

Referenced by main().

char const* const kHelpCommandOpt = "help,h"
static

Definition at line 1046 of file EdmProvDump.cc.

Referenced by main().

char const* const kHelpOpt = "help"
static

Definition at line 1045 of file EdmProvDump.cc.

char const* const kShowAllModulesCommandOpt = "showAllModules,a"
static

Definition at line 1038 of file EdmProvDump.cc.

Referenced by main().

char const* const kShowAllModulesOpt = "showAllModules"
static

Definition at line 1037 of file EdmProvDump.cc.

char const* const kShowTopLevelPSetsCommandOpt = "showTopLevelPSets,t"
static

Definition at line 1044 of file EdmProvDump.cc.

char const* const kShowTopLevelPSetsOpt = "showTopLevelPSets"
static

Definition at line 1043 of file EdmProvDump.cc.

char const* const kSortCommandOpt = "sort,s"
static

Definition at line 1028 of file EdmProvDump.cc.

char const* const kSortOpt = "sort"
static

Definition at line 1027 of file EdmProvDump.cc.

std::string const source = std::string("source")
static

Definition at line 47 of file EdmProvDump.cc.

Referenced by optutl::CommandLineParser::_runVariableCommandFromString(), optutl::CommandLineParser::_setVariablesFromFile(), XrdAdaptor::RequestManager::addConnections(), HLTMuonPlotter::analyze(), HLTHiggsSubAnalysis::analyze(), HLTMuonPlotter::beginRun(), HLTExoticaPlotter::bookHist(), HLTHiggsPlotter::bookHist(), HLTHiggsSubAnalysis::bookHist(), HLTMuonPlotter::bookHist(), HLTExoticaSubAnalysis::bookHist(), HLTHiggsPlotter::bookHistograms(), HLTHiggsSubAnalysis::bookHistograms(), BPHRecoBuilder::build(), XrdAdaptor::RequestManager::checkSourcesImpl(), OptOPinhole::defaultBehaviour(), HcalTimeSlew::delay(), V0Validator::doEfficiencies(), PhysicsTools::TrainProcessor::doTrainBegin(), ESSummaryClient::endLumiAnalyze(), reco::ExpressionEvaluator::ExpressionEvaluator(), SmearedJetProducerT< T >::fillDescriptions(), pat::PATElectronProducer::fillElectron(), HLTExoticaPlotter::fillHist(), HLTHiggsPlotter::fillHist(), HLTHiggsSubAnalysis::fillHist(), HLTExoticaSubAnalysis::fillHist(), PhysicsTools::MVATrainer::fillInputVars(), pat::PATMuonProducer::fillMuon(), ObjectPairFilter< C, S >::filter(), ObjectSelector< SingleElementCollectionSelector< InputCollection, Selector, reco::CandidateCollection, StoreContainer, RefAdder >, reco::CandidateCollection, NonNullNumberSelector >::filter(), PhysicsTools::MVATrainer::findFinalProcessors(), lhef::LHERunInfo::findHeader(), RawEventFileWriterForBU::finishFileWrite(), XrdAdaptor::QualityMetricFactory::get(), XrdAdaptor::RequestManager::getActiveSourceNames(), PhysicsTools::MVATrainer::getCalibration(), XrdAdaptor::RequestManager::getDisabledSourceNames(), METCorrectorParametersCollection::getMiniAodBin(), XrdAdaptor::RequestManager::getPrettyActiveSourceNames(), XrdAdaptor::RequestManager::handle(), XrdAdaptor::ClientRequest::HandleResponse(), XrdAdaptor::RequestManager::OpenHandler::HandleResponseWithHosts(), XrdAdaptor::RequestManager::initialize(), PhysicsTools::MVATrainer::loadState(), PhysicsTools::MVATrainer::makeTrainCalibration(), dqmstorepb::ROOTFilePB_Histo::MergeFrom(), dqmstorepb::ROOTFilePB::MergeFrom(), METCorrectorParametersCollection::METCorrectorParametersCollection(), ObjectCountEventSelector< C, S, N, CS >::operator()(), reco::operator<<(), METCorrectorParametersCollection::operator[](), cond::persistency::PayloadProxy< cond::persistency::KeyList >::PayloadProxy(), XrdAdaptor::RequestManager::pickSingleSource(), pos::PixelTimeFormatter::PixelTimeFormatter(), HLTExoticaPlotter::plotterBookHistos(), FastTimerService::printEvent(), FastTimerService::printSummary(), HepMCCopy::produce(), CandOneToOneDeltaRMatcher::produce(), CandOneToManyDeltaRMatcher::produce(), ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce(), lumi::Lumi2DB::retrieveData(), PhysicsTools::MVATrainer::saveState(), lumi::DataPipe::setSource(), SiStripFedCablingBuilderFromDb::SiStripFedCablingBuilderFromDb(), HLTExoticaSubAnalysis::subAnalysisBookHistos(), L1MuDTExtrapolationUnit::which_ext(), L1MuBMExtrapolationUnit::which_ext(), ProvenanceDumper::work_(), popcon::PopCon::write(), lumi::Lumi2DB::writeAllLumiDataToSchema2(), lumi::HLTV32DB::writeHltDataToSchema2(), and lumi::TRGScalers2DB::writeTrgDataToSchema2().

std::string const triggerPaths = std::string("@trigger_paths")
static
std::string const triggerResults = std::string("TriggerResults")
static

Definition at line 45 of file EdmProvDump.cc.

Referenced by ElectronGeneralAnalyzer::analyze(), DQMHcalIsolatedBunchAlCaReco::analyze(), PixelVTXMonitor::analyze(), EwkMuLumiMonitorDQM::analyze(), BeamMonitor::analyze(), dimuonHLTFilterCheck::analyze(), TriggerMatchMonitor::analyze(), MuTriggerAnalyzer::analyze(), MuonRecoOneHLT::analyze(), GeneralHLTOffline::analyze(), HLTMuonMatchAndPlotContainer::analyze(), HeavyFlavorValidation::analyze(), HigPhotonJetHLTOfflineSource::analyze(), IsoTrackCalibration::analyze(), StudyHLT::analyze(), L1Muon2RecoTreeProducer::analyze(), HcalIsoTrkAnalyzer::analyze(), HLTObjectMonitorProtonLead::analyze(), HLTObjectMonitor::analyze(), IsoTrig::analyze(), HLTObjectsMonitor::analyze(), L1MuonRecoTreeProducer::analyze(), IsolatedTracksCone::analyze(), MuScleFit::duringLoop(), PdfSystematicsAnalyzer::filter(), SimpleSystematicsAnalyzer::filter(), WMuNuValidator::filter(), WMuNuSelector::filter(), AlCaIsolatedBunchSelector::filter(), AlCaIsolatedBunchFilter::filter(), AlCaIsoTracksProducerFilter::filter(), DisappearingMuonsSkimming::filter(), AlCaHEMuonFilter::filter(), AlCaHBHEMuonFilter::filter(), AlCaLowPUHBHEMuonFilter::filter(), AlCaIsoTracksFilter::filter(), AlCaIsoTracksProducer::initializeGlobalCache(), HSCPValidator::makeHLTPlots(), FWPathsPopup::postEvent(), PrescaleWeightProvider::prescaleWeight(), TriggerOutputBranches::processName(), pat::PATTriggerObjectStandAloneSlimmer::produce(), pat::PATTriggerObjectStandAloneUnpacker::produce(), pat::PATMuonProducer::produce(), AlCaIsoTracksProducer::produce(), GsfElectronDataAnalyzer::trigger(), DQMAnalyzer::trigger(), ProvenanceDumper::work_(), and evf::EvFOutputModule::write().