Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:39:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # AlCaReco for track based alignment using ZMuMu events (including the tracks from the PV)
0004 OutALCARECOTkAlDiMuonAndVertex_noDrop = cms.PSet(
0005     SelectEvents = cms.untracked.PSet(
0006         SelectEvents = cms.vstring('pathALCARECOTkAlDiMuonAndVertex')
0007     ),
0008     outputCommands = cms.untracked.vstring(
0009         'keep recoTracks_ALCARECOTkAlDiMuon_*_*',
0010         'keep recoTrackExtras_ALCARECOTkAlDiMuon_*_*',
0011         'keep TrackingRecHitsOwned_ALCARECOTkAlDiMuon_*_*',
0012         'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlDiMuon_*_*',
0013         'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuon_*_*',
0014         'keep recoTracks_ALCARECOTkAlDiMuonVertexTracks_*_*',
0015         'keep recoTrackExtras_ALCARECOTkAlDiMuonVertexTracks_*_*',
0016         'keep TrackingRecHitsOwned_ALCARECOTkAlDiMuonVertexTracks_*_*',
0017         'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*',
0018         'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*',
0019         'keep L1AcceptBunchCrossings_*_*_*',
0020         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0021         'keep *_TriggerResults_*_*',
0022         'keep DcsStatuss_scalersRawToDigi_*_*',
0023         'keep *_offlinePrimaryVertices_*_*')
0024 )
0025 
0026 # in Phase2, remove the SiStrip clusters and keep the OT ones instead
0027 _phase2_common_removedCommands = OutALCARECOTkAlDiMuonAndVertex_noDrop.outputCommands.copy()
0028 _phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuon_*_*')
0029 _phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*')
0030 
0031 _phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlDiMuon_*_*',
0032                                 'keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*']
0033 
0034 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0035 phase2_common.toModify(OutALCARECOTkAlDiMuonAndVertex_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands )
0036 
0037 OutALCARECOTkAlDiMuonAndVertex = OutALCARECOTkAlDiMuonAndVertex_noDrop.clone()
0038 OutALCARECOTkAlDiMuonAndVertex.outputCommands.insert(0, "drop *")