CMS 3D CMS Logo

ALCARECOTkAlMinBiasHI_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 OutALCARECOTkAlMinBiasHI_noDrop = cms.PSet(
5  SelectEvents = cms.untracked.PSet(
6  SelectEvents = cms.vstring('pathALCARECOTkAlMinBiasHI')
7  ),
8  outputCommands = cms.untracked.vstring(
9  'keep recoTracks_ALCARECOTkAlMinBiasHI_*_*',
10  'keep recoTrackExtras_ALCARECOTkAlMinBiasHI_*_*',
11  'keep TrackingRecHitsOwned_ALCARECOTkAlMinBiasHI_*_*',
12  'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlMinBiasHI_*_*',
13  'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMinBiasHI_*_*',
14  'keep L1AcceptBunchCrossings_*_*_*',
15  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
16  'keep *_TriggerResults_*_*',
17  'keep DcsStatuss_scalersRawToDigi_*_*',
18  'keep *_hiSelectedVertex_*_*',
19  'keep *_offlineBeamSpot_*_*')
20 )
21 
22 # in Run3, SCAL digis replaced by onlineMetaDataDigis
23 import copy
24 _run3_common_removedCommands = OutALCARECOTkAlMinBiasHI_noDrop.outputCommands.copy()
25 _run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*')
26 
27 _run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*']
28 
29 from Configuration.Eras.Modifier_run3_common_cff import run3_common
30 run3_common.toModify(OutALCARECOTkAlMinBiasHI_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
31 
32 # in Phase2, remove the SiStrip clusters and keep the OT ones instead
33 _phase2_common_removedCommands = OutALCARECOTkAlMinBiasHI_noDrop.outputCommands.copy()
34 _phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMinBiasHI_*_*')
35 
36 _phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlMinBiasHI_*_*']
37 
38 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
39 phase2_common.toModify(OutALCARECOTkAlMinBiasHI_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands )
40 
41 OutALCARECOTkAlMinBiasHI = copy.deepcopy(OutALCARECOTkAlMinBiasHI_noDrop)
42 OutALCARECOTkAlMinBiasHI.outputCommands.insert(0, "drop *")