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  {
30  public:
32  };
33 
34  }
35 }
36 
37 //
38 // constants, enums and typedefs
39 //
40 
41 //
42 // static data member definitions
43 //
44 
45 //
46 // constructors and destructor
47 //
48 using namespace edm::service;
50 {
51  iAR.watchPostBeginJob( [] () {
53  for(auto const& branch: regService->allBranchDescriptions()) {
54  if(branch) {
55  edm::LogSystem("ProductRegistry")<<*branch;
56  }
57  }
58  });
59 }
60 
ProductRegistryDumper(edm::ParameterSet const &iConfig, edm::ActivityRegistry &iAR)
#define DEFINE_FWK_SERVICE(type)
Definition: ServiceMaker.h:113
HLT enums.
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal