Skip to content

Commit

Permalink
Merge pull request #43689 from mmusich/mm_dev_introducePhase2Cosmics_…
Browse files Browse the repository at this point in the history
…14_0_X

Introduce wf 7.5 (phase-2 cosmics D98) and necessary mods to make it run
  • Loading branch information
cmsbuild authored Jan 25, 2024
2 parents 10eeb5f + 27e1812 commit 203834e
Show file tree
Hide file tree
Showing 12 changed files with 221 additions and 39 deletions.
19 changes: 19 additions & 0 deletions Configuration/EventContent/python/EventContentCosmics_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,17 @@
RAWSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
RAWSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
RAWSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)

#
# Temporary collections needed for Phase-2 RECO using RAWSIM as input in Prod-like workflow
# They are until packer/unpackers are done.
#
from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
phase2_common.toModify(RAWSIMEventContent,
outputCommands = RAWSIMEventContent.outputCommands+[
'keep *_sim*Digis_*_*',
'keep *Phase2TrackerDigi*_*_*_*'])

#
#
# RECOSIM Data Tier definition
Expand Down Expand Up @@ -205,6 +216,14 @@
FEVTEventContent.outputCommands.extend(OnlineMetaDataContent.outputCommands)
FEVTEventContent.outputCommands.extend(TcdsEventContent.outputCommands)

phase2_tracker.toModify(FEVTEventContent,
outputCommands = FEVTEventContent.outputCommands + [
'keep Phase2TrackerDigiedmDetSetVector_mix_*_*',
'keep *_TTClustersFromPhase2TrackerDigis_*_*',
'keep *_TTStubsFromPhase2TrackerDigis_*_*',
'keep *_TrackerDTC_*_*',
'keep *_*_Level1TTTracks_*'])

#replace FEVTEventContent.outputCommands += HLTriggerFEVT.outputCommands
FEVTHLTALLEventContent = cms.PSet(
outputCommands = cms.untracked.vstring('drop *'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@
workflows[7.24] = ['', ['Cosmics_UP21_0T','DIGICOS_UP21_0T','RECOCOS_UP21_0T','ALCACOS_UP21_0T','HARVESTCOS_UP21_0T']]#2021 0T
workflows[7.3] = ['CosmicsSPLoose2018', ['CosmicsSPLoose_UP18','DIGICOS_UP18','RECOCOS_UP18','ALCACOS_UP18','HARVESTCOS_UP18']]
workflows[7.4] = ['CosmicsPEAK2018', ['Cosmics_UP18','DIGICOSPEAK_UP18','RECOCOSPEAK_UP18','ALCACOS_UP18','HARVESTCOS_UP18']]
workflows[7.5] = ['', ['Cosmics_Phase2','DIGICOS_Phase2','RECOCOS_Phase2']] #,'ALCACOS_Phase2','HARVESTCOS_Phase2']] inactive at the moment

workflows[8] = ['', ['BeamHalo','DIGICOS','RECOCOS','ALCABH','HARVESTCOS']]
workflows[8.1] = ['', ['BeamHalo_UP18','DIGICOS_UP18','RECOCOS_UP18','ALCABH_UP18','HARVESTCOS_UP18']]
Expand Down
44 changes: 42 additions & 2 deletions Configuration/PyReleaseValidation/python/relval_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,19 @@ def genS(fragment,howMuch):
steps['Cosmics_UP21_0T']=merge([{'--magField':'0T','--conditions':'auto:phase1_2022_cosmics_0T'},steps['Cosmics_UP21']])
steps['CosmicsSPLoose_UP17']=merge([{'cfg':'UndergroundCosmicSPLooseMu_cfi.py','-n':'2000','--conditions':'auto:phase1_2017_cosmics','--scenario':'cosmics','--era':'Run2_2017'},Kby(5000,500000),step1Up2015Defaults])
steps['CosmicsSPLoose_UP18']=merge([{'cfg':'UndergroundCosmicSPLooseMu_cfi.py','-n':'2000','--conditions':'auto:phase1_2018_cosmics','--scenario':'cosmics','--era':'Run2_2018'},Kby(5000,500000),step1Up2015Defaults])

# Phase2 cosmics with geometry D98
from Configuration.PyReleaseValidation.upgradeWorkflowComponents import upgradeProperties
phase2CosInfo=upgradeProperties[2026]['2026D98'] # so if the default changes, change wf only here

steps['Cosmics_Phase2']=merge([{'cfg':'UndergroundCosmicMu_cfi.py',
'-n':'500',
'--conditions': phase2CosInfo['GT'],
'--scenario':'cosmics',
'--era': phase2CosInfo['Era'],
'--geometry': phase2CosInfo['Geom'],
'--beamspot':'HLLHC14TeV'},Kby(666,100000),step1Defaults])

steps['BeamHalo']=merge([{'cfg':'BeamHalo_cfi.py','--scenario':'cosmics'},Kby(9,100),step1Defaults])
steps['BeamHalo_13']=merge([{'cfg':'BeamHalo_13TeV_cfi.py','--scenario':'cosmics'},Kby(9,100),step1Up2015Defaults])
steps['BeamHalo_UP18']=merge([{'cfg':'BeamHalo_13TeV_cfi.py','-n':'500','--conditions':'auto:phase1_2018_cosmics','--scenario':'cosmics','--era':'Run2_2018','--beamspot':'Realistic25ns13TeVEarly2018Collision'},Kby(666,100000),step1Defaults])
Expand Down Expand Up @@ -1882,6 +1895,14 @@ def lhegensim2018ml(fragment,howMuch):
steps['DIGICOSPEAK_UP17']=merge([{'--conditions':'auto:phase1_2017_cosmics_peak','-s':'DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@relval2017','--customise_commands': '"process.mix.digitizers.strip.APVpeakmode=cms.bool(True)"','--scenario':'cosmics','--eventcontent':'FEVTDEBUG','--datatier':'GEN-SIM-DIGI-RAW', '--era' : 'Run2_2017'},step2Upg2015Defaults])
steps['DIGICOSPEAK_UP18']=merge([{'--conditions':'auto:phase1_2018_cosmics_peak','-s':'DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@relval2018','--customise_commands': '"process.mix.digitizers.strip.APVpeakmode=cms.bool(True)"','--scenario':'cosmics','--eventcontent':'FEVTDEBUG','--datatier':'GEN-SIM-DIGI-RAW', '--era' : 'Run2_2018'},step2Upg2015Defaults])

steps['DIGICOS_Phase2']=merge([{'--conditions': phase2CosInfo['GT'],
'-s':'DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@fake2',
'--scenario':'cosmics',
'--eventcontent':'FEVTDEBUG',
'--datatier':'GEN-SIM-DIGI-RAW',
'--era' : phase2CosInfo['Era'],
'--geometry': phase2CosInfo['Geom']},step2Upg2015Defaults])

steps['DIGIPU1']=merge([PU,step2Defaults])
steps['DIGIPU2']=merge([PU2,step2Defaults])
steps['REDIGIPU']=merge([{'-s':'reGEN,reDIGI,L1,DIGI2RAW,HLT:@fake'},steps['DIGIPU1']])
Expand Down Expand Up @@ -2906,7 +2927,11 @@ def gen2023HiMix(fragment,howMuch):
steps['RECOCOS_UP21_0T']=merge([{'--magField':'0T','--conditions':'auto:phase1_2022_cosmics_0T'},steps['RECOCOS_UP21']])
steps['RECOCOSPEAK_UP17']=merge([{'--conditions':'auto:phase1_2017_cosmics_peak','-s':'RAW2DIGI,L1Reco,RECO,ALCA:MuAlGlobalCosmics,DQM','--scenario':'cosmics','--era':'Run2_2017'},step3Up2015Hal])
steps['RECOCOSPEAK_UP18']=merge([{'--conditions':'auto:phase1_2018_cosmics_peak','-s':'RAW2DIGI,L1Reco,RECO,ALCA:MuAlGlobalCosmics,DQM','--scenario':'cosmics','--era':'Run2_2018'},step3Up2015Hal])

steps['RECOCOS_Phase2']=merge([{'--conditions': phase2CosInfo['GT'],
'-s':'RAW2DIGI,L1Reco,RECO,ALCA:MuAlGlobalCosmics',
'--scenario':'cosmics',
'--era': phase2CosInfo['Era'],
'--geometry': phase2CosInfo['Geom']},step3Up2015Hal]) # DQM step excluded for the moment

steps['RECOMIN']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,RECOSIM,ALCA:SiStripCalZeroBias+SiStripCalMinBias,VALIDATION,DQM'},stCond,step3Defaults])
steps['RECOMINUP15']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,RECOSIM,ALCA:SiStripCalZeroBias+SiStripCalMinBias,VALIDATION,DQM'},step3Up2015Defaults])
Expand Down Expand Up @@ -3249,6 +3274,11 @@ def gen2023HiMix(fragment,howMuch):
steps['ALCACOSDPROMPTRUN3']=merge([{'--conditions':'auto:run3_data_prompt','--era':'Run3','-s':'ALCA:SiPixelCalCosmics+TkAlCosmics0T+SiStripCalCosmics+SiStripCalCosmicsNano+MuAlGlobalCosmics+HcalCalHOCosmics+DQM'},steps['ALCACOSD']])
steps['ALCACOSDEXPRUN3']=merge([{'--conditions':'auto:run3_data_express','--era':'Run3','-s':'ALCA:SiPixelCalCosmics+TkAlCosmics0T+SiStripCalCosmics+SiStripCalCosmicsNano+MuAlGlobalCosmics+HcalCalHOCosmics+DQM'},steps['ALCACOSD']])

steps['ALCACOS_Phase2']=merge([{'--conditions': phase2CosInfo['GT'],
'--era': phase2CosInfo['Era'],
'-s':'ALCA:SiPixelCalCosmics+TkAlCosmics0T+DQM',
'--geometry': phase2CosInfo['Geom']},steps['ALCACOSD']])

steps['ALCAPROMPT']={'-s':'ALCA:PromptCalibProd',
'--filein':'file:TkAlMinBias.root',
'--conditions':'auto:run1_data',
Expand Down Expand Up @@ -3741,6 +3771,16 @@ def gen2023HiMix(fragment,howMuch):

steps['HARVESTCOS_UP21_0T']=merge([{'--magField':'0T','--conditions':'auto:phase1_2022_cosmics_0T'},steps['HARVESTCOS_UP21']])

steps['HARVESTCOS_Phase2']={'-s' : 'HARVESTING:@cosmics',
'--conditions': phase2CosInfo['GT'],
'--mc' : '',
'--filein' : 'file:step3_inDQM.root',
'--scenario' : 'cosmics',
'--filetype' : 'DQM',
'--era' : phase2CosInfo['Era'],
'--geometry' : phase2CosInfo['Geom']
}

steps['HARVESTFS']={'-s':'HARVESTING:validationHarvestingFS',
'--conditions':'auto:run1_mc',
'--mc':'',
Expand Down Expand Up @@ -4130,7 +4170,7 @@ def gen2023HiMix(fragment,howMuch):
###
#################################################################################

from Configuration.PyReleaseValidation.upgradeWorkflowComponents import *
from Configuration.PyReleaseValidation.upgradeWorkflowComponents import *

# imported from above, only non-empty values should be provided here
defaultDataSets['2017']='CMSSW_12_0_0_pre4-113X_mc2017_realistic_v5-v'
Expand Down
9 changes: 9 additions & 0 deletions Configuration/StandardSequences/python/DigiCosmics_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,12 @@
pdigi = cms.Sequence(pdigiTask)
pdigi_valid = cms.Sequence(pdigiTask)

#phase 2 common mods
def _modifyEnableHcalHardcode( theProcess ):
from CalibCalorimetry.HcalPlugins.Hcal_Conditions_forGlobalTag_cff import hcal_db_producer as _hcal_db_producer, es_hardcode as _es_hardcode, es_prefer_hcalHardcode as _es_prefer_hcalHardcode
theProcess.hcal_db_producer = _hcal_db_producer
theProcess.es_hardcode = _es_hardcode
theProcess.es_prefer_hcalHardcode = _es_prefer_hcalHardcode

from Configuration.Eras.Modifier_hcalHardcodeConditions_cff import hcalHardcodeConditions
modifyEnableHcalHardcode_ = hcalHardcodeConditions.makeProcessModifier( _modifyEnableHcalHardcode )
55 changes: 42 additions & 13 deletions Configuration/StandardSequences/python/ReconstructionCosmics_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#
from RecoLocalCalo.Configuration.RecoLocalCalo_Cosmics_cff import *
from RecoEcal.Configuration.RecoEcalCosmics_cff import *
from RecoHGCal.Configuration.recoHGCAL_cff import *

#
# muons
#
Expand All @@ -44,39 +46,61 @@

# local reco
trackerCosmicsTask = cms.Task(offlineBeamSpot,trackerlocalrecoTask,MeasurementTrackerEvent,tracksP5Task)

# ugly hack: for the time being remove tracking (no Cosmics seeding in Phase-2)
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
phase2_tracker.toReplaceWith(trackerCosmicsTask,trackerCosmicsTask.copyAndExclude([tracksP5Task]))

trackerCosmics = cms.Sequence(trackerCosmicsTask)
caloCosmicsTask = cms.Task(calolocalrecoTaskCosmics,ecalClustersCosmicsTask)
caloCosmics = cms.Sequence(caloCosmicsTask)
caloCosmics_HcalNZSTask = cms.Task(calolocalrecoTaskCosmicsNZS,ecalClustersCosmicsTask)
caloCosmics_HcalNZS = cms.Sequence(caloCosmics_HcalNZSTask)
muonsLocalRecoCosmicsTask = cms.Task(muonlocalrecoTask,muonlocalrecoT0SegTask)
muonsLocalRecoCosmics = cms.Sequence(muonsLocalRecoCosmicsTask)
localReconstructionCosmicsTask = cms.Task(bunchSpacingProducer,trackerCosmicsTask,caloCosmicsTask,muonsLocalRecoCosmicsTask,vertexrecoCosmicsTask)
#phase2_tracker.toReplaceWith(localReconstructionCosmicsTask,localReconstructionCosmicsTask.copyAndExclude([vertexrecoCosmicsTask]))

localReconstructionCosmicsTask = cms.Task(bunchSpacingProducer,trackerCosmicsTask,caloCosmicsTask,muonsLocalRecoCosmicsTask,vertexrecoCosmicsTask)
localReconstructionCosmics = cms.Sequence(localReconstructionCosmicsTask)
localReconstructionCosmics_HcalNZSTask = cms.Task(bunchSpacingProducer,trackerCosmicsTask,caloCosmics_HcalNZSTask,muonsLocalRecoCosmicsTask,vertexrecoCosmicsTask)
localReconstructionCosmics_HcalNZS = cms.Sequence(localReconstructionCosmics_HcalNZSTask)


# global reco
muonsCosmicsTask = cms.Task(muonRecoGRTask)
jetsCosmicsTask = cms.Task(recoCaloTowersGRTask,recoJetsGRTask)
egammaCosmicsTask = cms.Task(egammarecoGlobal_cosmicsTask,egammarecoCosmics_woElectronsTask)


from FWCore.Modules.logErrorHarvester_cfi import *

reconstructionCosmicsTask = cms.Task(localReconstructionCosmicsTask,
beamhaloTracksTask,
jetsCosmicsTask,
muonsCosmicsTask,
regionalCosmicTracksTask,
cosmicDCTracksSeqTask,
metrecoCosmicsTask,
egammaCosmicsTask,
logErrorHarvester)

reconstructionCosmicsTask = cms.Task(localReconstructionCosmicsTask,
beamhaloTracksTask,
jetsCosmicsTask,
muonsCosmicsTask,
regionalCosmicTracksTask,
cosmicDCTracksSeqTask,
metrecoCosmicsTask,
egammaCosmicsTask,
logErrorHarvester)
reconstructionCosmics = cms.Sequence(reconstructionCosmicsTask)
# ugly hack
# for the time being remove all tasks related to tracking
phase2_tracker.toReplaceWith(reconstructionCosmicsTask,reconstructionCosmicsTask.copyAndExclude([beamhaloTracksTask,
cosmicDCTracksSeqTask,
regionalCosmicTracksTask,
metrecoCosmicsTask,
muonsCosmicsTask]))

from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
_phase2HGALRecoTask = reconstructionCosmicsTask.copy()
_phase2HGALRecoTask.add(iterTICLTask)
phase2_hgcal.toReplaceWith(reconstructionCosmicsTask, _phase2HGALRecoTask)

from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
_phase2HFNoseRecoTask = reconstructionCosmicsTask.copy()
_phase2HFNoseRecoTask.add(iterHFNoseTICLTask)
phase2_hfnose.toReplaceWith(reconstructionCosmicsTask, _phase2HFNoseRecoTask)

reconstructionCosmics = cms.Sequence(reconstructionCosmicsTask)
#logErrorHarvester should only wait for items produced in the reconstructionCosmics sequence
_modulesInReconstruction = list()
reconstructionCosmics.visit(cms.ModuleNamesFromGlobalsVisitor(globals(),_modulesInReconstruction))
Expand All @@ -91,12 +115,17 @@
metrecoCosmicsTask,
egammaCosmicsTask,
logErrorHarvester)

phase2_tracker.toReplaceWith(reconstructionCosmics_HcalNZSTask,reconstructionCosmics_HcalNZSTask.copyAndExclude([beamhaloTracksTask,cosmicDCTracksSeqTask,regionalCosmicTracksTask]))
reconstructionCosmics_HcalNZS = cms.Sequence(reconstructionCosmics_HcalNZSTask)

reconstructionCosmics_woTkBHMTask = cms.Task(localReconstructionCosmicsTask,
jetsCosmicsTask,
muonsCosmicsTask,
regionalCosmicTracksTask,
cosmicDCTracksSeqTask,
metrecoCosmicsTask,
egammaCosmicsTask)

phase2_tracker.toReplaceWith(reconstructionCosmics_woTkBHMTask,reconstructionCosmics_woTkBHMTask.copyAndExclude([beamhaloTracksTask,cosmicDCTracksSeqTask,regionalCosmicTracksTask]))
reconstructionCosmics_woTkBHM = cms.Sequence(reconstructionCosmics_woTkBHMTask)
19 changes: 17 additions & 2 deletions DQMOffline/Configuration/python/DQMOfflineCosmics_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from DQM.HcalTasks.OfflineSourceSequence_cosmic import *
from DQM.SiStripMonitorClient.SiStripSourceConfigTier0_Cosmic_cff import *
from DQM.SiPixelCommon.SiPixelOfflineDQM_source_cff import *
from DQM.SiTrackerPhase2.Phase2TrackerDQMFirstStep_cff import *
from DQM.DTMonitorModule.dtDQMOfflineSources_Cosmics_cff import *
from DQM.RPCMonitorClient.RPCTier0Source_cff import *
from DQM.CSCMonitorModule.csc_dqm_sourceclient_offline_cff import *
Expand All @@ -30,6 +31,8 @@

DQMOfflineCosmicsTrackerPixel = cms.Sequence( siPixelOfflineDQM_cosmics_source )

DQMOfflineCosmicsTrackerPhase2 = cms.Sequence( trackerphase2DQMSource )

#tnp modules are meant for collisions only (DT has separate cff for cosmics)
if cscSources.contains(cscTnPEfficiencyMonitor):
cscSources.remove(cscTnPEfficiencyMonitor)
Expand All @@ -42,10 +45,10 @@
cscSources )

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
_run3_GEM_DQMOfflineCosmicsMuonDPG = DQMOfflineCosmicsMuonDPG.copy()
_run3_GEM_DQMOfflineCosmicsMuonDPG += gemSourcesCosmics
run3_GEM.toReplaceWith(DQMOfflineCosmicsMuonDPG, _run3_GEM_DQMOfflineCosmicsMuonDPG)

(run3_GEM & ~phase2_common).toReplaceWith(DQMOfflineCosmicsMuonDPG, _run3_GEM_DQMOfflineCosmicsMuonDPG)

DQMOfflineCosmicsCASTOR = cms.Sequence( castorSources )

Expand All @@ -58,6 +61,14 @@
DQMOfflineCosmicsCASTOR
)

# No Strip detector in Phase-2 Tracker
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
phase2_tracker.toReplaceWith(DQMOfflineCosmicsPreDPG,DQMOfflineCosmicsPreDPG.copyAndExclude([DQMOfflineCosmicsTrackerStrip, DQMOfflineCosmicsTrackerPixel]))

_DQMOfflineCosmicsPreDPG = DQMOfflineCosmicsPreDPG.copy()
_DQMOfflineCosmicsPreDPG += DQMOfflineCosmicsTrackerPhase2
phase2_tracker.toReplaceWith(DQMOfflineCosmicsPreDPG,_DQMOfflineCosmicsPreDPG)

DQMOfflineCosmicsDPG = cms.Sequence( DQMOfflineCosmicsPreDPG *
DQMMessageLogger )

Expand Down Expand Up @@ -92,9 +103,13 @@
# DQMOfflineCosmicsPhysics
)

phase2_common.toReplaceWith(DQMOfflineCosmicsPrePOG,DQMOfflineCosmicsPrePOG.copyAndExclude([DQMOfflineCosmicsTrigger]))

DQMOfflineCosmicsPOG = cms.Sequence( DQMOfflineCosmicsPrePOG *
DQMMessageLogger )

DQMOfflineCosmics = cms.Sequence( DQMOfflineCosmicsPreDPG *
DQMOfflineCosmicsPrePOG *
DQMMessageLogger )

PostDQMOffline = cms.Sequence()
4 changes: 4 additions & 0 deletions DQMOffline/Configuration/python/autoDQM.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@
'none': ['DQMNone',
'PostDQMOffline',
'DQMNone'],

'cosmics' : ['DQMOfflineCosmics',
'PostDQMOffline',
'DQMOfflineCosmics']
}

_phase2_allowed = ['beam','trackingOnlyDQM','outerTracker', 'trackerPhase2', 'muon','hcal','hcal2','egamma','L1TMonPhase2','HLTMon']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,13 @@
_phase2_muonlocalrecoTask = _run3_muonlocalrecoTask.copy()
_phase2_muonlocalrecoTask.add(me0LocalRecoTask)

_phase2_ge0_muonlocalrecoTask = _phase2_muonlocalrecoTask.copyAndExclude([me0LocalRecoTask])

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toReplaceWith( muonlocalrecoTask , _run2_GEM_2017_muonlocalrecoTask )
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toReplaceWith( muonlocalrecoTask , _run3_muonlocalrecoTask )
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toReplaceWith( muonlocalrecoTask , _phase2_muonlocalrecoTask )
from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
phase2_GE0.toReplaceWith( muonlocalrecoTask , _phase2_ge0_muonlocalrecoTask )
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@
)
RecoLocalTrackerRECO.outputCommands.extend(RecoLocalTrackerAOD.outputCommands)

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
phase2_tracker.toModify(RecoLocalTrackerRECO, outputCommands = RecoLocalTrackerRECO.outputCommands + ['keep *_siPhase2Clusters_*_*','keep *_siPhase2RecHits_*_*'] )

# FEVT content
RecoLocalTrackerFEVT = cms.PSet(
outputCommands = cms.untracked.vstring()
)
RecoLocalTrackerFEVT.outputCommands.extend(RecoLocalTrackerRECO.outputCommands)

phase2_tracker.toModify(RecoLocalTrackerFEVT, outputCommands = RecoLocalTrackerFEVT.outputCommands + ['keep *_siPhase2Clusters_*_*','keep *_siPhase2RecHits_*_*'] )
Loading

0 comments on commit 203834e

Please sign in to comment.