Definition at line 4 of file SkimsHeavyIons_cff.py.
References join(), and print().
6 import Configuration.StandardSequences.SkimsHeavyIons_cff
as Skims
9 for skim
in Skims.__dict__:
10 skimstream = getattr(Skims,skim)
11 if (
not isinstance(skimstream,cms.FilteredStream)):
14 shortname = skim.replace(
'SKIMStream',
'')
16 if shortname!=skimstream[
'name']:
17 print(
'#### ERROR ####')
18 print(
'skim name and stream name should be the same for consistency',shortname,
'!=',skimstream[
'name'])
20 for token
in [
'name',
'responsible',
'dataTier']:
21 print(token,
":",skimstream[token])
23 listOfOptions.append(skimstream[
'name'])
25 print(
'possible cmsDriver options for skimming:')
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
static std::string join(char **cmd)