Main Page
Namespaces
Classes
Package Documentation
src
CalibMuon
CSCCalibration
interface
CSCFakeDBGainsPopCon.h
Go to the documentation of this file.
1
#ifndef _CSCFAKEDBGAINSPOPCON_H
2
#define _CSCFAKEDBGAINSPOPCON_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/CSCDBGains.h
"
17
#include "
CondFormats/DataRecord/interface/CSCDBGainsRcd.h
"
18
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
19
20
class
CSCFakeDBGainsPopCon
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
21
public
:
22
CSCFakeDBGainsPopCon
(
const
edm::ParameterSet
&);
23
~CSCFakeDBGainsPopCon
();
24
25
float
mean
,
min
,
minchi
;
26
int
seed
;
long
int
M
;
27
28
void
prefillDBGains
();
29
30
typedef
const
CSCDBGains
*
ReturnType
;
31
32
ReturnType
produceDBGains
(
const
CSCDBGainsRcd
&);
33
34
private
:
35
// ----------member data ---------------------------
36
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
& );
37
CSCDBGains
*
cndbgains
;
38
39
};
40
41
#endif
CSCFakeDBGainsPopCon
Definition:
CSCFakeDBGainsPopCon.h:20
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCDBGainsRcd.h
CSCFakeDBGainsPopCon::prefillDBGains
void prefillDBGains()
CSCDetId.h
CSCDBGains
Definition:
CSCDBGains.h:9
Event.h
MakerMacros.h
EventSetup.h
Frameworkfwd.h
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
CSCFakeDBGainsPopCon::min
float min
Definition:
CSCFakeDBGainsPopCon.h:25
CSCDBGains.h
ESHandle.h
CSCFakeDBGainsPopCon::seed
int seed
Definition:
CSCFakeDBGainsPopCon.h:26
CSCFakeDBGainsPopCon::cndbgains
CSCDBGains * cndbgains
Definition:
CSCFakeDBGainsPopCon.h:37
CSCFakeDBGainsPopCon::mean
float mean
Definition:
CSCFakeDBGainsPopCon.h:25
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCFakeDBGainsPopCon::M
long int M
Definition:
CSCFakeDBGainsPopCon.h:26
CSCFakeDBGainsPopCon::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
ESProducer.h
EventSetupRecordIntervalFinder.h
CSCFakeDBGainsPopCon::ReturnType
const CSCDBGains * ReturnType
Definition:
CSCFakeDBGainsPopCon.h:30
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCFakeDBGainsPopCon::produceDBGains
ReturnType produceDBGains(const CSCDBGainsRcd &)
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCFakeDBGainsPopCon::minchi
float minchi
Definition:
CSCFakeDBGainsPopCon.h:25
CSCFakeDBGainsPopCon::~CSCFakeDBGainsPopCon
~CSCFakeDBGainsPopCon()
CSCFakeDBGainsPopCon::CSCFakeDBGainsPopCon
CSCFakeDBGainsPopCon(const edm::ParameterSet &)
CSCDBGainsRcd
Definition:
CSCDBGainsRcd.h:5
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11