Flat Gas external generator #2094
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implemented new loopers external generator based on the previous one (still available): the number of loopers is now adapted to the time interval between one event and the other with a reference set through a parameter in the external gen. The reference loopers number is assigned to the calculated average time interval and a ratio is performed to adjust the loopers event by event. The loopers time is set via a Uniform distribution via a new generateEvent function.

The output from the generator can be found /alice/cern.ch/user/m/mgiacalo/selfjobs/LoopersFlatGasNewExtMean500-20250808-124127. The TPC clusters of this output were processed and they are available here /alice/cern.ch/user/m/mgiacalo/selfjobs/ProcessLoopersNewGenMean500-20250808-141601.
A flat average of ~10% of loopers clusters is achieved with the default configuration provided by this PR, as shown in the following time plot (in TPC cluster time units).