src
CalibMuon
CSCCalibration
interface
CSCFakeCrosstalkConditions.h
Go to the documentation of this file.
1
#ifndef _CSCFRONTIERCROSSTALKCONDITIONS_H
2
#define _CSCFRONTIERCROSSTALKCONDITIONS_H
3
4
#include "
FWCore/Framework/interface/ESHandle.h
"
5
#include "
FWCore/Framework/interface/ESProducer.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
9
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
10
#include "
FWCore/Framework/interface/MakerMacros.h
"
11
#include "
FWCore/Framework/interface/SourceFactory.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
#include <memory>
14
15
#include "
CondFormats/CSCObjects/interface/CSCcrosstalk.h
"
16
#include "
CondFormats/DataRecord/interface/CSCcrosstalkRcd.h
"
17
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
18
19
class
CSCFakeCrosstalkConditions
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
20
public
:
21
CSCFakeCrosstalkConditions
(
const
edm::ParameterSet
&);
22
~CSCFakeCrosstalkConditions
()
override
;
23
24
float
mean
,
min
,
minchi
;
25
int
seed
;
26
long
int
M
;
27
28
CSCcrosstalk
*
prefillCrosstalk
();
29
30
typedef
std::unique_ptr<CSCcrosstalk>
ReturnType
;
31
32
ReturnType
produceCrosstalk
(
const
CSCcrosstalkRcd
&);
33
34
private
:
35
// ----------member data ---------------------------
36
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
37
const
edm::IOVSyncValue
&,
38
edm::ValidityInterval
&)
override
;
39
};
40
41
#endif
CSCcrosstalkRcd
Definition:
CSCcrosstalkRcd.h:5
CSCFakeCrosstalkConditions::mean
float mean
Definition:
CSCFakeCrosstalkConditions.h:24
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCFakeCrosstalkConditions::minchi
float minchi
Definition:
CSCFakeCrosstalkConditions.h:24
CSCDetId.h
Event.h
MakerMacros.h
EventSetup.h
CSCFakeCrosstalkConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCFakeCrosstalkConditions.cc:129
CSCFakeCrosstalkConditions::prefillCrosstalk
CSCcrosstalk * prefillCrosstalk()
Definition:
CSCFakeCrosstalkConditions.cc:5
CSCFakeCrosstalkConditions::min
float min
Definition:
CSCFakeCrosstalkConditions.h:24
CSCFakeCrosstalkConditions::ReturnType
std::unique_ptr< CSCcrosstalk > ReturnType
Definition:
CSCFakeCrosstalkConditions.h:30
Frameworkfwd.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
CSCcrosstalkRcd.h
CSCFakeCrosstalkConditions::produceCrosstalk
ReturnType produceCrosstalk(const CSCcrosstalkRcd &)
Definition:
CSCFakeCrosstalkConditions.cc:125
ESHandle.h
CSCFakeCrosstalkConditions::seed
int seed
Definition:
CSCFakeCrosstalkConditions.h:25
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCFakeCrosstalkConditions::M
long int M
Definition:
CSCFakeCrosstalkConditions.h:26
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCcrosstalk
Definition:
CSCcrosstalk.h:10
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCcrosstalk.h
CSCFakeCrosstalkConditions::~CSCFakeCrosstalkConditions
~CSCFakeCrosstalkConditions() override
Definition:
CSCFakeCrosstalkConditions.cc:115
CSCFakeCrosstalkConditions::CSCFakeCrosstalkConditions
CSCFakeCrosstalkConditions(const edm::ParameterSet &)
Definition:
CSCFakeCrosstalkConditions.cc:107
CSCFakeCrosstalkConditions
Definition:
CSCFakeCrosstalkConditions.h:19
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14