4 import Configuration.StandardSequences.SkimsCosmics_cff
as Skims
7 for skim
in Skims.__dict__:
8 skimstream = getattr(Skims,skim)
9 if (
not isinstance(skimstream,cms.FilteredStream)):
12 shortname = skim.replace(
'SKIMStream',
'')
14 if shortname!=skimstream[
'name']:
15 print '#### ERROR ####'
16 print 'skim name and stream name should be the same for consistency',shortname,
'!=',skimstream[
'name']
18 for token
in [
'name',
'responsible',
'dataTier']:
19 print token,
":",skimstream[token]
21 listOfOptions.append(skimstream[
'name'])
23 print 'possible cmsDriver options for skimming:'
24 print 'SKIM:'+
'+'.
join(listOfOptions)
static std::string join(char **cmd)