Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CalibMuon
RPCCalibration
src
RPCPerformanceESSource.cc
Go to the documentation of this file.
1
#include "
CalibMuon/RPCCalibration/interface/RPCPerformanceESSource.h
"
2
#include "
CondFormats/DataRecord/interface/RPCStripNoisesRcd.h
"
3
#include "
CondFormats/RPCObjects/interface/RPCStripNoises.h
"
4
#include "
DataFormats/SiStripCommon/interface/SiStripConstants.h
"
5
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
6
#include <iostream>
7
8
using namespace
std;
9
10
// -----------------------------------------------------------------------------
11
//
12
RPCPerformanceESSource::RPCPerformanceESSource
(
const
edm::ParameterSet
&
pset
) {
13
setWhatProduced(
this
);
14
findingRecord<RPCStripNoisesRcd>();
15
}
16
17
// -----------------------------------------------------------------------------
18
//
19
unique_ptr<RPCStripNoises>
RPCPerformanceESSource::produce
(
const
RPCStripNoisesRcd
&) {
20
RPCStripNoises
*
noise
= makeNoise();
21
22
return
unique_ptr<RPCStripNoises>(
noise
);
23
}
24
25
// -----------------------------------------------------------------------------
26
//
27
void
RPCPerformanceESSource::setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
28
const
edm::IOVSyncValue
&iosv,
29
edm::ValidityInterval
&oValidity) {
30
edm::ValidityInterval
infinity
(iosv.
beginOfTime
(), iosv.
endOfTime
());
31
oValidity =
infinity
;
32
}
RPCStripNoisesRcd.h
edm::ValidityInterval
Definition:
ValidityInterval.h:28
RPCPerformanceESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
RPCPerformanceESSource.cc:27
MessageLogger.h
RPCPerformanceESSource::RPCPerformanceESSource
RPCPerformanceESSource(const edm::ParameterSet &)
Definition:
RPCPerformanceESSource.cc:12
RPCPerformanceESSource.h
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:591
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition:
IOVSyncValue.cc:82
RPCPerformanceESSource::produce
std::unique_ptr< RPCStripNoises > produce(const RPCStripNoisesRcd &)
Definition:
RPCPerformanceESSource.cc:19
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition:
IOVSyncValue.cc:88
infinity
const double infinity
Definition:
CSCChamberFitter.cc:10
gpuVertexFinder::noise
__shared__ int noise
Definition:
gpuFitVertices.h:50
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
RPCStripNoisesRcd
Definition:
RPCStripNoisesRcd.h:24
edm::ParameterSet
Definition:
ParameterSet.h:47
RPCStripNoises
Definition:
RPCStripNoises.h:10
RPCStripNoises.h
SiStripConstants.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5