Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 def documentSkims():
00004 import Configuration.StandardSequences.SkimsCosmics_cff as Skims
00005
00006 listOfOptions=[]
00007 for skim in Skims.__dict__:
00008 skimstream = getattr(Skims,skim)
00009 if (not isinstance(skimstream,cms.FilteredStream)):
00010 continue
00011
00012 shortname = skim.replace('SKIMStream','')
00013 print shortname
00014 if shortname!=skimstream['name']:
00015 print '#### ERROR ####'
00016 print 'skim name and stream name should be the same for consistency',shortname,'!=',skimstream['name']
00017
00018 for token in ['name','responsible','dataTier']:
00019 print token,":",skimstream[token]
00020
00021 listOfOptions.append(skimstream['name'])
00022
00023 print 'possible cmsDriver options for skimming:'
00024 print 'SKIM:'+'+'.join(listOfOptions)
00025
00026
00027
00028 from DPGAnalysis.Skims.SkimsCosmics_DPG_cff import *