[EMCAL-539,EMCAL-696,EMCAL-697] First version of the L0 trigger imple…#12362
[EMCAL-539,EMCAL-696,EMCAL-697] First version of the L0 trigger imple…#12362mfasDa merged 12 commits intoAliceO2Group:devfrom
Conversation
…mentation Added: - TRU time response - Pileup simulation at trigger level - Peak finder and L0 algorithm Simulation not yet implemented in the EMCALDigitizerSPEC
mfasDa
left a comment
There was a problem hiding this comment.
For the moment one small request from my side
Detectors/EMCAL/simulation/include/EMCALSimulation/DigitTimebin.h
Outdated
Show resolved
Hide resolved
…ng forward declaration DigitTimebin<template>
mfasDa
left a comment
There was a problem hiding this comment.
First set of change requests. There are two things that are different between trigger and FEE, and because the code is adapted from FEE it is consequently wrong:
a) Phase: FEE has a 10 MHz clock, while the LHC has a 40 MHz clock, consequently the deposited charge per sample depends on the relative BC between LHC and ALTRO clock
b) Noise: FEE has 2 digitizers, with different noise, and we decide only at reconstruction level based on the energy of the full raw fit which of the two to take. Consequently we must simulate for each digit both high and low gain noise. The trigger system has only one digitizer and consequently only one noise value, which is a lot easier to handle.
Detectors/EMCAL/simulation/include/EMCALSimulation/LZEROElectronics.h
Outdated
Show resolved
Hide resolved
Detectors/EMCAL/simulation/include/EMCALSimulation/LZEROElectronics.h
Outdated
Show resolved
Hide resolved
Detectors/EMCAL/simulation/include/EMCALSimulation/DigitizerTRU.h
Outdated
Show resolved
Hide resolved
Detectors/EMCAL/simulation/include/EMCALSimulation/DigitTimebin.h
Outdated
Show resolved
Hide resolved
Detectors/EMCAL/simulation/include/EMCALSimulation/LZEROElectronics.h
Outdated
Show resolved
Hide resolved
Detectors/EMCAL/simulation/include/EMCALSimulation/LZEROElectronics.h
Outdated
Show resolved
Hide resolved
…ng choice for indexing patches
…TRU TRF, verbosity
mfasDa
left a comment
There was a problem hiding this comment.
Next round of change requests. Will still need to go through in more details through the LZERO for the next round. For the moment please focus on those changes.
Detectors/EMCAL/simulation/include/EMCALSimulation/DigitizerTRU.h
Outdated
Show resolved
Hide resolved
Detectors/EMCAL/simulation/include/EMCALSimulation/DigitizerTRU.h
Outdated
Show resolved
Hide resolved
Detectors/EMCAL/simulation/include/EMCALSimulation/DigitizerTRU.h
Outdated
Show resolved
Hide resolved
Detectors/EMCAL/simulation/include/EMCALSimulation/DigitizerTRU.h
Outdated
Show resolved
Hide resolved
Detectors/EMCAL/simulation/include/EMCALSimulation/LZEROElectronics.h
Outdated
Show resolved
Hide resolved
mfasDa
left a comment
There was a problem hiding this comment.
Quite some adjustments needed particularly in the "Patches" struct - which has a misleading name. I will review more the UpdateADC function once the code is a bit simplified based on the comments in this review.
…sses, demote verbosity
shahor02
left a comment
There was a problem hiding this comment.
Conditional approval to start CI of 1st commit
|
Good evening @shahor02 , I unfortunately overwrote your approval. Could you please give it again? I think it is needed since I am actually a first time committer... |
martenole
left a comment
There was a problem hiding this comment.
Conditional to start CI again
shahor02
left a comment
There was a problem hiding this comment.
now it takes some time to acknowledge the approval (done when actual build starts).
shahor02
left a comment
There was a problem hiding this comment.
it takes some time to update the status after the approval.
|
Error while checking build/O2/fullCI for 5a90793 at 2024-02-02 05:06: Full log here. |
|
CI errors unrelated |
|
Hi everyone, just to clarify, I see that the errors are all related to statements like: if (foundPeakCurrentTRU)
foundPeak = true;Since I see that the build fails with output if (foundPeakCurrentTRU) {
foundPeak = true;
}instead? With |
|
Error while checking build/O2/fullCI for b9fc0d8 at 2024-02-02 16:15: Full log here. |
|
Good evening everyone, could you please clarify whether this is an issue on my side or something else? |
|
No, it fails for the reason which should be already fixed. But given the amount of changes, better of we wait for the fullCI to rerun and become green. |
…mentation
Added:
Simulation not yet implemented in the EMCALDigitizerSPEC