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 
ProductRegistryDumper(edm::ParameterSet const &iConfig, edm::ActivityRegistry &iAR)
#define DEFINE_FWK_SERVICE(type)
Definition: ServiceMaker.h:105
HLT enums.
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal