CalibMuon
CSCCalibration
interface
CSCFakeDBCrosstalkPopCon.h
Go to the documentation of this file.
1
#ifndef _CSCFAKEDBCROSSTALKPOPCON_H
2
#define _CSCFAKEDBCROSSTALKPOPCON_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
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
15
#include "
CondFormats/CSCObjects/interface/CSCDBCrosstalk.h
"
16
#include "
CondFormats/DataRecord/interface/CSCDBCrosstalkRcd.h
"
17
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
18
19
class
CSCFakeDBCrosstalkPopCon
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
20
public
:
21
CSCFakeDBCrosstalkPopCon
(
const
edm::ParameterSet
&);
22
~CSCFakeDBCrosstalkPopCon
();
23
24
float
mean
,
min
,
minchi
;
25
int
seed
;
long
int
M
;
26
27
CSCDBCrosstalk
*
prefillDBFakeCrosstalk
();
28
29
typedef
std::unique_ptr<CSCDBCrosstalk>
ReturnType
;
30
31
ReturnType
produceDBCrosstalk
(
const
CSCDBCrosstalkRcd
&);
32
33
private
:
34
// ----------member data ---------------------------
35
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
& );
36
CSCDBCrosstalk
*
cndbcrosstalk
;
37
38
};
39
40
#endif
41
CSCFakeDBCrosstalkPopCon::prefillDBFakeCrosstalk
CSCDBCrosstalk * prefillDBFakeCrosstalk()
CSCFakeDBCrosstalkPopCon::M
long int M
Definition:
CSCFakeDBCrosstalkPopCon.h:25
ESHandle.h
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
CSCDBCrosstalk.h
CSCFakeDBCrosstalkPopCon::min
float min
Definition:
CSCFakeDBCrosstalkPopCon.h:24
CSCFakeDBCrosstalkPopCon
Definition:
CSCFakeDBCrosstalkPopCon.h:19
CSCFakeDBCrosstalkPopCon::~CSCFakeDBCrosstalkPopCon
~CSCFakeDBCrosstalkPopCon()
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCDBCrosstalkRcd
Definition:
CSCDBCrosstalkRcd.h:5
CSCFakeDBCrosstalkPopCon::seed
int seed
Definition:
CSCFakeDBCrosstalkPopCon.h:25
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCDetId.h
CSCFakeDBCrosstalkPopCon::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
CSCDBCrosstalk
Definition:
CSCDBCrosstalk.h:9
MakerMacros.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CSCFakeDBCrosstalkPopCon::cndbcrosstalk
CSCDBCrosstalk * cndbcrosstalk
Definition:
CSCFakeDBCrosstalkPopCon.h:36
CSCDBCrosstalkRcd.h
CSCFakeDBCrosstalkPopCon::CSCFakeDBCrosstalkPopCon
CSCFakeDBCrosstalkPopCon(const edm::ParameterSet &)
Frameworkfwd.h
CSCFakeDBCrosstalkPopCon::minchi
float minchi
Definition:
CSCFakeDBCrosstalkPopCon.h:24
CSCFakeDBCrosstalkPopCon::mean
float mean
Definition:
CSCFakeDBCrosstalkPopCon.h:24
EventSetup.h
edm::ESProducer
Definition:
ESProducer.h:104
CSCFakeDBCrosstalkPopCon::ReturnType
std::unique_ptr< CSCDBCrosstalk > ReturnType
Definition:
CSCFakeDBCrosstalkPopCon.h:29
ParameterSet.h
CSCFakeDBCrosstalkPopCon::produceDBCrosstalk
ReturnType produceDBCrosstalk(const CSCDBCrosstalkRcd &)
Generated for CMSSW Reference Manual by
1.8.16