Main Page
Namespaces
Classes
Package Documentation
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::ReturnType
std::unique_ptr< CSCDBCrosstalk > ReturnType
Definition:
CSCFakeDBCrosstalkPopCon.h:29
CSCFakeDBCrosstalkPopCon::prefillDBFakeCrosstalk
CSCDBCrosstalk * prefillDBFakeCrosstalk()
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCFakeDBCrosstalkPopCon::mean
float mean
Definition:
CSCFakeDBCrosstalkPopCon.h:24
CSCFakeDBCrosstalkPopCon::seed
int seed
Definition:
CSCFakeDBCrosstalkPopCon.h:25
CSCDBCrosstalk.h
CSCDetId.h
CSCFakeDBCrosstalkPopCon::minchi
float minchi
Definition:
CSCFakeDBCrosstalkPopCon.h:24
Event.h
MakerMacros.h
EventSetup.h
Frameworkfwd.h
CSCFakeDBCrosstalkPopCon::~CSCFakeDBCrosstalkPopCon
~CSCFakeDBCrosstalkPopCon()
edm::ESProducer
Definition:
ESProducer.h:99
ParameterSet.h
CSCFakeDBCrosstalkPopCon::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
CSCFakeDBCrosstalkPopCon::cndbcrosstalk
CSCDBCrosstalk * cndbcrosstalk
Definition:
CSCFakeDBCrosstalkPopCon.h:36
ESHandle.h
CSCFakeDBCrosstalkPopCon::produceDBCrosstalk
ReturnType produceDBCrosstalk(const CSCDBCrosstalkRcd &)
CSCDBCrosstalk
Definition:
CSCDBCrosstalk.h:9
CSCDBCrosstalkRcd
Definition:
CSCDBCrosstalkRcd.h:5
CSCDBCrosstalkRcd.h
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
SourceFactory.h
CSCFakeDBCrosstalkPopCon::M
long int M
Definition:
CSCFakeDBCrosstalkPopCon.h:25
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCFakeDBCrosstalkPopCon::CSCFakeDBCrosstalkPopCon
CSCFakeDBCrosstalkPopCon(const edm::ParameterSet &)
CSCFakeDBCrosstalkPopCon
Definition:
CSCFakeDBCrosstalkPopCon.h:19
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
CSCFakeDBCrosstalkPopCon::min
float min
Definition:
CSCFakeDBCrosstalkPopCon.h:24
Generated for CMSSW Reference Manual by
1.8.11