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
,
public
edm::EventSetupRecordIntervalFinder
{
12
13
public
:
14
15
explicit
Phase2TrackerCablingCfgESSource
(
const
edm::ParameterSet
& );
16
~Phase2TrackerCablingCfgESSource
()
override
;
17
18
protected
:
19
20
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&
key
,
21
const
edm::IOVSyncValue
& iov_sync,
22
edm::ValidityInterval
& iov_validity )
override
{
23
edm::ValidityInterval
infinity
( iov_sync.
beginOfTime
(), iov_sync.
endOfTime
() );
24
iov_validity =
infinity
;
25
}
26
27
private
:
28
29
// Builds cabling map based on the ParameterSet
30
Phase2TrackerCabling
*
make
(
const
Phase2TrackerCablingRcd
& )
override
;
31
32
// The configuration used to generated the cabling record
33
edm::ParameterSet
pset_
;
34
};
35
36
#endif // CalibTracker_SiStripESProducers_Phase2TrackerCablingCfgESSource_H
37
38
Phase2TrackerCablingCfgESSource::make
Phase2TrackerCabling * make(const Phase2TrackerCablingRcd &) override
Definition:
Phase2TrackerCablingCfgESSource.cc:35
Phase2TrackerCablingRcd
Definition:
SiStripCondDataRecords.h:50
edm::ValidityInterval
Definition:
ValidityInterval.h:28
Phase2TrackerCablingCfgESSource::pset_
edm::ParameterSet pset_
Definition:
Phase2TrackerCablingCfgESSource.h:33
Phase2TrackerCablingESProducer
Definition:
Phase2TrackerCablingESProducer.h:12
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition:
IOVSyncValue.cc:97
crabWrapper.key
key
Definition:
crabWrapper.py:17
Phase2TrackerCablingCfgESSource::~Phase2TrackerCablingCfgESSource
~Phase2TrackerCablingCfgESSource() override
Definition:
Phase2TrackerCablingCfgESSource.cc:27
ParameterSet.h
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition:
IOVSyncValue.cc:103
Phase2TrackerCablingCfgESSource::Phase2TrackerCablingCfgESSource
Phase2TrackerCablingCfgESSource(const edm::ParameterSet &)
Definition:
Phase2TrackerCablingCfgESSource.cc:16
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:20
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