38 parser.getDDLSAX2FileHandler()->setUserNS(
true);
41 std::unique_ptr<std::vector<unsigned char> > tb = (*gdd).getUncompressedBlob();
43 parser.parse(*tb, tb->size());
52 desc.
add<
std::string>(
"rootDDName")->setComment(
"The value must be of the form 'namespace:name'");
53 desc.
add<
std::string>(
"label")->setComment(
"product label used to get the FileBlob");
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
const std::string rootDDName_
std::unique_ptr< DDCompactView > ReturnType
DDName is used to identify DDD entities uniquely.
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
XMLIdealGeometryESProducer(const edm::ParameterSet &)
ReturnType produce(const IdealGeometryRecord &)
void addDefault(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
DDLParser is the main class of Detector Description Language Parser.
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::ESGetToken< FileBlob, GeometryFileRcd > blobToken_