Public Member Functions | |
FixMissingStreamerInfos (ParameterSet const &, ActivityRegistry &) | |
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &) |
Private Attributes | |
FileInPath | fileInPath_ |
This service is used to open and close a ROOT file that contains StreamerInfo objects causing them to be saved in memory. It is used when reading a file written with a version of ROOT with a bug that caused it to fail to write out StreamerInfo objects. (see Issue 41246).
CMSSW_13_0_0 had such a problem and files were written with this problem. When using this service to read files written with this release set the "fileInPath" parameter to the string "IOPool/Input/data/fileContainingStreamerInfos_13_0_0.root". This file is saved in the cms-data repository for IOPool/Input. Note that it was difficult to identify all the problem classes and we might have missed some. If there are additional problem classes a new version of this file can be generated with script IOPool/Input/scripts/makeFileContainingStreamerInfos.C. If the problem ever recurs in ROOT with a different release, one could use that script to generate a file containing StreamerInfos for other releases.
\author W. David Dagenhart, created 30 October, 2023
Definition at line 46 of file FixMissingStreamerInfos.cc.
edm::service::FixMissingStreamerInfos::FixMissingStreamerInfos | ( | ParameterSet const & | pset, |
edm::ActivityRegistry & | |||
) |
Definition at line 55 of file FixMissingStreamerInfos.cc.
References Exception, fileInPath_, and edm::FileInPath::fullPath().
|
static |
Definition at line 65 of file FixMissingStreamerInfos.cc.
References edm::ConfigurationDescriptions::add(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 52 of file FixMissingStreamerInfos.cc.
Referenced by FixMissingStreamerInfos().