src
CalibMuon
CSCCalibration
interface
CSCNoiseMatrixConditions.h
Go to the documentation of this file.
1
#ifndef _CSCNOISEMATRIXCONDITIONS_H
2
#define _CSCNOISEMATRIXCONDITIONS_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/CSCNoiseMatrix.h
"
16
#include "
CondFormats/DataRecord/interface/CSCNoiseMatrixRcd.h
"
17
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
18
19
class
CSCNoiseMatrixConditions
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
20
public
:
21
CSCNoiseMatrixConditions
(
const
edm::ParameterSet
&);
22
~CSCNoiseMatrixConditions
()
override
;
23
24
static
CSCNoiseMatrix
*
prefillNoiseMatrix
();
25
26
typedef
std::unique_ptr<CSCNoiseMatrix>
ReturnType
;
27
28
ReturnType
produceNoiseMatrix
(
const
CSCNoiseMatrixRcd
&);
29
30
private
:
31
// ----------member data ---------------------------
32
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
33
const
edm::IOVSyncValue
&,
34
edm::ValidityInterval
&)
override
;
35
CSCNoiseMatrix
*
cnMatrix
;
36
};
37
38
#endif
CSCNoiseMatrixRcd
Definition:
CSCNoiseMatrixRcd.h:5
CSCNoiseMatrixConditions::prefillNoiseMatrix
static CSCNoiseMatrix * prefillNoiseMatrix()
Definition:
CSCNoiseMatrixConditions.cc:6
CSCNoiseMatrixConditions::cnMatrix
CSCNoiseMatrix * cnMatrix
Definition:
CSCNoiseMatrixConditions.h:35
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCNoiseMatrixRcd.h
CSCDetId.h
CSCNoiseMatrixConditions::~CSCNoiseMatrixConditions
~CSCNoiseMatrixConditions() override
Definition:
CSCNoiseMatrixConditions.cc:431
Event.h
EventSetup.h
Frameworkfwd.h
ESProducer.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
ESHandle.h
CSCNoiseMatrixConditions
Definition:
CSCNoiseMatrixConditions.h:19
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCNoiseMatrixConditions::produceNoiseMatrix
ReturnType produceNoiseMatrix(const CSCNoiseMatrixRcd &)
Definition:
CSCNoiseMatrixConditions.cc:441
EventSetupRecordIntervalFinder.h
CSCNoiseMatrix
Definition:
CSCNoiseMatrix.h:10
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCNoiseMatrixConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCNoiseMatrixConditions.cc:446
CSCNoiseMatrix.h
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCNoiseMatrixConditions::CSCNoiseMatrixConditions
CSCNoiseMatrixConditions(const edm::ParameterSet &)
Definition:
CSCNoiseMatrixConditions.cc:422
MakerMacros.h
CSCNoiseMatrixConditions::ReturnType
std::unique_ptr< CSCNoiseMatrix > ReturnType
Definition:
CSCNoiseMatrixConditions.h:26
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14