Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

era to store ZDC digis for pp reco #42942

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from Configuration.DataProcessing.Reco import Reco
import FWCore.ParameterSet.Config as cms
from Configuration.Eras.Era_Run3_2023_cff import Run3_2023
from Configuration.Eras.Era_Run3_2023_ZDC_cff import Run3_2023_ZDC

from Configuration.DataProcessing.Impl.pp import pp

Expand All @@ -21,14 +21,14 @@ def __init__(self):
self.recoSeq=''
self.cbSc='pp'
self.isRepacked=True
self.eras=Run3_2023
self.eras=Run3_2023_ZDC
self.promptCustoms += [ 'Configuration/DataProcessing/RecoTLR.customisePostEra_Run3_2023' ]
self.expressCustoms += [ 'Configuration/DataProcessing/RecoTLR.customisePostEra_Run3_2023' ]
self.visCustoms += [ 'Configuration/DataProcessing/RecoTLR.customisePostEra_Run3_2023' ]
"""
_ppEra_Run3_2023_

Implement configuration building for data processing for proton
collision data taking for Run3_2023
Implement configuration building for data processing for PbPb collisions with pp reco
collision data taking for Run3_2023_ZDC

"""
7 changes: 7 additions & 0 deletions Configuration/Eras/python/Era_Run3_2023_ZDC_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.Era_Run3_cff import Run3
from Configuration.Eras.Modifier_run3_egamma_2023_cff import run3_egamma_2023
from Configuration.ProcessModifiers.storeZDCDigis_cff import storeZDCDigis

Run3_2023_ZDC = cms.ModifierChain(Run3, run3_egamma_2023, storeZDCDigis)
3 changes: 3 additions & 0 deletions Configuration/ProcessModifiers/python/storeZDCDigis_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import FWCore.ParameterSet.Config as cms

storeZDCDigis = cms.Modifier()
1 change: 1 addition & 0 deletions Configuration/StandardSequences/python/Eras.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def __init__(self):
'Run3_DDD',
'Run3_FastSim',
'Run3_2023_FastSim',
'Run3_2023_ZDC',
'Phase2',
'Phase2C9',
'Phase2C10',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@
from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
pp_on_AA.toModify(MicroEventContent, outputCommands = MicroEventContent.outputCommands + _pp_on_AA_extraCommands)

_zdc_extraCommands = ['keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*']
from Configuration.ProcessModifiers.storeZDCDigis_cff import storeZDCDigis
storeZDCDigis.toModify(MicroEventContent, outputCommands = MicroEventContent.outputCommands + _zdc_extraCommands)

MicroEventContentMC = cms.PSet(
outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
from Configuration.ProcessModifiers.storeZDCDigis_cff import storeZDCDigis
# don't modify AOD for HGCal yet, need "reduced" rechits collection first (i.e. requires reconstruction)
phase2_hgcal.toModify( RecoLocalCaloAOD,
outputCommands = RecoLocalCaloAOD.outputCommands + ['keep *_HGCalRecHit_*_*',
Expand All @@ -35,6 +36,8 @@
'keep ZDCDataFramesSorted_castorDigis_*_*',
'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*'])
)
storeZDCDigis.toModify( RecoLocalCaloAOD,
outputCommands = RecoLocalCaloAOD.outputCommands + ['keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*'])
from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff import egamma_lowPt_exclusive
egamma_lowPt_exclusive.toModify( RecoLocalCaloAOD,
outputCommands = RecoLocalCaloAOD.outputCommands + ['keep *_towerMaker_*_*',
Expand Down