Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
17
18
protected
:
19
20
virtual
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&
key
,
21
const
edm::IOVSyncValue
& iov_sync,
22
edm::ValidityInterval
& iov_validity ) {
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
virtual
Phase2TrackerCabling
*
make
(
const
Phase2TrackerCablingRcd
& );
31
32
// The configuration used to generated the cabling record
33
edm::ParameterSet
pset_
;
34
};
35
36
#endif // CalibTracker_SiStripESProducers_Phase2TrackerCablingCfgESSource_H
37
38
Phase2TrackerCablingRcd
Definition:
SiStripCondDataRecords.h:51
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
Phase2TrackerCablingCfgESSource::setIntervalFor
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &key, const edm::IOVSyncValue &iov_sync, edm::ValidityInterval &iov_validity)
Definition:
Phase2TrackerCablingCfgESSource.h:20
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
Phase2TrackerCabling
Definition:
Phase2TrackerCabling.h:9
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
combine.key
list key
Definition:
combine.py:13
edm::ParameterSet
Definition:
ParameterSet.h:35
Phase2TrackerCablingCfgESSource::~Phase2TrackerCablingCfgESSource
~Phase2TrackerCablingCfgESSource()
Definition:
Phase2TrackerCablingCfgESSource.cc:27
Phase2TrackerCablingCfgESSource::make
virtual Phase2TrackerCabling * make(const Phase2TrackerCablingRcd &)
Definition:
Phase2TrackerCablingCfgESSource.cc:35
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5