GeometryReaders
XMLIdealGeometryESSource
interface
XMLIdealGeometryESSource.h
Go to the documentation of this file.
1
#ifndef GeometryReaders_XMLIdealGeometryESSource_XMLIdealGeometryESSource_H
2
#define GeometryReaders_XMLIdealGeometryESSource_XMLIdealGeometryESSource_H
3
4
#include "
FWCore/Framework/interface/ESProducer.h
"
5
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
8
#include "
DetectorDescription/Core/interface/DDCompactView.h
"
9
#include "
GeometryReaders/XMLIdealGeometryESSource/interface/GeometryConfiguration.h
"
10
#include "
Geometry/Records/interface/IdealGeometryRecord.h
"
11
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
12
13
#include <memory>
14
#include <string>
15
16
class
XMLIdealGeometryESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
17
public
:
18
XMLIdealGeometryESSource
(
const
edm::ParameterSet
&
p
);
19
~XMLIdealGeometryESSource
()
override
;
20
std::unique_ptr<DDCompactView>
produceGeom
(
const
IdealGeometryRecord
&);
21
std::unique_ptr<DDCompactView>
produceMagField
(
const
IdealMagneticFieldRecord
&);
22
std::unique_ptr<DDCompactView>
produce
();
23
24
protected
:
25
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
26
const
edm::IOVSyncValue
&,
27
edm::ValidityInterval
&)
override
;
28
XMLIdealGeometryESSource
(
const
XMLIdealGeometryESSource
&) =
delete
;
29
const
XMLIdealGeometryESSource
&
operator=
(
const
XMLIdealGeometryESSource
&) =
delete
;
30
31
private
:
32
std::string
rootNodeName_
;
33
bool
userNS_
;
34
GeometryConfiguration
geoConfig_
;
35
};
36
37
#endif
XMLIdealGeometryESSource::operator=
const XMLIdealGeometryESSource & operator=(const XMLIdealGeometryESSource &)=delete
GeometryConfiguration.h
GeometryConfiguration
Definition:
GeometryConfiguration.h:20
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
DDCompactView.h
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
XMLIdealGeometryESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
XMLIdealGeometryESSource.cc:72
XMLIdealGeometryESSource::produceGeom
std::unique_ptr< DDCompactView > produceGeom(const IdealGeometryRecord &)
Definition:
XMLIdealGeometryESSource.cc:46
IdealMagneticFieldRecord
Definition:
IdealMagneticFieldRecord.h:11
IdealMagneticFieldRecord.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
XMLIdealGeometryESSource::userNS_
bool userNS_
Definition:
XMLIdealGeometryESSource.h:33
IdealGeometryRecord.h
XMLIdealGeometryESSource
Definition:
XMLIdealGeometryESSource.h:16
XMLIdealGeometryESSource::produce
std::unique_ptr< DDCompactView > produce()
Definition:
XMLIdealGeometryESSource.cc:52
XMLIdealGeometryESSource::geoConfig_
GeometryConfiguration geoConfig_
Definition:
XMLIdealGeometryESSource.h:34
XMLIdealGeometryESSource::XMLIdealGeometryESSource
XMLIdealGeometryESSource(const edm::ParameterSet &p)
Definition:
XMLIdealGeometryESSource.cc:23
XMLIdealGeometryESSource::rootNodeName_
std::string rootNodeName_
Definition:
XMLIdealGeometryESSource.h:32
XMLIdealGeometryESSource::produceMagField
std::unique_ptr< DDCompactView > produceMagField(const IdealMagneticFieldRecord &)
Definition:
XMLIdealGeometryESSource.cc:48
XMLIdealGeometryESSource::~XMLIdealGeometryESSource
~XMLIdealGeometryESSource() override
Definition:
XMLIdealGeometryESSource.cc:44
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
IdealGeometryRecord
Definition:
IdealGeometryRecord.h:25
Generated for CMSSW Reference Manual by
1.8.16