1 import FWCore.ParameterSet.Config
as cms
4 OutALCARECOTkAlV0s_noDrop = cms.PSet(
5 SelectEvents = cms.untracked.PSet(
6 SelectEvents = cms.vstring(
'pathALCARECOTkAlK0s',
7 'pathALCARECOTkAlLambdas')
9 outputCommands = cms.untracked.vstring(
10 'keep recoTracks_ALCARECOTkAlKShortTracks_*_*',
11 'keep recoTrackExtras_ALCARECOTkAlKShortTracks_*_*',
12 'keep TrackingRecHitsOwned_ALCARECOTkAlKShortTracks_*_*',
13 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlKShortTracks_*_*',
14 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlKShortTracks_*_*',
15 'keep recoTracks_ALCARECOTkAlLambdaTracks_*_*',
16 'keep recoTrackExtras_ALCARECOTkAlLambdaTracks_*_*',
17 'keep TrackingRecHitsOwned_ALCARECOTkAlLambdaTracks_*_*',
18 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlLambdaTracks_*_*',
19 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlLambdaTracks_*_*',
20 'keep *_generalV0Candidates_*_*',
21 'keep L1AcceptBunchCrossings_*_*_*',
22 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
23 'keep *_TriggerResults_*_*',
24 'keep DcsStatuss_scalersRawToDigi_*_*',
25 'keep *_offlinePrimaryVertices_*_*',
26 'keep *_offlineBeamSpot_*_*')
31 _run3_common_removedCommands = OutALCARECOTkAlV0s_noDrop.outputCommands.copy()
32 _run3_common_removedCommands.remove(
'keep DcsStatuss_scalersRawToDigi_*_*')
34 _run3_common_extraCommands = [
'keep DCSRecord_onlineMetaDataDigis_*_*',
35 'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*']
37 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
38 run3_common.toModify(OutALCARECOTkAlV0s_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
41 _phase2_common_removedCommands = OutALCARECOTkAlV0s_noDrop.outputCommands.copy()
42 _phase2_common_removedCommands.remove(
'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlKShortTracks_*_*')
43 _phase2_common_removedCommands.remove(
'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlLambdaTracks_*_*')
45 _phase2_common_extraCommands = [
'keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlKShortTracks_*_*',
46 'keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlLambdaTracks_*_*']
48 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
49 phase2_common.toModify(OutALCARECOTkAlV0s_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands )
51 OutALCARECOTkAlV0s = OutALCARECOTkAlV0s_noDrop.clone()
52 OutALCARECOTkAlV0s.outputCommands.insert(0,
"drop *")