Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.EventContent.EventContentCosmics_cff import FEVTEventContent
0004 skimContent = FEVTEventContent.clone()
0005 skimContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
0006 skimContent.outputCommands.append("drop *_*_*_SKIM")
0007 
0008 ############ Import LogError and LogErrorMonitor skims defined in Skims_DPG_cff.py
0009 from DPGAnalysis.Skims.logErrorSkim_cff import *
0010 from DPGAnalysis.Skims.Skims_DPG_cff import pathlogerror,SKIMStreamLogError
0011 from DPGAnalysis.Skims.Skims_DPG_cff import pathlogerrormonitor,SKIMStreamLogErrorMonitor
0012 
0013 ############
0014 
0015 from DPGAnalysis.Skims.cosmicSPSkim_cff import *
0016 
0017 cosmicMuonsBarrelOnlyPath = cms.Path(cosmicMuonsBarrelOnlySequence)
0018 cosmicMuonsPath = cms.Path(cosmicMuonsSequence)
0019 cosmicMuons1LegPath = cms.Path(cosmicMuons1LegSequence)
0020 globalCosmicMuonsBarrelOnlyPath = cms.Path(globalCosmicMuonsBarrelOnlySequence)
0021 cosmictrackfinderP5Path = cms.Path(cosmictrackfinderP5Sequence)
0022 globalCosmicMuonsPath = cms.Path(globalCosmicMuonsSequence)
0023 globalCosmicMuons1LegPath = cms.Path(globalCosmicMuons1LegSequence)
0024 
0025 SKIMStreamCosmicSP = cms.FilteredStream(
0026             responsible = 'MU-POG TRK-DPG',
0027                     name = 'CosmicSP',
0028                     paths = (cosmicMuonsBarrelOnlyPath,
0029                                               cosmicMuonsPath,
0030                                               cosmicMuons1LegPath,
0031                                               globalCosmicMuonsBarrelOnlyPath,
0032                                               cosmictrackfinderP5Path,
0033                                               globalCosmicMuonsPath,
0034                                               globalCosmicMuons1LegPath
0035 
0036                              ),
0037                     content = skimContent.outputCommands,
0038                     selectEvents = cms.untracked.PSet(),
0039                     dataTier = cms.untracked.string('RAW-RECO')
0040                     )
0041 
0042 from DPGAnalysis.Skims.cosmicTPSkim_cff import *
0043 
0044 cosmicMuonsBarrelOnlyTkPath = cms.Path(cosmicMuonsEndCapsOnlyTkSequence)
0045 cosmicMuonsEndCapsOnlyTkPath = cms.Path(cosmicMuonsTkSequence)
0046 cosmicMuonsTkPath = cms.Path(cosmicMuons1LegTkSequence)
0047 cosmicMuons1LegTkPath = cms.Path(cosmicMuons1LegTkSequence)
0048 globalCosmicMuonsBarrelOnlyTkPath = cms.Path(globalCosmicMuonsBarrelOnlyTkSequence)
0049 globalCosmicMuonsEndCapsOnlyTkPath = cms.Path(globalCosmicMuonsEndCapsOnlyTkSequence)
0050 globalCosmicMuonsTkPath = cms.Path(globalCosmicMuonsTkSequence)
0051 globalCosmicMuons1LegTkPath = cms.Path(globalCosmicMuons1LegTkSequence)
0052 cosmictrackfinderP5TkCntPath = cms.Path(cosmictrackfinderP5TkCntSequence)
0053 ctfWithMaterialTracksP5TkCntPath = cms.Path(ctfWithMaterialTracksP5TkCntSequence)
0054 # (SK) keep commented out in case of resurrection
0055 #rsWithMaterialTracksP5TkCntPath = cms.Path(rsWithMaterialTracksP5TkCntSequence)
0056 
0057 SKIMStreamCosmicTP = cms.FilteredStream(
0058             responsible = 'DDT',
0059                     name = 'CosmicTP',
0060                     paths = (cosmicMuonsBarrelOnlyTkPath,
0061                                               cosmicMuonsEndCapsOnlyTkPath,
0062                                               cosmicMuonsTkPath,
0063                                               cosmicMuons1LegTkPath,
0064                                               globalCosmicMuonsBarrelOnlyTkPath,
0065                                               globalCosmicMuonsEndCapsOnlyTkPath,
0066                                               globalCosmicMuonsTkPath,
0067                                               globalCosmicMuons1LegTkPath,
0068                                               cosmictrackfinderP5TkCntPath,
0069                                               ctfWithMaterialTracksP5TkCntPath
0070 #                             ,
0071 # (SK) keep commented out in case of resurrection
0072 #                                              rsWithMaterialTracksP5TkCntPath
0073                              ),
0074                     content = skimContent.outputCommands,
0075                     selectEvents = cms.untracked.PSet(),
0076                     dataTier = cms.untracked.string('RAW-RECO')
0077                     )
0078 
0079 """
0080 from DPGAnalysis.Skims.cscSkim_cff import *
0081 from DPGAnalysis.Skims.Skims_DPG_cff import pathCSCSkim,SKIMStreamCSC
0082 
0083 
0084 
0085 
0086 from DPGAnalysis.Skims.cosmicSPSkim_cff import *
0087 
0088 cosmicMuonsBarrelOnlyPath = cms.Path(cosmicMuonsBarrelOnlySequence)
0089 cosmicMuonsPath = cms.Path(cosmicMuonsSequence)
0090 cosmicMuons1LegPath = cms.Path(cosmicMuons1LegSequence)
0091 globalCosmicMuonsBarrelOnlyPath = cms.Path(globalCosmicMuonsBarrelOnlySequence)
0092 cosmictrackfinderP5Path = cms.Path(cosmictrackfinderP5Sequence)
0093 globalCosmicMuonsPath = cms.Path(globalCosmicMuonsSequence)
0094 # (SK) keep commented out in case of resurrection
0095 #rsWithMaterialTracksP5Path = cms.Path(rsWithMaterialTracksP5Sequence)
0096 globalCosmicMuons1LegPath = cms.Path(globalCosmicMuons1LegSequence)
0097 # (SK) keep commented out in case of resurrection
0098 #rsWithMaterialTracksP5Path = cms.Path(rsWithMaterialTracksP5Sequence)
0099 
0100 SKIMStreamCosmicSP = cms.FilteredStream(
0101             responsible = '',
0102                     name = 'CosmicSP',
0103                     paths = (cosmicMuonsBarrelOnlyPath,
0104                                               cosmicMuonsPath,
0105                                               cosmicMuons1LegPath,
0106                                               globalCosmicMuonsBarrelOnlyPath,
0107                                               cosmictrackfinderP5Path,
0108                                               globalCosmicMuonsPath,
0109 # (SK) keep commented out in case of resurrection
0110 #                                              rsWithMaterialTracksP5Path,
0111                                               globalCosmicMuons1LegPath
0112 #                             ,
0113 # (SK) keep commented out in case of resurrection
0114 #                                              rsWithMaterialTracksP5Path
0115                              ),
0116                     content = skimContent.outputCommands,
0117                     selectEvents = cms.untracked.PSet(),
0118                     dataTier = cms.untracked.string('RAW-RECO')
0119                     )
0120 
0121 #####################
0122 """