Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
23
24
static
CSCGains
*
prefillGains
();
25
26
typedef
const
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
& );
33
CSCGains
*
cnGains
;
34
35
};
36
37
#endif
CSCGainsConditions::CSCGainsConditions
CSCGainsConditions(const edm::ParameterSet &)
Definition:
CSCGainsConditions.cc:191
CSCGains
Definition:
CSCGains.h:8
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCDetId.h
CSCGainsConditions::cnGains
CSCGains * cnGains
Definition:
CSCGainsConditions.h:33
CSCGainsRcd
Definition:
CSCGainsRcd.h:5
CSCGainsRcd.h
Event.h
MakerMacros.h
EventSetup.h
Frameworkfwd.h
CSCGainsConditions::prefillGains
static CSCGains * prefillGains()
Definition:
CSCGainsConditions.cc:5
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
ESHandle.h
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProducer.h
CSCGainsConditions::ReturnType
const CSCGains * ReturnType
Definition:
CSCGainsConditions.h:26
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:34
CSCGainsConditions::produceGains
ReturnType produceGains(const CSCGainsRcd &)
Definition:
CSCGainsConditions.cc:218
CSCGainsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
CSCGainsConditions.cc:227
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:35
CSCGainsConditions
Definition:
CSCGainsConditions.h:19
CSCGains.h
CSCGainsConditions::~CSCGainsConditions
~CSCGainsConditions()
Definition:
CSCGainsConditions.cc:203
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5