25 userNS_(p.getUntrackedParameter<bool>(
"userControlledNamespace",
false)),
29 throw DDException (
"XMLIdealGeometryESSource must have a root node name.");
35 findingRecord<IdealMagneticFieldRecord>();
39 findingRecord<IdealGeometryRecord>();
45 std::auto_ptr<DDCompactView>
51 std::auto_ptr<DDCompactView>
58 std::auto_ptr<DDCompactView>
64 std::auto_ptr<DDCompactView> returnValue(
new DDCompactView(rootNode));
68 if (result2 != 0)
throw DDException(
"DDD-Parser: parsing failed!");
73 throw cms::Exception(
"Geometry")<<
"There is no valid node named \""
76 returnValue->lockdown();
T getParameter(std::string const &) const
int parse(const DDLDocumentProvider &dp)
Parse all files. Return is meaningless.
XMLIdealGeometryESSource(const edm::ParameterSet &p)
An exception for DDD errors.
static const IOVSyncValue & endOfTime()
DDName is used to identify DDD entities uniquely.
std::string rootNodeName_
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
type of data representation of DDCompactView
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
std::auto_ptr< DDCompactView > produce()
static value_type & instance()
bool isValid() const
true, if the wrapped pointer is valid
static const IOVSyncValue & beginOfTime()
virtual void setUserNS(bool userns)
std::auto_ptr< DDCompactView > produceMagField(const IdealMagneticFieldRecord &)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
GeometryConfiguration geoConfig_
DDLSAX2FileHandler * getDDLSAX2FileHandler()
To get the parent this class allows access to the handler.
DDLParser is the main class of Detector Description Language Parser.
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
std::auto_ptr< DDCompactView > produceGeom(const IdealGeometryRecord &)
virtual ~XMLIdealGeometryESSource()