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 // EDAnalyzerBase::EDAnalyzerBase(const EDAnalyzerBase& rhs)
40 // {
41 // // do actual copying here;
42 // }
43 
45 
46 //
47 // assignment operators
48 //
49 // const EDAnalyzerBase& EDAnalyzerBase::operator=(const EDAnalyzerBase& rhs)
50 // {
51 // //An exception safe implementation is
52 // EDAnalyzerBase temp(rhs);
53 // swap(rhs);
54 //
55 // return *this;
56 // }
57 
58 //
59 // member functions
60 //
63 }
64 
68 
70  regService->watchProductAdditions(callWhenNewProductsRegistered_);
71  }
72 }
73 
74 //
75 // const member functions
76 //
77 
78 //
79 // static member functions
80 //
83  desc.setUnknown();
84  descriptions.addDefault(desc);
85 }
86 
88 
89 static const std::string kBaseType("EDAnalyzer");
90 
#define nullptr
void registerProductsAndCallbacks(EDAnalyzerBase const *, ProductRegistry *reg)
static void prevalidate(ConfigurationDescriptions &descriptions)
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")