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