31 : rootDDName_(iConfig.getParameter<
std::
string>(
"rootDDName")),
32 blobToken_(setWhatProduced(this).consumes(
edm::
ESInputTag(
"", iConfig.getParameter<
std::
string>(
"label")))) {
40 parser.getDDLSAX2FileHandler()->setUserNS(
true);
43 std::unique_ptr<std::vector<unsigned char> > tb = (*gdd).getUncompressedBlob();
45 parser.parse(*tb, tb->size());
54 desc.add<
std::string>(
"rootDDName")->setComment(
"The value must be of the form 'namespace:name'");
55 desc.add<
std::string>(
"label")->setComment(
"product label used to get the FileBlob");
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
const std::string rootDDName_
std::unique_ptr< DDCompactView > ReturnType
DDName is used to identify DDD entities uniquely.
XMLIdealGeometryESProducer(const edm::ParameterSet &)
ReturnType produce(const IdealGeometryRecord &)
void usesResources(std::vector< std::string > const &)
void addDefault(ParameterSetDescription const &psetDescription)
static const std::string kDDGeometry
const edm::ESGetToken< FileBlob, GeometryFileRcd > blobToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
DDLParser is the main class of Detector Description Language Parser.
#define DEFINE_FWK_EVENTSETUP_MODULE(type)