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::minchi
float minchi
Definition:
CSCFakeCrosstalkConditions.h:24
ESHandle.h
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
CSCcrosstalk.h
CSCFakeCrosstalkConditions::ReturnType
std::unique_ptr< CSCcrosstalk > ReturnType
Definition:
CSCFakeCrosstalkConditions.h:30
CSCFakeCrosstalkConditions::min
float min
Definition:
CSCFakeCrosstalkConditions.h:24
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCDetId.h
MakerMacros.h
CSCFakeCrosstalkConditions::CSCFakeCrosstalkConditions
CSCFakeCrosstalkConditions(const edm::ParameterSet &)
Definition:
CSCFakeCrosstalkConditions.cc:107
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
CSCFakeCrosstalkConditions::produceCrosstalk
ReturnType produceCrosstalk(const CSCcrosstalkRcd &)
Definition:
CSCFakeCrosstalkConditions.cc:125
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
CSCFakeCrosstalkConditions::~CSCFakeCrosstalkConditions
~CSCFakeCrosstalkConditions() override
Definition:
CSCFakeCrosstalkConditions.cc:115
CSCFakeCrosstalkConditions
Definition:
CSCFakeCrosstalkConditions.h:19
CSCcrosstalkRcd.h
CSCFakeCrosstalkConditions::seed
int seed
Definition:
CSCFakeCrosstalkConditions.h:25
CSCFakeCrosstalkConditions::M
long int M
Definition:
CSCFakeCrosstalkConditions.h:26
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
Frameworkfwd.h
CSCFakeCrosstalkConditions::mean
float mean
Definition:
CSCFakeCrosstalkConditions.h:24
EventSetup.h
edm::ESProducer
Definition:
ESProducer.h:101
ParameterSet.h
CSCcrosstalk
Definition:
CSCcrosstalk.h:10
Generated for CMSSW Reference Manual by
1.8.16