CMS 3D CMS Logo

ALCARECOTkAlMuonIsolatedPA_Output_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # AlCaReco for track based alignment using MuonIsolated events
4 OutALCARECOTkAlMuonIsolatedPA_noDrop = cms.PSet(
5  SelectEvents = cms.untracked.PSet(
6  SelectEvents = cms.vstring('pathALCARECOTkAlMuonIsolatedPA')
7  ),
8  outputCommands = cms.untracked.vstring(
9  'keep recoTracks_ALCARECOTkAlMuonIsolatedPA_*_*',
10  'keep recoTrackExtras_ALCARECOTkAlMuonIsolatedPA_*_*',
11  'keep TrackingRecHitsOwned_ALCARECOTkAlMuonIsolatedPA_*_*',
12  'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolatedPA_*_*',
13  'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolatedPA_*_*',
14  'keep L1AcceptBunchCrossings_*_*_*',
15  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
16  'keep *_TriggerResults_*_*',
17  'keep DcsStatuss_scalersRawToDigi_*_*',
18  'keep *_offlinePrimaryVertices_*_*')
19 )
20 
21 import copy
22 _run3_common_removedCommands = OutALCARECOTkAlMuonIsolatedPA_noDrop.outputCommands.copy()
23 _run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*')
24 
25 _run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*',
26  'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*']
27 
28 from Configuration.Eras.Modifier_run3_common_cff import run3_common
29 run3_common.toModify(OutALCARECOTkAlMuonIsolatedPA_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
30 
31 # in Phase2, remove the SiStrip clusters and keep the OT ones instead
32 _phase2_common_removedCommands = OutALCARECOTkAlMuonIsolatedPA_noDrop.outputCommands.copy()
33 _phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolatedPA_*_*')
34 
35 _phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlMuonIsolatedPA_*_*']
36 
37 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
38 phase2_common.toModify(OutALCARECOTkAlMuonIsolatedPA_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands )
39 
40 OutALCARECOTkAlMuonIsolatedPA = copy.deepcopy(OutALCARECOTkAlMuonIsolatedPA_noDrop)
41 OutALCARECOTkAlMuonIsolatedPA.outputCommands.insert(0, "drop *")