1 import FWCore.ParameterSet.Config
as cms
4 OutALCARECOTkAlDiMuonAndVertex_noDrop = cms.PSet(
5 SelectEvents = cms.untracked.PSet(
6 SelectEvents = cms.vstring(
'pathALCARECOTkAlDiMuonAndVertex')
8 outputCommands = cms.untracked.vstring(
9 'keep recoTracks_ALCARECOTkAlDiMuon_*_*',
10 'keep recoTrackExtras_ALCARECOTkAlDiMuon_*_*',
11 'keep TrackingRecHitsOwned_ALCARECOTkAlDiMuon_*_*',
12 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlDiMuon_*_*',
13 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuon_*_*',
14 'keep recoTracks_ALCARECOTkAlDiMuonVertexTracks_*_*',
15 'keep recoTrackExtras_ALCARECOTkAlDiMuonVertexTracks_*_*',
16 'keep TrackingRecHitsOwned_ALCARECOTkAlDiMuonVertexTracks_*_*',
17 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*',
18 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*',
19 'keep L1AcceptBunchCrossings_*_*_*',
20 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
21 'keep *_TriggerResults_*_*',
22 'keep DcsStatuss_scalersRawToDigi_*_*',
23 'keep *_offlinePrimaryVertices_*_*')
30 OutALCARECOTkAlDiMuonAndVertex_noDrop.outputCommands.extend(GeneratorInterfaceAOD.outputCommands)
31 _modifiedCommandsForGEN = OutALCARECOTkAlDiMuonAndVertex_noDrop.outputCommands.copy()
32 _modifiedCommandsForGEN.remove(
'keep *_genParticles_*_*')
33 _modifiedCommandsForGEN.append(
'keep *_TkAlDiMuonAndVertexGenMuonSelector_*_*')
34 OutALCARECOTkAlDiMuonAndVertex_noDrop.outputCommands = _modifiedCommandsForGEN
36 OutALCARECOTkAlDiMuonAndVertex_noDrop.outputCommands.extend(SimGeneralAOD.outputCommands)
39 _phase2_common_removedCommands = OutALCARECOTkAlDiMuonAndVertex_noDrop.outputCommands.copy()
40 _phase2_common_removedCommands.remove(
'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuon_*_*')
41 _phase2_common_removedCommands.remove(
'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*')
43 _phase2_common_extraCommands = [
'keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlDiMuon_*_*',
44 'keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*']
46 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
47 phase2_common.toModify(OutALCARECOTkAlDiMuonAndVertex_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands )
49 OutALCARECOTkAlDiMuonAndVertex = OutALCARECOTkAlDiMuonAndVertex_noDrop.clone()
50 OutALCARECOTkAlDiMuonAndVertex.outputCommands.insert(0,
"drop *")