CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Functions | Variables
EdmProvDump.cc File Reference
#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 >
, 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 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 36 of file EdmProvDump.cc.

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

Definition at line 37 of file EdmProvDump.cc.

Function Documentation

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

Definition at line 298 of file EdmProvDump.cc.

std::string eventSetupComponent ( char const *  iType,
std::string const &  iCompName,
edm::ParameterSet const &  iProcessConfig,
std::string const &  iProcessName 
)

Definition at line 159 of file EdmProvDump.cc.

int main ( int  argc,
char *  argv[] 
)

Definition at line 1090 of file EdmProvDump.cc.

std::string nonProducerComponent ( std::string const &  iCompName,
edm::ParameterSet const &  iProcessConfig,
std::string const &  iProcessName 
)

Definition at line 241 of file EdmProvDump.cc.

std::ostream& operator<< ( std::ostream &  os,
edm::ProcessHistory iHist 
)

Definition at line 135 of file EdmProvDump.cc.

static std::ostream & prettyPrint ( std::ostream &  oStream,
edm::ParameterSet const &  iPSet,
std::string const &  iIndent,
std::string const &  iIndentDelta 
)
static

Definition at line 443 of file EdmProvDump.cc.

static std::ostream& prettyPrint ( std::ostream &  os,
edm::ParameterSetEntry const &  psetEntry,
std::string const &  iIndent,
std::string const &  iIndentDelta 
)
static

Definition at line 416 of file EdmProvDump.cc.

static std::ostream& prettyPrint ( std::ostream &  os,
edm::VParameterSetEntry const &  vpsetEntry,
std::string const &  iIndent,
std::string const &  iIndentDelta 
)
static

Definition at line 424 of file EdmProvDump.cc.

static std::string topLevelPSet ( std::string const &  iName,
edm::ParameterSet const &  iProcessConfig,
std::string const &  iProcessName 
)
static

Definition at line 304 of file EdmProvDump.cc.

Variable Documentation

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

Definition at line 44 of file EdmProvDump.cc.

Referenced by BufferedBoostIODBWriter::analyze(), L1CaloInputScalesGenerator::analyze(), sistrip::SpyIdentifyRunsModule::analyze(), FFTJetCorrectorDBWriter::analyze(), FFTJetImageRecorder::analyze(), reco::PFTauDecayMode::associatedChargedPFCandidates(), reco::PFTauDecayMode::associatedNeutralPFCandidates(), cond::auth::Cipher::b64decrypt(), METCorrectorDBWriter::beginJob(), Basic2DGenericTopoClusterizer::buildClusters(), APVModeFilter::convertMode(), d2str(), EcalTBCrystalMap::EcalTBCrystalMap(), pat::helper::OverlapBySuperClusterSeed::fillOverlapsForItem(), LaserAlignmentEventFilter::filter(), ClusterMultiplicityFilter::filter(), PFTauViewRefSelector::filter(), RecoTauDiscriminatorRefSelectorImpl< T >::filter(), reco::tau::AssociationMatchRefSelector< InputType, MatchedType, OutputType, ClonePolicy >::filter(), reco::PFTauDecayMode::filteredPFCandidates(), KinematicParticleVertexFitter::fit(), FixedGridEnergyDensity::FixedGridEnergyDensity(), L1RPCHsbConfig::getHsbMask(), SiPixelHistogramId::getRawId(), MixEvtVtxGenerator::getRecVertex(), MixEvtVtxGenerator::getVertex(), i2str(), cms::SubEventGenJetProducer::inputTowers(), HiggsValidation::MonitoredDecays::MonitoredDecays(), AnomalousTower::operator()(), BlockSolver::operator()(), FullConvolutionWithMaterial::operator()(), trivialParser::parse(), PFClusterCollectionMerger::PFClusterCollectionMerger(), printTrackerMap(), HistogramProbabilityEstimator::probability(), PileupSummaryInfoSlimmer::produce(), RawDataCollectorByLabel::produce(), PFClusterCollectionMerger::produce(), ScaleCorrMETData::produce(), SiPixelClusterShapeCacheProducer::produce(), sistrip::ExcludedFEDListProducer::produce(), TotemRPRecHitProducer::produce(), SiStripClusterToDigiProducer::produce(), PixelClusterSelectorTopBottom::produce(), reco::tautools::CopyProducer< Collection >::produce(), TotemRPClusterProducer::produce(), StripClusterSelectorTopBottom::produce(), cms::ElseMETProducer::produce(), reco::tautools::CastedRefProducer< DerivedCollection, BaseType >::produce(), cms::PFClusterMETProducer::produce(), pat::ModifiedObjectProducer< T >::produce(), cms::GenMETProducer::produce(), TotemRPLocalTrackFitter::produce(), cms::TrackerizerFP420::produce(), cms::CaloMETProducer::produce(), cms::PFMETProducer::produce(), edm::read_whole_file(), HcalForwardLibWriter::readUserData(), CMSInsideOutAlgorithm::run(), reco::CaloMuon::setCaloCompatibility(), EcalFenixPeakFinder::setInput(), EcalFenixStripFormatEE::setInput(), EcalFenixAmplitudeFilter::setInput(), EcalFenixStripFormatEB::setInput(), L1GctElectronSorter::setInputEmCand(), UEAnalysisSelectorRootple::SetInputList(), SubsystemNeutronReader::SubsystemNeutronReader(), ClusterChecker::tooManyClusters(), l1t::MicroGMTCaloIndexSelectionLUT::unHashInput(), l1t::MicroGMTAbsoluteIsolationCheckLUT::unHashInput(), edm::vector_transform(), and LHEXMLStringProduct::writeCompressedContent().

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

Definition at line 1069 of file EdmProvDump.cc.

char const* const kDependenciesOpt = "dependencies"
static

Definition at line 1068 of file EdmProvDump.cc.

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

Definition at line 1081 of file EdmProvDump.cc.

char const* const kDontPrintProductsOpt = "dontPrintProducts"
static

Definition at line 1080 of file EdmProvDump.cc.

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

Definition at line 1088 of file EdmProvDump.cc.

char const* const kDumpPSetIDOpt = "dumpPSetID"
static

Definition at line 1087 of file EdmProvDump.cc.

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

Definition at line 1075 of file EdmProvDump.cc.

char const* const kExcludeESModulesOpt = "excludeESModules"
static

Definition at line 1074 of file EdmProvDump.cc.

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

Definition at line 1071 of file EdmProvDump.cc.

char const* const kExtendedAncestorsOpt = "extendedAncestors"
static

Definition at line 1070 of file EdmProvDump.cc.

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

Definition at line 1073 of file EdmProvDump.cc.

char const* const kExtendedDescendantsOpt = "extendedDescendants"
static

Definition at line 1072 of file EdmProvDump.cc.

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

Definition at line 1086 of file EdmProvDump.cc.

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

Definition at line 1079 of file EdmProvDump.cc.

char const* const kFindMatchOpt = "findMatch"
static

Definition at line 1078 of file EdmProvDump.cc.

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

Definition at line 1085 of file EdmProvDump.cc.

char const* const kHelpOpt = "help"
static

Definition at line 1084 of file EdmProvDump.cc.

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

Definition at line 1077 of file EdmProvDump.cc.

char const* const kShowAllModulesOpt = "showAllModules"
static

Definition at line 1076 of file EdmProvDump.cc.

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

Definition at line 1083 of file EdmProvDump.cc.

char const* const kShowTopLevelPSetsOpt = "showTopLevelPSets"
static

Definition at line 1082 of file EdmProvDump.cc.

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

Definition at line 1067 of file EdmProvDump.cc.

char const* const kSortOpt = "sort"
static

Definition at line 1066 of file EdmProvDump.cc.

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

Definition at line 42 of file EdmProvDump.cc.

std::string const triggerResults = std::string("TriggerResults")
static