CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SkimsHeavyIons_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4  import Configuration.StandardSequences.SkimsHeavyIons_cff as Skims
5 
6  listOfOptions=[]
7  for skim in Skims.__dict__:
8  skimstream = getattr(Skims,skim)
9  if (not isinstance(skimstream,cms.FilteredStream)):
10  continue
11 
12  shortname = skim.replace('SKIMStream','')
13  print shortname
14  if shortname!=skimstream['name']:
15  print '#### ERROR ####'
16  print 'skim name and stream name should be the same for consistency',shortname,'!=',skimstream['name']
17 
18  for token in ['name','responsible','dataTier']:
19  print token,":",skimstream[token]
20 
21  listOfOptions.append(skimstream['name'])
22 
23  print 'possible cmsDriver options for skimming:'
24  print 'SKIM:'+'+'.join(listOfOptions)
25 
26 
27 ### HI Analysis Skims ###
HI Analysis Skims ###.
static std::string join(char **cmd)
Definition: RemoteFile.cc:18