src
CalibMuon
CSCCalibration
interface
CSCCrosstalkConditions.h
Go to the documentation of this file.
1
#ifndef _CSCCROSSTALKCONDITIONS_H
2
#define _CSCCROSSTALKCONDITIONS_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/ParameterSetfwd.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
CSCCrosstalkConditions
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
20
public
:
21
CSCCrosstalkConditions
(
const
edm::ParameterSet
&);
22
~CSCCrosstalkConditions
()
override
;
23
24
static
CSCcrosstalk
*
prefillCrosstalk
();
25
26
typedef
std::unique_ptr<CSCcrosstalk>
ReturnType
;
27
28
ReturnType
produceCrosstalk
(
const
CSCcrosstalkRcd
&);
29
30
private
:
31
// ----------member data ---------------------------
32
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
33
const
edm::IOVSyncValue
&,
34
edm::ValidityInterval
&)
override
;
35
CSCcrosstalk
*
cnCrosstalk
;
36
};
37
38
#endif
CSCCrosstalkConditions::produceCrosstalk
ReturnType produceCrosstalk(const CSCcrosstalkRcd &)
Definition:
CSCCrosstalkConditions.cc:295
CSCcrosstalkRcd
Definition:
CSCcrosstalkRcd.h:5
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCCrosstalkConditions::ReturnType
std::unique_ptr< CSCcrosstalk > ReturnType
Definition:
CSCCrosstalkConditions.h:26
CSCDetId.h
Event.h
EventSetup.h
Frameworkfwd.h
CSCCrosstalkConditions
Definition:
CSCCrosstalkConditions.h:19
ParameterSetfwd.h
ESProducer.h
edm::ESProducer
Definition:
ESProducer.h:104
CSCCrosstalkConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCCrosstalkConditions.cc:300
CSCcrosstalkRcd.h
CSCCrosstalkConditions::~CSCCrosstalkConditions
~CSCCrosstalkConditions() override
Definition:
CSCCrosstalkConditions.cc:285
ESHandle.h
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCCrosstalkConditions::cnCrosstalk
CSCcrosstalk * cnCrosstalk
Definition:
CSCCrosstalkConditions.h:35
CSCcrosstalk
Definition:
CSCcrosstalk.h:10
CSCCrosstalkConditions::CSCCrosstalkConditions
CSCCrosstalkConditions(const edm::ParameterSet &)
Definition:
CSCCrosstalkConditions.cc:276
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:48
MakerMacros.h
CSCcrosstalk.h
CSCCrosstalkConditions::prefillCrosstalk
static CSCcrosstalk * prefillCrosstalk()
Definition:
CSCCrosstalkConditions.cc:6
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14