-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NanoAOD workflow reading 12_4_X file, and Geant4e test reading 12…
…_5_X file In both cases the input file contains Scouting data formats, whose evolution causes read failure because of TStreamerInfo being missing from the file because of a ROOT bug at the time.
- Loading branch information
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# ROOT version used in 12_4_X (2022 data taking), and in 13_0_X up to | ||
# 13_0_3 had a bug where TStreamerInfo was missing in some cases. This | ||
# customize function adds a Service to include the TStreamerInfo for | ||
# the affected classes so that the old files can be read now that some | ||
# of the affected data format classes have evolved. | ||
def fixReading_12_4_X_Files(process): | ||
process.add_(cms.Service("FixMissingStreamerInfos", | ||
fileInPath = cms.untracked.FileInPath("IOPool/Input/data/fileContainingStreamerInfos_13_0_0.root") | ||
)) | ||
return process |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters