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::produceGains
ReturnType produceGains(const CSCGainsRcd &)
Definition:
CSCFakeGainsConditions.cc:94
CSCFakeGainsConditions::seed
int seed
Definition:
CSCFakeGainsConditions.h:26
CSCGains
Definition:
CSCGains.h:10
CSCFakeGainsConditions::mean
float mean
Definition:
CSCFakeGainsConditions.h:25
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCFakeGainsConditions::prefillGains
CSCGains * prefillGains()
Definition:
CSCFakeGainsConditions.cc:4
CSCFakeGainsConditions::minchi
float minchi
Definition:
CSCFakeGainsConditions.h:25
CSCDetId.h
CSCGainsRcd
Definition:
CSCGainsRcd.h:5
CSCGainsRcd.h
Event.h
EventSetup.h
CSCFakeGainsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCFakeGainsConditions.cc:98
CSCFakeGainsConditions::min
float min
Definition:
CSCFakeGainsConditions.h:25
Frameworkfwd.h
ESProducer.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
ESHandle.h
CSCFakeGainsConditions::CSCFakeGainsConditions
CSCFakeGainsConditions(const edm::ParameterSet &)
Definition:
CSCFakeGainsConditions.cc:76
CSCFakeGainsConditions::ReturnType
std::unique_ptr< CSCGains > ReturnType
Definition:
CSCFakeGainsConditions.h:31
CSCFakeGainsConditions::M
long int M
Definition:
CSCFakeGainsConditions.h:27
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCFakeGainsConditions::~CSCFakeGainsConditions
~CSCFakeGainsConditions() override
Definition:
CSCFakeGainsConditions.cc:84
SourceFactory.h
CSCFakeGainsConditions
Definition:
CSCFakeGainsConditions.h:20
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCGains.h
MakerMacros.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14