CalibMuon
CSCCalibration
interface
CSCFakeGainsConditions.h
Go to the documentation of this file.
1
#ifndef _CSCFAKEGAINSCONDITIONS_H
2
#define _CSCFAKEGAINSCONDITIONS_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 <memory>
13
14
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
15
16
#include "
CondFormats/CSCObjects/interface/CSCGains.h
"
17
#include "
CondFormats/DataRecord/interface/CSCGainsRcd.h
"
18
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
19
20
class
CSCFakeGainsConditions
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
21
public
:
22
CSCFakeGainsConditions
(
const
edm::ParameterSet
&);
23
~CSCFakeGainsConditions
()
override
;
24
25
float
mean
,
min
,
minchi
;
26
int
seed
;
27
long
int
M
;
28
29
CSCGains
*
prefillGains
();
30
31
typedef
std::unique_ptr<CSCGains>
ReturnType
;
32
33
ReturnType
produceGains
(
const
CSCGainsRcd
&);
34
35
private
:
36
// ----------member data ---------------------------
37
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
38
const
edm::IOVSyncValue
&,
39
edm::ValidityInterval
&)
override
;
40
};
41
42
#endif
CSCFakeGainsConditions
Definition:
CSCFakeGainsConditions.h:20
ESHandle.h
CSCGainsRcd.h
CSCFakeGainsConditions::min
float min
Definition:
CSCFakeGainsConditions.h:25
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
CSCGains.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCFakeGainsConditions::seed
int seed
Definition:
CSCFakeGainsConditions.h:26
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCDetId.h
MakerMacros.h
CSCFakeGainsConditions::minchi
float minchi
Definition:
CSCFakeGainsConditions.h:25
CSCFakeGainsConditions::~CSCFakeGainsConditions
~CSCFakeGainsConditions() override
Definition:
CSCFakeGainsConditions.cc:84
CSCFakeGainsConditions::M
long int M
Definition:
CSCFakeGainsConditions.h:27
CSCGainsRcd
Definition:
CSCGainsRcd.h:5
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
CSCGains
Definition:
CSCGains.h:10
CSCFakeGainsConditions::mean
float mean
Definition:
CSCFakeGainsConditions.h:25
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
CSCFakeGainsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCFakeGainsConditions.cc:98
CSCFakeGainsConditions::prefillGains
CSCGains * prefillGains()
Definition:
CSCFakeGainsConditions.cc:4
Frameworkfwd.h
CSCFakeGainsConditions::produceGains
ReturnType produceGains(const CSCGainsRcd &)
Definition:
CSCFakeGainsConditions.cc:94
EventSetup.h
edm::ESProducer
Definition:
ESProducer.h:101
ParameterSet.h
CSCFakeGainsConditions::ReturnType
std::unique_ptr< CSCGains > ReturnType
Definition:
CSCFakeGainsConditions.h:31
CSCFakeGainsConditions::CSCFakeGainsConditions
CSCFakeGainsConditions(const edm::ParameterSet &)
Definition:
CSCFakeGainsConditions.cc:76
Generated for CMSSW Reference Manual by
1.8.16