Definition at line 219 of file FWLiteESRecordWriterAnalyzer.cc.
References data, Exception, edm::eventsetup::EventSetupRecord::fillRegisteredDataKeys(), 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().
229 if(tt == HCTypeTag()) {
230 throw cms::Exception(
"UnknownESRecordType")<<
"The name '"<<it->first<<
"' is not associated with a known EventSetupRecord.\n" 231 "Please check spelling or load a module known to link with the package which declares that Record.";
237 throw cms::Exception(
"UnknownESRecordType")<<
"The name '"<<it->first<<
"' is not associated with a type which is not an EventSetupRecord.\n" 238 "Please check your spelling.";
242 std::vector<std::pair<std::string,std::string> >&
data = it->second;
245 std::vector<edm::eventsetup::DataKey>
keys;
247 for(std::vector<edm::eventsetup::DataKey>::iterator itKey = keys.begin(), itKeyEnd = keys.end();
250 data.push_back(std::make_pair(
std::string(itKey->type().name()),
255 std::vector<DataInfo> dataInfos;
256 for (std::vector<std::pair<std::string,std::string> >::iterator itData = data.begin(), itDataEnd = data.end();
260 if(tt == HCTypeTag()) {
261 throw cms::Exception(
"UnknownESDataType")<<
"The name '"<<itData->first<<
"' is not associated with a known type held in the "<<it->first<<
" Record.\n" 262 "Please check spelling or load a module known to link with the package which declares that type.";
265 throw cms::Exception(
"NoDictionary")<<
"The type '"<<itData->first<<
"' can not be retrieved from the Record "<<it->first<<
" and stored \n" 266 "because no dictionary exists for the type.";
268 dataInfos.push_back(DataInfo(tt,itData->second));
270 m_handlers.push_back( std::make_shared<RecordHandler>(rKey,
m_file,dataInfos) );
274 for(std::vector<std::shared_ptr<RecordHandler> >::iterator it =
m_handlers.begin(),itEnd =
m_handlers.end();
277 (*it)->update(iSetup);
std::pair< const char *, const std::type_info * > findType(const char *iClassName)
void fillRegisteredDataKeys(std::vector< DataKey > &oToFill) const
clears the oToFill vector and then fills it with the keys for all registered data keys ...
std::vector< std::shared_ptr< RecordHandler > > m_handlers
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
std::map< std::string, std::vector< std::pair< std::string, std::string > > > m_recordToDataNames
char data[epos_bytes_allocation]