Main Page
Namespaces
Classes
Package Documentation
CalibMuon
CSCCalibration
interface
CSCFakeGainsConditions.h
Go to the documentation of this file.
1
#ifndef _CSCFAKEGAINSCONDITIONS_H
2
#define _CSCFAKEGAINSCONDITIONS_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
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
;
long
int
M
;
27
28
CSCGains
*
prefillGains
();
29
30
typedef
std::unique_ptr<CSCGains>
ReturnType
;
31
32
ReturnType
produceGains
(
const
CSCGainsRcd
&);
33
34
private
:
35
// ----------member data ---------------------------
36
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
& )
override
;
37
38
};
39
40
#endif
CSCFakeGainsConditions::produceGains
ReturnType produceGains(const CSCGainsRcd &)
Definition:
CSCFakeGainsConditions.cc:89
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
MakerMacros.h
EventSetup.h
CSCFakeGainsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCFakeGainsConditions.cc:94
CSCFakeGainsConditions::min
float min
Definition:
CSCFakeGainsConditions.h:25
Frameworkfwd.h
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
ESHandle.h
CSCFakeGainsConditions::CSCFakeGainsConditions
CSCFakeGainsConditions(const edm::ParameterSet &)
Definition:
CSCFakeGainsConditions.cc:65
CSCFakeGainsConditions::ReturnType
std::unique_ptr< CSCGains > ReturnType
Definition:
CSCFakeGainsConditions.h:30
CSCFakeGainsConditions::M
long int M
Definition:
CSCFakeGainsConditions.h:26
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCFakeGainsConditions::~CSCFakeGainsConditions
~CSCFakeGainsConditions() override
Definition:
CSCFakeGainsConditions.cc:75
SourceFactory.h
CSCFakeGainsConditions
Definition:
CSCFakeGainsConditions.h:20
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCGains.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11