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
CSCDBGains
*
prefillDBGains
();
29
30
typedef
std::unique_ptr<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::minchi
float minchi
Definition:
CSCFakeDBGainsPopCon.h:25
CSCFakeDBGainsPopCon::produceDBGains
ReturnType produceDBGains(const CSCDBGainsRcd &)
ESHandle.h
CSCFakeDBGainsPopCon::M
long int M
Definition:
CSCFakeDBGainsPopCon.h:26
CSCFakeDBGainsPopCon::CSCFakeDBGainsPopCon
CSCFakeDBGainsPopCon(const edm::ParameterSet &)
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
CSCFakeDBGainsPopCon::~CSCFakeDBGainsPopCon
~CSCFakeDBGainsPopCon()
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCDetId.h
CSCDBGains
Definition:
CSCDBGains.h:9
MakerMacros.h
CSCFakeDBGainsPopCon
Definition:
CSCFakeDBGainsPopCon.h:20
CSCFakeDBGainsPopCon::ReturnType
std::unique_ptr< CSCDBGains > ReturnType
Definition:
CSCFakeDBGainsPopCon.h:30
CSCFakeDBGainsPopCon::prefillDBGains
CSCDBGains * prefillDBGains()
CSCFakeDBGainsPopCon::min
float min
Definition:
CSCFakeDBGainsPopCon.h:25
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
CSCFakeDBGainsPopCon::mean
float mean
Definition:
CSCFakeDBGainsPopCon.h:25
CSCFakeDBGainsPopCon::cndbgains
CSCDBGains * cndbgains
Definition:
CSCFakeDBGainsPopCon.h:37
Frameworkfwd.h
CSCDBGainsRcd.h
EventSetup.h
CSCDBGainsRcd
Definition:
CSCDBGainsRcd.h:5
CSCDBGains.h
edm::ESProducer
Definition:
ESProducer.h:101
ParameterSet.h
CSCFakeDBGainsPopCon::seed
int seed
Definition:
CSCFakeDBGainsPopCon.h:26
CSCFakeDBGainsPopCon::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Generated for CMSSW Reference Manual by
1.8.16