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