Definition at line 220 of file FWLiteESRecordWriterAnalyzer.cc.
References data, Exception, edm::EventSetup::find(), edm::typelookup::findType(), relativeConstraints::keys, genParticles_cff::map, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::tt.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
230 if(tt == HCTypeTag()) {
231 throw cms::Exception(
"UnknownESRecordType")<<
"The name '"<<it->first<<
"' is not associated with a known EventSetupRecord.\n" 232 "Please check spelling or load a module known to link with the package which declares that Record.";
236 auto rec = iSetup.
find(tt);
238 throw cms::Exception(
"UnknownESRecordType")<<
"The name '"<<it->first<<
"' is not associated with a type which is not an EventSetupRecord.\n" 239 "Please check your spelling.";
243 std::vector<std::pair<std::string,std::string> >&
data = it->second;
246 std::vector<edm::eventsetup::DataKey>
keys;
247 rec->fillRegisteredDataKeys(keys);
248 for(std::vector<edm::eventsetup::DataKey>::iterator itKey = keys.begin(), itKeyEnd = keys.end();
251 data.push_back(std::make_pair(
std::string(itKey->type().name()),
256 std::vector<DataInfo> dataInfos;
257 for (std::vector<std::pair<std::string,std::string> >::iterator itData = data.begin(), itDataEnd = data.end();
261 if(tt == HCTypeTag()) {
262 throw cms::Exception(
"UnknownESDataType")<<
"The name '"<<itData->first<<
"' is not associated with a known type held in the "<<it->first<<
" Record.\n" 263 "Please check spelling or load a module known to link with the package which declares that type.";
266 throw cms::Exception(
"NoDictionary")<<
"The type '"<<itData->first<<
"' can not be retrieved from the Record "<<it->first<<
" and stored \n" 267 "because no dictionary exists for the type.";
269 dataInfos.push_back(DataInfo(tt,itData->second));
271 m_handlers.push_back( std::make_shared<RecordHandler>(rKey,
m_file,dataInfos) );
275 for(std::vector<std::shared_ptr<RecordHandler> >::iterator it =
m_handlers.begin(),itEnd =
m_handlers.end();
278 (*it)->update(iSetup);
std::optional< eventsetup::EventSetupRecordGeneric > find(const eventsetup::EventSetupRecordKey &iKey) const
std::pair< const char *, const std::type_info * > findType(const char *iClassName)
std::vector< std::shared_ptr< RecordHandler > > m_handlers
std::map< std::string, std::vector< std::pair< std::string, std::string > > > m_recordToDataNames
char data[epos_bytes_allocation]