CalibCalorimetry
HcalPlugins
src
HcalTimeSlewEP.h
Go to the documentation of this file.
1
#ifndef CalibCalorimetry_HcalPlugins_HcalTimeSlewEP_H
2
#define CalibCalorimetry_HcalPlugins_HcalTimeSlewEP_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/HcalTimeSlewRecord.h
"
13
#include "
CalibCalorimetry/HcalAlgos/interface/HcalTimeSlew.h
"
14
15
namespace
edm
{
16
class
ConfigurationDescriptions
;
17
}
18
19
class
HcalTimeSlewEP
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
20
public
:
21
HcalTimeSlewEP
(
const
edm::ParameterSet
&);
22
~HcalTimeSlewEP
()
override
;
23
24
typedef
std::unique_ptr<HcalTimeSlew>
ReturnType
;
25
26
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
27
28
ReturnType
produce
(
const
HcalTimeSlewRecord
&);
29
30
protected
:
31
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
32
const
edm::IOVSyncValue
&,
33
edm::ValidityInterval
&)
override
;
34
35
private
:
36
const
edm::ParameterSet
&
pset_
;
37
};
38
39
#endif
HcalTimeSlewEP::~HcalTimeSlewEP
~HcalTimeSlewEP() override
Definition:
HcalTimeSlewEP.cc:18
ESHandle.h
HcalTimeSlewEP
Definition:
HcalTimeSlewEP.h:19
edm
HLT enums.
Definition:
AlignableModifier.h:19
HcalTimeSlewEP::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
HcalTimeSlewEP.cc:20
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
HcalTimeSlew.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
HcalTimeSlewEP::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HcalTimeSlewEP.cc:26
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
HcalTimeSlewEP::HcalTimeSlewEP
HcalTimeSlewEP(const edm::ParameterSet &)
Definition:
HcalTimeSlewEP.cc:13
HcalTimeSlewRecord
Definition:
HcalTimeSlewRecord.h:4
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
HcalTimeSlewEP::ReturnType
std::unique_ptr< HcalTimeSlew > ReturnType
Definition:
HcalTimeSlewEP.h:24
ModuleFactory.h
ConfigurationDescriptions
HcalTimeSlewEP::produce
ReturnType produce(const HcalTimeSlewRecord &)
Definition:
HcalTimeSlewEP.cc:51
HcalTimeSlewEP::pset_
const edm::ParameterSet & pset_
Definition:
HcalTimeSlewEP.h:36
edm::ESProducer
Definition:
ESProducer.h:104
HcalTimeSlewRecord.h
Generated for CMSSW Reference Manual by
1.8.16