8 dataset =
das.query(
'dataset file=%s' % process.source.fileNames[0], verbose=
True)
11 'Das returned no dataset parent of the input file: %s \n'
12 'The parenthood is needed to add RAW secondary input files' % process.source.fileNames[0]
14 raw_dataset = dataset[0].
replace(
'GEN-SIM-RECO',
'GEN-SIM-DIGI-RAW-HLTDEBUG')
15 raw_files =
das.query(
'file dataset=%s' % raw_dataset, verbose=
True)
17 raise RuntimeError(
'No files found belonging to the GEN-SIM-DIGI-RAW-HLTDEBUG sample!')
19 raw_files = [str(i)
for i
in raw_files]
20 process.source.secondaryFileNames = cms.untracked.vstring(*raw_files)