Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:49

0001 from __future__ import print_function
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 def documentSkims():
0005     import Configuration.StandardSequences.SkimsCosmics_cff as Skims
0006 
0007     listOfOptions=[]
0008     for skim in Skims.__dict__:
0009         skimstream = getattr(Skims,skim)
0010         if (not isinstance(skimstream,cms.FilteredStream)):
0011             continue
0012         
0013         shortname = skim.replace('SKIMStream','')
0014         print(shortname)
0015         if shortname!=skimstream['name']:
0016             print('#### ERROR ####')
0017             print('skim name and stream name should be the same for consistency',shortname,'!=',skimstream['name'])
0018             
0019         for token in ['name','responsible','dataTier']:
0020             print(token,":",skimstream[token])
0021             
0022         listOfOptions.append(skimstream['name'])
0023 
0024     print('possible cmsDriver options for skimming:')
0025     print('SKIM:'+'+'.join(listOfOptions))
0026 
0027 
0028 
0029 from DPGAnalysis.Skims.SkimsCosmics_DPG_cff import *