CMS 3D CMS Logo

Functions
Skims_cff Namespace Reference

Functions

def documentSkims ()
 

Function Documentation

def Skims_cff.documentSkims ( )

Definition at line 3 of file Skims_cff.py.

References join().

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 
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def documentSkims()
Definition: Skims_cff.py:3