Go to the documentation of this file.
24 : rootNodeName_(
p.getParameter<
std::
string>(
"rootNodeName")),
25 userNS_(
p.getUntrackedParameter<
bool>(
"userControlledNamespace",
false)),
30 throw cms::Exception(
"DDException") <<
"XMLIdealGeometryESSource must have a root node name.";
36 findingRecord<IdealMagneticFieldRecord>();
40 findingRecord<IdealGeometryRecord>();
56 std::unique_ptr<DDCompactView> returnValue(
new DDCompactView(rootNode));
61 throw cms::Exception(
"DDException") <<
"DDD-Parser: parsing failed!";
68 returnValue->lockdown();
DDName is used to identify DDD entities uniquely.
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
std::unique_ptr< DDCompactView > produceGeom(const IdealGeometryRecord &)
Compact representation of the geometrical detector hierarchy.
void usesResources(std::vector< std::string > const &)
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
bool isValid() const
true, if the wrapped pointer is valid
static const IOVSyncValue & endOfTime()
static value_type & instance()
DDLParser is the main class of Detector Description Language Parser.
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
std::unique_ptr< DDCompactView > produce()
GeometryConfiguration geoConfig_
XMLIdealGeometryESSource(const edm::ParameterSet &p)
std::string rootNodeName_
static const std::string kDDGeometry
std::unique_ptr< DDCompactView > produceMagField(const IdealMagneticFieldRecord &)
static const IOVSyncValue & beginOfTime()
~XMLIdealGeometryESSource() override