CalibCalorimetry
HcalPlugins
src
HBHEDarkeningEP.h
Go to the documentation of this file.
1
#ifndef CalibCalorimetry_HcalPlugins_HBHEDarkeningEP_H
2
#define CalibCalorimetry_HcalPlugins_HBHEDarkeningEP_H
3
4
// system include files
5
#include <memory>
6
7
// user include files
8
#include "
FWCore/Framework/interface/ModuleFactory.h
"
9
#include "
FWCore/Framework/interface/ESProducer.h
"
10
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
11
#include "
CondFormats/DataRecord/interface/HBHEDarkeningRecord.h
"
12
#include "
CondFormats/HcalObjects/interface/HBHEDarkening.h
"
13
14
namespace
edm
{
15
class
ConfigurationDescriptions
;
16
}
17
18
class
HBHEDarkeningEP
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
19
public
:
20
HBHEDarkeningEP
(
const
edm::ParameterSet
&);
21
~HBHEDarkeningEP
()
override
;
22
23
typedef
std::unique_ptr<HBHEDarkening>
ReturnType
;
24
25
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
26
27
ReturnType
produce
(
const
HBHEDarkeningRecord
&);
28
29
protected
:
30
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
31
const
edm::IOVSyncValue
&,
32
edm::ValidityInterval
&)
override
;
33
34
private
:
35
const
edm::ParameterSet
&
pset_
;
36
};
37
38
#endif
HBHEDarkeningRecord
Definition:
HBHEDarkeningRecord.h:4
HBHEDarkeningRecord.h
HBHEDarkeningEP::~HBHEDarkeningEP
~HBHEDarkeningEP() override
Definition:
HBHEDarkeningEP.cc:16
HBHEDarkening.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
HBHEDarkeningEP::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
HBHEDarkeningEP.cc:18
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
HBHEDarkeningEP::ReturnType
std::unique_ptr< HBHEDarkening > ReturnType
Definition:
HBHEDarkeningEP.h:23
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
HBHEDarkeningEP::produce
ReturnType produce(const HBHEDarkeningRecord &)
Definition:
HBHEDarkeningEP.cc:46
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
HBHEDarkeningEP::pset_
const edm::ParameterSet & pset_
Definition:
HBHEDarkeningEP.h:35
ModuleFactory.h
HBHEDarkeningEP::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HBHEDarkeningEP.cc:24
ConfigurationDescriptions
edm::ESProducer
Definition:
ESProducer.h:104
HBHEDarkeningEP::HBHEDarkeningEP
HBHEDarkeningEP(const edm::ParameterSet &)
Definition:
HBHEDarkeningEP.cc:11
HBHEDarkeningEP
Definition:
HBHEDarkeningEP.h:18
Generated for CMSSW Reference Manual by
1.8.16