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
CSCNoiseMatrix.h
ESHandle.h
CSCNoiseMatrix
Definition:
CSCNoiseMatrix.h:10
CSCNoiseMatrixConditions
Definition:
CSCNoiseMatrixConditions.h:19
CSCNoiseMatrixConditions::CSCNoiseMatrixConditions
CSCNoiseMatrixConditions(const edm::ParameterSet &)
Definition:
CSCNoiseMatrixConditions.cc:422
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCNoiseMatrixRcd.h
ESProducer.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCNoiseMatrixConditions::prefillNoiseMatrix
static CSCNoiseMatrix * prefillNoiseMatrix()
Definition:
CSCNoiseMatrixConditions.cc:6
CSCDetId.h
MakerMacros.h
CSCNoiseMatrixConditions::ReturnType
std::unique_ptr< CSCNoiseMatrix > ReturnType
Definition:
CSCNoiseMatrixConditions.h:26
CSCNoiseMatrixConditions::cnMatrix
CSCNoiseMatrix * cnMatrix
Definition:
CSCNoiseMatrixConditions.h:35
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CSCNoiseMatrixRcd
Definition:
CSCNoiseMatrixRcd.h:5
CSCNoiseMatrixConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCNoiseMatrixConditions.cc:446
Frameworkfwd.h
CSCNoiseMatrixConditions::~CSCNoiseMatrixConditions
~CSCNoiseMatrixConditions() override
Definition:
CSCNoiseMatrixConditions.cc:431
EventSetup.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
CSCNoiseMatrixConditions::produceNoiseMatrix
ReturnType produceNoiseMatrix(const CSCNoiseMatrixRcd &)
Definition:
CSCNoiseMatrixConditions.cc:441
Generated for CMSSW Reference Manual by
1.8.16