Go to the source code of this file.
Definition at line 32 of file GeometryProducer.cc.
References beamerCreator::create(), Exception, timingPdfMaker::get, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GeometryProducer::GeometryProducer().
38 std::vector<ParameterSet> watchers;
40 watchers = iP.
getParameter<vector<ParameterSet>>(
"Watchers");
44 for (std::vector<ParameterSet>::iterator itWatcher = watchers.begin(); itWatcher != watchers.end(); ++itWatcher) {
45 std::unique_ptr<SimWatcherMakerBase> maker(
47 if (maker.get() ==
nullptr) {
48 throw cms::Exception(
"SimG4CoreGeometryProducer",
" createWatchers: Unable to find the requested Watcher");
51 std::shared_ptr<SimWatcher> watcherTemp;
52 std::shared_ptr<SimProducer> producerTemp;
53 maker->make(*itWatcher, iReg, watcherTemp, producerTemp);
54 oWatchers.push_back(watcherTemp);
56 oProds.push_back(producerTemp);
T getParameter(std::string const &) const
def create(alignables, pedeDump, additionalData, outputFile, config)