CMS 3D CMS Logo

EDAnalyzerBase.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: FWCore/Framework
4 // Class : edm::stream::EDAnalyzerBase
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Chris Jones
10 // Created: Fri, 02 Aug 2013 23:49:57 GMT
11 //
12 
13 // system include files
14 
15 // user include files
18 
21 
24 
25 using namespace edm::stream;
26 //
27 // constants, enums and typedefs
28 //
29 
30 //
31 // static data member definitions
32 //
33 
34 //
35 // constructors and destructor
36 //
37 EDAnalyzerBase::EDAnalyzerBase(): moduleDescriptionPtr_(nullptr)
38 {
39 }
40 
41 // EDAnalyzerBase::EDAnalyzerBase(const EDAnalyzerBase& rhs)
42 // {
43 // // do actual copying here;
44 // }
45 
47 {
48 }
49 
50 //
51 // assignment operators
52 //
53 // const EDAnalyzerBase& EDAnalyzerBase::operator=(const EDAnalyzerBase& rhs)
54 // {
55 // //An exception safe implementation is
56 // EDAnalyzerBase temp(rhs);
57 // swap(rhs);
58 //
59 // return *this;
60 // }
61 
62 //
63 // member functions
64 //
65 void
68 }
69 
70 void
72 
74 
76 
78  regService->watchProductAdditions(callWhenNewProductsRegistered_);
79  }
80 }
81 
82 //
83 // const member functions
84 //
85 
86 //
87 // static member functions
88 //
89 void
92  desc.setUnknown();
93  descriptions.addDefault(desc);
94 }
95 
96 void
98  edmodule_mightGet_config(iConfig);
99 }
100 
101 static const std::string kBaseType("EDAnalyzer");
102 
103 const std::string&
105  return kBaseType;
106 }
void registerProductsAndCallbacks(EDAnalyzerBase const *, ProductRegistry *reg)
static void prevalidate(ConfigurationDescriptions &descriptions)
#define nullptr
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
static const std::string & baseType()
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
void callForEachBranch(T const &iFunc)
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
static const std::string kBaseType("EDAnalyzer")