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