Main Page
Namespaces
Classes
Package Documentation
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 "
FWCore/Framework/interface/ESHandle.h
"
12
#include "
CondFormats/DataRecord/interface/HBHEDarkeningRecord.h
"
13
#include "
CondFormats/HcalObjects/interface/HBHEDarkening.h
"
14
15
namespace
edm
{
16
class
ConfigurationDescriptions
;
17
}
18
19
class
HBHEDarkeningEP
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
20
public
:
21
HBHEDarkeningEP
(
const
edm::ParameterSet
&);
22
~
HBHEDarkeningEP
()
override
;
23
24
typedef
std::unique_ptr<HBHEDarkening>
ReturnType
;
25
26
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions );
27
28
ReturnType produce(
const
HBHEDarkeningRecord
&);
29
30
protected
:
31
void
setIntervalFor(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
&)
override
;
32
33
private
:
34
const
edm::ParameterSet
&
pset_
;
35
};
36
37
#endif
edm::ValidityInterval
Definition:
ValidityInterval.h:28
edm::ESProducer
Definition:
ESProducer.h:99
HBHEDarkeningRecord.h
HBHEDarkeningEP::pset_
const edm::ParameterSet & pset_
Definition:
HBHEDarkeningEP.h:34
HBHEDarkeningEP::ReturnType
std::unique_ptr< HBHEDarkening > ReturnType
Definition:
HBHEDarkeningEP.h:24
ESHandle.h
HBHEDarkening.h
ConfigurationDescriptions
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:17
HBHEDarkeningEP
Definition:
HBHEDarkeningEP.h:19
HBHEDarkeningRecord
Definition:
HBHEDarkeningRecord.h:4
edm::ParameterSet
Definition:
ParameterSet.h:36
ModuleFactory.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11