5 import Configuration.StandardSequences.SkimsCosmics_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:')
S & print(S &os, JobReport::InputFile const &f)
static std::string join(char **cmd)