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::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCGainsConditions.cc:230
ESHandle.h
CSCGainsRcd.h
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
CSCGains.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCGainsConditions::~CSCGainsConditions
~CSCGainsConditions() override
Definition:
CSCGainsConditions.cc:215
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCDetId.h
MakerMacros.h
CSCGainsConditions::ReturnType
std::unique_ptr< CSCGains > ReturnType
Definition:
CSCGainsConditions.h:26
CSCGainsRcd
Definition:
CSCGainsRcd.h:5
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
CSCGains
Definition:
CSCGains.h:10
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
CSCGainsConditions::prefillGains
static CSCGains * prefillGains()
Definition:
CSCGainsConditions.cc:6
Frameworkfwd.h
EventSetup.h
edm::ESProducer
Definition:
ESProducer.h:101
CSCGainsConditions::CSCGainsConditions
CSCGainsConditions(const edm::ParameterSet &)
Definition:
CSCGainsConditions.cc:207
ParameterSet.h
CSCGainsConditions::produceGains
ReturnType produceGains(const CSCGainsRcd &)
Definition:
CSCGainsConditions.cc:225
CSCGainsConditions
Definition:
CSCGainsConditions.h:19
CSCGainsConditions::cnGains
CSCGains * cnGains
Definition:
CSCGainsConditions.h:35
Generated for CMSSW Reference Manual by
1.8.16