Main Page
Namespaces
Classes
Package Documentation
CalibMuon
CSCCalibration
interface
CSCGainsConditions.h
Go to the documentation of this file.
1
#ifndef _CSCGAINSCONDITIONS_H
2
#define _CSCGAINSCONDITIONS_H
3
4
#include <memory>
5
#include "
FWCore/Framework/interface/SourceFactory.h
"
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
FWCore/Framework/interface/ESProducer.h
"
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
11
#include "
FWCore/Framework/interface/ESHandle.h
"
12
#include "
FWCore/Framework/interface/EventSetup.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
15
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
16
#include "
CondFormats/CSCObjects/interface/CSCGains.h
"
17
#include "
CondFormats/DataRecord/interface/CSCGainsRcd.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
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
& )
override
;
33
CSCGains
*
cnGains
;
34
35
};
36
37
#endif
CSCGainsConditions::CSCGainsConditions
CSCGainsConditions(const edm::ParameterSet &)
Definition:
CSCGainsConditions.cc:192
CSCGains
Definition:
CSCGains.h:10
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCGainsConditions::~CSCGainsConditions
~CSCGainsConditions() override
Definition:
CSCGainsConditions.cc:202
CSCDetId.h
CSCGainsConditions::cnGains
CSCGains * cnGains
Definition:
CSCGainsConditions.h:33
CSCGainsRcd
Definition:
CSCGainsRcd.h:5
CSCGainsRcd.h
Event.h
MakerMacros.h
EventSetup.h
CSCGainsConditions::ReturnType
std::unique_ptr< CSCGains > ReturnType
Definition:
CSCGainsConditions.h:26
Frameworkfwd.h
CSCGainsConditions::prefillGains
static CSCGains * prefillGains()
Definition:
CSCGainsConditions.cc:6
edm::ESProducer
Definition:
ESProducer.h:98
ParameterSet.h
ESHandle.h
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCGainsConditions::produceGains
ReturnType produceGains(const CSCGainsRcd &)
Definition:
CSCGainsConditions.cc:216
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCGainsConditions
Definition:
CSCGainsConditions.h:19
CSCGainsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCGainsConditions.cc:223
CSCGains.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11