Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # ROOT version used in 12_4_X (2022 data taking), and in 13_0_X up to
0004 # 13_0_3 had a bug where TStreamerInfo was missing in some cases. This
0005 # customize function adds a Service to include the TStreamerInfo for
0006 # the affected classes so that the old files can be read now that some
0007 # of the affected data format classes have evolved.
0008 def fixReading_12_4_X_Files(process):
0009     process.add_(cms.Service("FixMissingStreamerInfos",
0010         fileInPath = cms.untracked.FileInPath("IOPool/Input/data/fileContainingStreamerInfos_13_0_0.root")
0011     ))
0012     return process