Main Page
Namespaces
Classes
Package Documentation
CalibTracker
SiStripESProducers
plugins
fake
Phase2TrackerCablingCfgESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiStripESProducers_Phase2TrackerCablingCfgESSource_H
2
#define CalibTracker_SiStripESProducers_Phase2TrackerCablingCfgESSource_H
3
4
#include "
CalibTracker/SiStripESProducers/interface/Phase2TrackerCablingESProducer.h
"
5
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
8
class
Phase2TrackerCabling
;
9
class
Phase2TrackerCablingRcd
;
10
11
class
Phase2TrackerCablingCfgESSource
:
public
Phase2TrackerCablingESProducer
,
12
public
edm::EventSetupRecordIntervalFinder
{
13
public
:
14
explicit
Phase2TrackerCablingCfgESSource
(
const
edm::ParameterSet
&);
15
~Phase2TrackerCablingCfgESSource
()
override
;
16
17
protected
:
18
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&
key
,
19
const
edm::IOVSyncValue
& iov_sync,
20
edm::ValidityInterval
& iov_validity)
override
{
21
edm::ValidityInterval
infinity
(iov_sync.
beginOfTime
(), iov_sync.
endOfTime
());
22
iov_validity =
infinity
;
23
}
24
25
private
:
26
// Builds cabling map based on the ParameterSet
27
Phase2TrackerCabling
*
make
(
const
Phase2TrackerCablingRcd
&)
override
;
28
29
// The configuration used to generated the cabling record
30
edm::ParameterSet
pset_
;
31
};
32
33
#endif // CalibTracker_SiStripESProducers_Phase2TrackerCablingCfgESSource_H
Phase2TrackerCablingCfgESSource::make
Phase2TrackerCabling * make(const Phase2TrackerCablingRcd &) override
Definition:
Phase2TrackerCablingCfgESSource.cc:31
Phase2TrackerCablingRcd
Definition:
SiStripCondDataRecords.h:63
edm::ValidityInterval
Definition:
ValidityInterval.h:28
Phase2TrackerCablingCfgESSource::pset_
edm::ParameterSet pset_
Definition:
Phase2TrackerCablingCfgESSource.h:30
Phase2TrackerCablingESProducer
Definition:
Phase2TrackerCablingESProducer.h:11
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition:
IOVSyncValue.cc:82
crabWrapper.key
key
Definition:
crabWrapper.py:19
Phase2TrackerCablingCfgESSource::~Phase2TrackerCablingCfgESSource
~Phase2TrackerCablingCfgESSource() override
Definition:
Phase2TrackerCablingCfgESSource.cc:24
ParameterSet.h
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition:
IOVSyncValue.cc:88
Phase2TrackerCablingCfgESSource::Phase2TrackerCablingCfgESSource
Phase2TrackerCablingCfgESSource(const edm::ParameterSet &)
Definition:
Phase2TrackerCablingCfgESSource.cc:15
infinity
const double infinity
Definition:
CSCChamberFitter.cc:10
Phase2TrackerCablingESProducer.h
Phase2TrackerCablingCfgESSource
Definition:
Phase2TrackerCablingCfgESSource.h:11
Phase2TrackerCablingCfgESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &key, const edm::IOVSyncValue &iov_sync, edm::ValidityInterval &iov_validity) override
Definition:
Phase2TrackerCablingCfgESSource.h:18
Phase2TrackerCabling
Definition:
Phase2TrackerCabling.h:9
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11