CMS 3D CMS Logo

ALCARECOTkAlV0s_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 MinBias events
4 OutALCARECOTkAlV0s_noDrop = cms.PSet(
5  SelectEvents = cms.untracked.PSet(
6  SelectEvents = cms.vstring('pathALCARECOTkAlK0s',
7  'pathALCARECOTkAlLambdas')
8  ),
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_*_*')
27 )
28 
29 # in Run3, SCAL digis replaced by onlineMetaDataDigis
30 import copy
31 _run3_common_removedCommands = OutALCARECOTkAlV0s_noDrop.outputCommands.copy()
32 _run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*')
33 
34 _run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*',
35  'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*']
36 
37 from Configuration.Eras.Modifier_run3_common_cff import run3_common
38 run3_common.toModify(OutALCARECOTkAlV0s_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
39 
40 # in Phase2, remove the SiStrip clusters and keep the OT ones instead
41 _phase2_common_removedCommands = OutALCARECOTkAlV0s_noDrop.outputCommands.copy()
42 _phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlKShortTracks_*_*')
43 _phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlLambdaTracks_*_*')
44 
45 _phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlKShortTracks_*_*',
46  'keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlLambdaTracks_*_*']
47 
48 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
49 phase2_common.toModify(OutALCARECOTkAlV0s_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands )
50 
51 OutALCARECOTkAlV0s = OutALCARECOTkAlV0s_noDrop.clone()
52 OutALCARECOTkAlV0s.outputCommands.insert(0, "drop *")