28 import Configuration.StandardSequences.Skims_cff
as Skims
31 for skim
in Skims.__dict__:
32 skimstream = getattr(Skims,skim)
33 if (
not isinstance(skimstream,cms.FilteredStream)):
continue
35 if skimname == skimstream[
'name']:
36 return skimstream[
'dataTier']
37 for skim
in CosmicSkims.__dict__:
38 skimstream = getattr(CosmicSkims,skim)
39 if (
not isinstance(skimstream,cms.FilteredStream)):
continue
41 if skimname == skimstream[
'name']:
42 return skimstream[
'dataTier']