-
Notifications
You must be signed in to change notification settings - Fork 4.3k
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Include ZDC in L1T re-emulation workflows #43214
Comments
A new Issue was created by @missirol Marino Missiroli. @Dr15Jones, @sextonkennedy, @smuzaffar, @rappoccio, @antoniovilela, @makortel can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign l1 |
New categories assigned: l1 @epalencia,@aloeliger you have been requested to review this Pull request/Issue and eventually sign? Thanks |
Might be useful to tag them here as well if you know the gutHub accounts. |
I have a first draft of a ZDC packer here (https://github.com/matt2275/cmssw/tree/ZDCUnpacker/EventFilter/L1TRawToDigi). I have not done any testing since I'm not sure how to do that. One way of testing this would be to produce two sets of digis one that was only unpacked once and the other that was unpacked, repacked and unpacked again. If the sets are identical, it's a good sign the packer is working properly. Unfortunately, I'm not sure how to go about doing that. |
@cms-sw/l1-l2 What's the status of this issue ? |
What's the status of this issue? |
IIUC
was done at #44019 What about the item
|
tagging also @Michael-Krohn, @cfmcginn, @abdoulline |
I hope @Michael-Krohn can correct me, but my understanding of the caveat with ZDC TP emulation ( #42818 ) is the following:
Because:
|
Yes, that is also my understanding. Assuming that the geometry issues are fixed by @bsunanda, are there still other changes that we need to do for this? |
The example in [*] for Is the test in [*] with [*] #!/bin/bash
# CMSSW_14_1_0_pre5
execmd="hltGetConfiguration /dev/CMSSW_14_0_0/HIon --no-prescale --no-output --max-events 100"
execmd+=" --paths HLTriggerFirstPath,HLTriggerFinalPath,HLTAnalyzerEndpath"
${execmd} \
--customise HLTrigger/Configuration/CustomConfigs.customiseHLTforHIonRepackedRAWPrime \
--input file:/eos/cms/store/user/cmsbuild/store/hidata/HIRun2023A/HIPhysicsRawPrime0/RAW/v1/000/375/491/00000/de963321-c0a0-49fb-b771-1a312a69db03.root \
--globaltag 140X_dataRun3_HLT_v3 \
--data \
> hltData_ref.py && cmsRun hltData_ref.py &> hltData_ref.log
${execmd} \
--customise HLTrigger/Configuration/CustomConfigs.customiseL1THLTforHIonRepackedRAWPrime \
--input file:/eos/cms/store/user/cmsbuild/store/hidata/HIRun2023A/HIPhysicsRawPrime0/RAW/v1/000/375/491/00000/de963321-c0a0-49fb-b771-1a312a69db03.root \
--globaltag 140X_dataRun3_HLT_v3 \
--data \
--eras Run3 --l1-emulator uGT \
> hltData_L1uGT.py && cmsRun hltData_L1uGT.py &> hltData_L1uGT.log
${execmd} \
--customise HLTrigger/Configuration/CustomConfigs.customiseL1THLTforHIonRepackedRAWPrime \
--input file:/eos/cms/store/user/cmsbuild/store/hidata/HIRun2023A/HIPhysicsRawPrime0/RAW/v1/000/375/491/00000/de963321-c0a0-49fb-b771-1a312a69db03.root \
--globaltag 140X_dataRun3_HLT_v3 \
--data \
--eras Run3 --l1-emulator Full \
> hltData_L1Full.py && cmsRun hltData_L1Full.py &> hltData_L1Full.log |
Hi @missirol , I would assume that Let me ping @aloeliger @epalencia directly and hopefully they can have a look at this. |
Hi All, Thanks for your help with this. Yes, it would be good to have a look and discuss as needed. We have some workforce that could help make the required changes as long as we have a good understanding of what is needed. Please let me know if it would be helpful to discuss offline. |
I'm not sure whether Actual ZDC DB conditions contain Run1 legacy constants and recently (14_0) ZDCDetId was changed. |
I have not tried to run the ZDC TP emulation as is (with the Run1 legacy DB conditions and the emulation in 14_0), but I am not surprised that there are zero events passing the ZDC trigger. In our current version of the condition HcalLutMetadata there are no ZDC channels. This condition is used to construct the output LUT for all channels, including the ZDC ones. Where specifically a calibration factor is grabbed from that file (https://github.com/cms-sw/cmssw/blob/master/CalibCalorimetry/HcalTPGAlgos/src/HcaluLUTTPGCoder.cc#L633) and multiplied to the output energy of each channel. With this value not set for the ZDC channels in the current conditions, I'm not sure what value is being multiplied here but if it defaults to 0 then the output energy for every EM and HAD channel in the emulation would be 0. |
Afaiu, |
@eyigitba , I think that's indeed the case, see #45712. Note that even with #45712 the results of |
Weeks ago, the L1-uGT emulator (#42634) and unpacker (#42733) were updated to make use of data from the Zero-Degree Calorimeter, for the 2023 HIon run (and beyond). These updates were the necessary ones to be able to correctly take data online with a L1T menu including algorithms using ZDC data.
Other updates needed to properly test/re-emulate such L1T menus offline are still missing. For what I understand, this includes (at least) the following.
L1TDigiToRaw
.SimL1EmulatorRepack_Full_cff
.As long as these updates are missing, any re-emulation of the L1T results in standard workflows will return incorrect results for any L1T algorithms using ZDC (again, for what I understand).
FYI: @cms-sw/hlt-l2
The text was updated successfully, but these errors were encountered: