CalibMuon
CSCCalibration
interface
CSCGainsConditions.h
Go to the documentation of this file.
1
#ifndef _CSCGAINSCONDITIONS_H
2
#define _CSCGAINSCONDITIONS_H
3
4
#include "
FWCore/Framework/interface/ESHandle.h
"
5
#include "
FWCore/Framework/interface/ESProducer.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
9
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
10
#include "
FWCore/Framework/interface/MakerMacros.h
"
11
#include "
FWCore/Framework/interface/SourceFactory.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
#include <memory>
14
15
#include "
CondFormats/CSCObjects/interface/CSCGains.h
"
16
#include "
CondFormats/DataRecord/interface/CSCGainsRcd.h
"
17
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
18
19
class
CSCGainsConditions
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
20
public
:
21
CSCGainsConditions
(
const
edm::ParameterSet
&);
22
~CSCGainsConditions
()
override
;
23
24
static
CSCGains
*
prefillGains
();
25
26
typedef
std::unique_ptr<CSCGains>
ReturnType
;
27
28
ReturnType
produceGains
(
const
CSCGainsRcd
&);
29
30
private
:
31
// ----------member data ---------------------------
32
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
33
const
edm::IOVSyncValue
&,
34
edm::ValidityInterval
&)
override
;
35
CSCGains
*
cnGains
;
36
};
37
38
#endif
CSCGainsConditions::CSCGainsConditions
CSCGainsConditions(const edm::ParameterSet &)
Definition:
CSCGainsConditions.cc:207
CSCGains
Definition:
CSCGains.h:10
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCGainsConditions::~CSCGainsConditions
~CSCGainsConditions() override
Definition:
CSCGainsConditions.cc:215
CSCDetId.h
CSCGainsConditions::cnGains
CSCGains * cnGains
Definition:
CSCGainsConditions.h:35
CSCGainsRcd
Definition:
CSCGainsRcd.h:5
CSCGainsRcd.h
Event.h
EventSetup.h
CSCGainsConditions::ReturnType
std::unique_ptr< CSCGains > ReturnType
Definition:
CSCGainsConditions.h:26
Frameworkfwd.h
ESProducer.h
CSCGainsConditions::prefillGains
static CSCGains * prefillGains()
Definition:
CSCGainsConditions.cc:6
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
ESHandle.h
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCGainsConditions::produceGains
ReturnType produceGains(const CSCGainsRcd &)
Definition:
CSCGainsConditions.cc:225
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCGainsConditions
Definition:
CSCGainsConditions.h:19
CSCGainsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCGainsConditions.cc:230
CSCGains.h
MakerMacros.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14