1 import FWCore.ParameterSet.Config
as cms
4 OutALCARECOTkAlJpsiMuMu_noDrop = cms.PSet(
5 SelectEvents = cms.untracked.PSet(
6 SelectEvents = cms.vstring(
'pathALCARECOTkAlJpsiMuMu')
8 outputCommands = cms.untracked.vstring(
9 'keep recoTracks_ALCARECOTkAlJpsiMuMu_*_*',
10 'keep recoTrackExtras_ALCARECOTkAlJpsiMuMu_*_*',
11 'keep TrackingRecHitsOwned_ALCARECOTkAlJpsiMuMu_*_*',
12 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlJpsiMuMu_*_*',
13 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlJpsiMuMu_*_*',
14 'keep L1AcceptBunchCrossings_*_*_*',
15 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
16 'keep *_TriggerResults_*_*',
17 'keep DcsStatuss_scalersRawToDigi_*_*',
18 'keep *_offlinePrimaryVertices_*_*')
25 OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands.extend(GeneratorInterfaceAOD.outputCommands)
26 _modifiedCommandsForGEN = OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands.copy()
27 _modifiedCommandsForGEN.remove(
'keep *_genParticles_*_*')
28 _modifiedCommandsForGEN.append(
'keep *_TkAlJpsiMuMuGenMuonSelector_*_*')
29 OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands = _modifiedCommandsForGEN
31 OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands.extend(SimGeneralAOD.outputCommands)
35 _run3_common_removedCommands = OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands.copy()
36 _run3_common_removedCommands.remove(
'keep DcsStatuss_scalersRawToDigi_*_*')
38 _run3_common_extraCommands = [
'keep DCSRecord_onlineMetaDataDigis_*_*']
40 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
41 run3_common.toModify(OutALCARECOTkAlJpsiMuMu_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
44 _phase2_common_removedCommands = OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands.copy()
45 _phase2_common_removedCommands.remove(
'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlJpsiMuMu_*_*')
47 _phase2_common_extraCommands = [
'keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlJpsiMuMu_*_*']
49 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
50 phase2_common.toModify(OutALCARECOTkAlJpsiMuMu_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands )
52 OutALCARECOTkAlJpsiMuMu = OutALCARECOTkAlJpsiMuMu_noDrop.clone()
53 OutALCARECOTkAlJpsiMuMu.outputCommands.insert(0,
"drop *")