Go to the documentation of this file.
30 : rootDDName_(iConfig.getParameter<
std::
string>(
"rootDDName")) {
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");
ParameterDescriptionBase * add(U const &iLabel, T const &value)
DDName is used to identify DDD entities uniquely.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< DDCompactView > ReturnType
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ESGetToken< FileBlob, GeometryFileRcd > blobToken_
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
const std::string rootDDName_
DDLParser is the main class of Detector Description Language Parser.
XMLIdealGeometryESProducer(const edm::ParameterSet &)
T getParameter(std::string const &) const
ReturnType produce(const IdealGeometryRecord &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void addDefault(ParameterSetDescription const &psetDescription)