CMS 3D CMS Logo

ProductRegistryDumper.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: FWCore/Services
4 // Class : ProductRegistryDumper
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Christopher Jones
10 // Created: Thu, 23 Mar 2017 18:32:17 GMT
11 //
12 
21 
22 // system include files
23 
24 // user include files
25 
26 namespace edm {
27  namespace service {
29  public:
31  };
32 
33  } // namespace service
34 } // namespace edm
35 
36 //
37 // constants, enums and typedefs
38 //
39 
40 //
41 // static data member definitions
42 //
43 
44 //
45 // constructors and destructor
46 //
47 using namespace edm::service;
49  iAR.watchPostBeginJob([]() {
51  for (auto const& branch : regService->allBranchDescriptions()) {
52  if (branch) {
53  edm::LogSystem("ProductRegistry") << *branch;
54  }
55  }
56  });
57 }
58 
edm::service::ProductRegistryDumper
Definition: ProductRegistryDumper.cc:28
ConfigurationDescriptions.h
ConstProductRegistry.h
edm::LogSystem
Log< level::System, false > LogSystem
Definition: MessageLogger.h:124
service
Definition: service.py:1
MessageLogger.h
MicroEventContent_cff.branch
branch
Definition: MicroEventContent_cff.py:169
edm
HLT enums.
Definition: AlignableModifier.h:19
DEFINE_FWK_SERVICE
#define DEFINE_FWK_SERVICE(type)
Definition: ServiceMaker.h:96
ActivityRegistry.h
Service.h
edm::ActivityRegistry
Definition: ActivityRegistry.h:134
edm::ActivityRegistry::watchPostBeginJob
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
Definition: ActivityRegistry.h:158
ServiceMaker.h
edm::ParameterSet
Definition: ParameterSet.h:47
edm::service::ProductRegistryDumper::ProductRegistryDumper
ProductRegistryDumper(edm::ParameterSet const &iConfig, edm::ActivityRegistry &iAR)
Definition: ProductRegistryDumper.cc:48
edm::Service
Definition: Service.h:30
edm::service
Definition: TFileService.h:95
CPUTimer.h
ParameterSet.h