CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DPGAnalysis/Skims/python/SkimsCosmics_DPG_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from Configuration.EventContent.EventContentCosmics_cff import FEVTEventContent
00004 skimContent = FEVTEventContent.clone()
00005 skimContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
00006 skimContent.outputCommands.append("drop *_*_*_SKIM")
00007 
00008 ############ Import LogError and LogErrorMonitor Skims defined in Skims_DPG_cff.py
00009 from DPGAnalysis.Skims.logErrorSkim_cff import *
00010 from DPGAnalysis.Skims.Skims_DPG_cff import pathlogerror,SKIMStreamLogError
00011 from DPGAnalysis.Skims.Skims_DPG_cff import pathlogerrormonitor,SKIMStreamLogErrorMonitor
00012 
00013 ############
00014 from DPGAnalysis.Skims.cosmicSPSkim_cff import *
00015 
00016 cosmicMuonsBarrelOnlyPath = cms.Path(cosmicMuonsBarrelOnlySequence)
00017 cosmicMuonsPath = cms.Path(cosmicMuonsSequence)
00018 cosmicMuons1LegPath = cms.Path(cosmicMuons1LegSequence)
00019 globalCosmicMuonsBarrelOnlyPath = cms.Path(globalCosmicMuonsBarrelOnlySequence)
00020 cosmictrackfinderP5Path = cms.Path(cosmictrackfinderP5Sequence)
00021 globalCosmicMuonsPath = cms.Path(globalCosmicMuonsSequence)
00022 globalCosmicMuons1LegPath = cms.Path(globalCosmicMuons1LegSequence)
00023 
00024 SKIMStreamCosmicSP = cms.FilteredStream(
00025             responsible = 'MU-POG TRK-DPG',
00026                     name = 'CosmicSP',
00027                     paths = (cosmicMuonsBarrelOnlyPath,
00028                                               cosmicMuonsPath,
00029                                               cosmicMuons1LegPath,
00030                                               globalCosmicMuonsBarrelOnlyPath,
00031                                               cosmictrackfinderP5Path,
00032                                               globalCosmicMuonsPath,
00033                                               globalCosmicMuons1LegPath
00034 
00035                              ),
00036                     content = skimContent.outputCommands,
00037                     selectEvents = cms.untracked.PSet(),
00038                     dataTier = cms.untracked.string('RAW-RECO')
00039                     )
00040 
00041 
00042 """
00043 from DPGAnalysis.Skims.cscSkim_cff import *
00044 from DPGAnalysis.Skims.Skims_DPG_cff import pathCSCSkim,SKIMStreamCSC
00045 
00046 
00047 
00048 
00049 from DPGAnalysis.Skims.cosmicSPSkim_cff import *
00050 
00051 cosmicMuonsBarrelOnlyPath = cms.Path(cosmicMuonsBarrelOnlySequence)
00052 cosmicMuonsPath = cms.Path(cosmicMuonsSequence)
00053 cosmicMuons1LegPath = cms.Path(cosmicMuons1LegSequence)
00054 globalCosmicMuonsBarrelOnlyPath = cms.Path(globalCosmicMuonsBarrelOnlySequence)
00055 cosmictrackfinderP5Path = cms.Path(cosmictrackfinderP5Sequence)
00056 globalCosmicMuonsPath = cms.Path(globalCosmicMuonsSequence)
00057 # (SK) keep commented out in case of resurrection
00058 #rsWithMaterialTracksP5Path = cms.Path(rsWithMaterialTracksP5Sequence)
00059 globalCosmicMuons1LegPath = cms.Path(globalCosmicMuons1LegSequence)
00060 # (SK) keep commented out in case of resurrection
00061 #rsWithMaterialTracksP5Path = cms.Path(rsWithMaterialTracksP5Sequence)
00062 
00063 SKIMStreamCosmicSP = cms.FilteredStream(
00064             responsible = '',
00065                     name = 'CosmicSP',
00066                     paths = (cosmicMuonsBarrelOnlyPath,
00067                                               cosmicMuonsPath,
00068                                               cosmicMuons1LegPath,
00069                                               globalCosmicMuonsBarrelOnlyPath,
00070                                               cosmictrackfinderP5Path,
00071                                               globalCosmicMuonsPath,
00072 # (SK) keep commented out in case of resurrection
00073 #                                              rsWithMaterialTracksP5Path,
00074                                               globalCosmicMuons1LegPath
00075 #                             ,
00076 # (SK) keep commented out in case of resurrection
00077 #                                              rsWithMaterialTracksP5Path
00078                              ),
00079                     content = skimContent.outputCommands,
00080                     selectEvents = cms.untracked.PSet(),
00081                     dataTier = cms.untracked.string('RAW-RECO')
00082                     )
00083 
00084 #####################
00085 
00086 from DPGAnalysis.Skims.cosmicTPSkim_cff import *
00087 
00088 cosmicMuonsBarrelOnlyTkPath = cms.Path(cosmicMuonsEndCapsOnlyTkSequence)
00089 cosmicMuonsEndCapsOnlyTkPath = cms.Path(cosmicMuonsTkSequence)
00090 cosmicMuonsTkPath = cms.Path(cosmicMuons1LegTkSequence)
00091 cosmicMuons1LegTkPath = cms.Path(cosmicMuons1LegTkSequence)
00092 globalCosmicMuonsBarrelOnlyTkPath = cms.Path(globalCosmicMuonsBarrelOnlyTkSequence)
00093 globalCosmicMuonsEndCapsOnlyTkPath = cms.Path(globalCosmicMuonsEndCapsOnlyTkSequence)
00094 globalCosmicMuonsTkPath = cms.Path(globalCosmicMuonsTkSequence)
00095 globalCosmicMuons1LegTkPath = cms.Path(globalCosmicMuons1LegTkSequence)
00096 cosmictrackfinderP5TkCntPath = cms.Path(cosmictrackfinderP5TkCntSequence)
00097 ctfWithMaterialTracksP5TkCntPath = cms.Path(ctfWithMaterialTracksP5TkCntSequence)
00098 # (SK) keep commented out in case of resurrection
00099 #rsWithMaterialTracksP5TkCntPath = cms.Path(rsWithMaterialTracksP5TkCntSequence)
00100 
00101 SKIMStreamCosmicTP = cms.FilteredStream(
00102             responsible = '',
00103                     name = 'CosmicTP',
00104                     paths = (cosmicMuonsBarrelOnlyTkPath,
00105                                               cosmicMuonsEndCapsOnlyTkPath,
00106                                               cosmicMuonsTkPath,
00107                                               cosmicMuons1LegTkPath,
00108                                               globalCosmicMuonsBarrelOnlyTkPath,
00109                                               globalCosmicMuonsEndCapsOnlyTkPath,
00110                                               globalCosmicMuonsTkPath,
00111                                               globalCosmicMuons1LegTkPath,
00112                                               cosmictrackfinderP5TkCntPath,
00113                                               ctfWithMaterialTracksP5TkCntPath
00114 #                             ,
00115 # (SK) keep commented out in case of resurrection
00116 #                                              rsWithMaterialTracksP5TkCntPath
00117                              ),
00118                     content = skimContent.outputCommands,
00119                     selectEvents = cms.untracked.PSet(),
00120                     dataTier = cms.untracked.string('RAW-RECO')
00121                     )
00122 """
00123 
00124