FWCore
Framework
src
stream
EDProducerBase.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: FWCore/Framework
4
// Class : edm::stream::EDProducerBase
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
16
#include "
FWCore/Framework/interface/stream/EDProducerBase.h
"
17
#include "
FWCore/Framework/src/edmodule_mightGet_config.h
"
18
19
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
21
22
using namespace
edm::stream
;
23
//
24
// constants, enums and typedefs
25
//
26
27
//
28
// static data member definitions
29
//
30
31
//
32
// constructors and destructor
33
//
34
EDProducerBase::EDProducerBase
() : moduleDescriptionPtr_(nullptr) {}
35
36
// EDProducerBase::EDProducerBase(const EDProducerBase& rhs)
37
// {
38
// // do actual copying here;
39
// }
40
41
EDProducerBase::~EDProducerBase
() {}
42
43
//
44
// assignment operators
45
//
46
// const EDProducerBase& EDProducerBase::operator=(const EDProducerBase& rhs)
47
// {
48
// //An exception safe implementation is
49
// EDProducerBase temp(rhs);
50
// swap(rhs);
51
//
52
// return *this;
53
// }
54
55
//
56
// member functions
57
//
58
59
//
60
// const member functions
61
//
62
63
//
64
// static member functions
65
//
66
void
EDProducerBase::fillDescriptions
(
ConfigurationDescriptions
& descriptions) {
67
ParameterSetDescription
desc
;
68
desc
.setUnknown();
69
descriptions.
addDefault
(
desc
);
70
}
71
72
void
EDProducerBase::prevalidate
(
ConfigurationDescriptions
& iConfig) {
edmodule_mightGet_config
(iConfig); }
73
74
static
const
std::string
kBaseType
(
"EDProducer"
);
75
76
const
std::string
&
EDProducerBase::baseType
() {
return
kBaseType
; }
ConfigurationDescriptions.h
edm::stream::EDProducerBase::prevalidate
static void prevalidate(ConfigurationDescriptions &descriptions)
Definition:
EDProducerBase.cc:72
edmodule_mightGet_config.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
edm::stream::EDProducerBase::~EDProducerBase
~EDProducerBase() override
Definition:
EDProducerBase.cc:41
edm::stream::EDProducerBase::EDProducerBase
EDProducerBase()
Definition:
EDProducerBase.cc:34
edm::stream::EDProducerBase::fillDescriptions
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition:
EDProducerBase.cc:66
edm::stream::EDProducerBase::baseType
static const std::string & baseType()
Definition:
EDProducerBase.cc:76
ParameterSetDescription.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::kBaseType
static const std::string kBaseType("EDAnalyzer")
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
EDProducerBase.h
edm::stream
Definition:
DQMEDAnalyzer.h:13
edm::edmodule_mightGet_config
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
Definition:
edmodule_mightGet_config.cc:36
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition:
ConfigurationDescriptions.cc:99
Generated for CMSSW Reference Manual by
1.8.16