1 from __future__
import print_function
2 import FWCore.ParameterSet.Config
as cms
5 import Configuration.StandardSequences.SkimsHeavyIons_cff
as Skims
8 for skim
in Skims.__dict__:
9 skimstream = getattr(Skims,skim)
10 if (
not isinstance(skimstream,cms.FilteredStream)):
13 shortname = skim.replace(
'SKIMStream',
'')
15 if shortname!=skimstream[
'name']:
16 print(
'#### ERROR ####')
17 print(
'skim name and stream name should be the same for consistency',shortname,
'!=',skimstream[
'name'])
19 for token
in [
'name',
'responsible',
'dataTier']:
20 print(token,
":",skimstream[token])
22 listOfOptions.append(skimstream[
'name'])
24 print(
'possible cmsDriver options for skimming:')