-
Notifications
You must be signed in to change notification settings - Fork 27
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
L1T re-emulation on 90X MC does not get the correct HCAL TP Digis #553
Comments
might be related to https://its.cern.ch/jira/browse/CMSLITDPG-112 ? |
Thanks. It may very well be related: I also see empty HCAL TPs/Towers in the L1Ntuples using the latest data command of CMSLITDPG-112: Cheers,
|
Hi @davignon, Not sure if it will fix your problem, but this is all I know for the moment about a possible issue with HCAL TPs. Thank you, |
Problem with empty HCAL TPs in data is "solved" when changing this:
to
Problem on MC 90X remains... So far I had tried with era=Run2_2016. I just tried with era=Run2_2017, leading to a crash this time:
I then tried to update the customiseReEmul to:
with era2017, leading to the following error:
So it now concerns muons. Maybe related to #546? @bortigno , what do you think? |
@davignon For 2017 MC, one should use This example command with
NoteIf the above command is used with |
Thanks for looking into it. Rather than switching from L1TReEmulFromRAW to L1TReEmulMCFromRAW (which doesn't change a thing to the calo settings and output), comparing our cmsDriver commands, the problem is solved in two ways:
I tried both Run2_2017 and 92X_upgrade2017_TSG_For90XSamples_V1 before, but not at the same time... Do you mind if I update the recipe on the TWiki? Anyway, we can close the issue. Thanks Vladimir! Cheers,
|
Yes, I forgot to say that in my example I used the GT |
@davignon Now, it is correct that Calo part is the same between |
@davignon |
I updated the TWiki. |
In general "auto" GTs assume a consistent sample, where (possible GENSIM), DIGI, RAW and RECO are done with the same release and "auto" tag. I have not checked the specific case, though. |
@rekovic , rather than keeping two recipes, would it make sense to migrate the recipe for making ntuples to use the L1REPACK step ? |
@fwyzard |
I am re-opening this issue as some development was done on this front. While discussing consistent derivation of Calo Layer1 & Layer2 calibrations from 90x MC RAW samples, it was concluded:
cmsDriver.py -s RAW2DIGI --python_filename=l1NtupleMcMaker2017_RAW2DIGI_reEmu_HCAL_TPs.py -n 100 --no_output --no_exec --era=Run2_2017 --mc --conditions=92X_upgrade2017_TSG_For90XSamples_V1 --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulMCFrom90xRAWSimHcalTP --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMU --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloStage2Params_2017_v1_9_inconsistent --filein=/store/mc/PhaseISpring17DR/VBFHToTauTau_M125_13TeV_powheg_pythia8/GEN-SIM-RAW/FlatPU28to62HcalNZSRAW_HIG07_90X_upgrade2017_realistic_v20-v1/100000/004D4A52-A62C-E711-B518-848F69FD2853.root This version of ReEmul customisation uses
An exception of category 'BadAlloc' occurred while [0] Processing Event run: 1 lumi: 515 event: 484449 stream: 0 [1] Running path 'L1TReEmulPath' [2] Calling method for module HcalTrigPrimDigiProducer/'simHcalTriggerPrimitiveDigis' Exception Message: This crash in re-emulation was observed in various workflows (reported by Layer1 group, HCAL DPG) and is not understood up to this moment. It is interesting that it does not happen in L1REPACK` workflows.
|
@rekovic @bortigno
Using the standard recipe for L1Ntuples production:
cmsDriver.py -s RAW2DIGI --python_filename=l1NtupleMcMaker2017_RAW2DIGI.py -n 50 --no_output --no_exec --era=Run2_2016 --mc --conditions=auto:run2_mc --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulFromRAW --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMU --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloStage2Params_2017_v1_4 --filein=/store/mc/PhaseISpring17DR/VBFHToTauTau_M125_13TeV_powheg_pythia8/GEN-SIM-RAW/FlatPU28to62HcalNZSRAW_HIG07_90X_upgrade2017_realistic_v20-v1/100000/004D4A52-A62C-E711-B518-848F69FD2853.root
I observed the HCAL TPs are empty, which in turn creates towers without an hadronic component.
It seems L1Trigger/Configuration/python/customiseReEmul.py is not reading the correct HCAL TPs in 90X.
We tried to solve but did not manage. Can someone have a look?
Cheers,
The text was updated successfully, but these errors were encountered: