test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Skims_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4  import Configuration.StandardSequences.Skims_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 ### DPG skims ###
29 
30 
31 ### Central Skims ###
def documentSkims
Definition: Skims_cff.py:3
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
DPG skims ###.
Central Skims ###.