24 userNS_(p.getUntrackedParameter<bool>(
"userControlledNamespace",
false)),
28 throw cms::Exception(
"DDException") <<
"XMLIdealGeometryESSource must have a root node name.";
34 findingRecord<IdealMagneticFieldRecord>();
38 findingRecord<IdealGeometryRecord>();
44 std::auto_ptr<DDCompactView>
50 std::auto_ptr<DDCompactView>
57 std::auto_ptr<DDCompactView>
63 std::auto_ptr<DDCompactView> returnValue(
new DDCompactView(rootNode));
67 if (result2 != 0)
throw cms::Exception(
"DDException") <<
"DDD-Parser: parsing failed!";
72 throw cms::Exception(
"Geometry")<<
"There is no valid node named \""
75 returnValue->lockdown();
T getParameter(std::string const &) const
int parse(const DDLDocumentProvider &dp)
Parse all files. Return is meaningless.
XMLIdealGeometryESSource(const edm::ParameterSet &p)
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 &)
volatile std::atomic< bool > shutdown_flag false
virtual ~XMLIdealGeometryESSource()