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

Add a parameter to take into account the 0 time bin in simulations #154

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JPorron
Copy link
Contributor

@JPorron JPorron commented Feb 14, 2025

JPorron Ok: 31 Powered by Pull Request Badge

It is useful to convert the bin time of the detected peaks to physical time. This way we can directly compare when the peaks happen for tpc signals and veto signals, overcoming the issues that arise when we take into account the different sampling, trigger delay, ... of the different types of signal.

The fact that a tpc peak happens in bin 256 and a veto peak happens at bin 150, for example, is not directly comparable since for each signal type the bin time is one or another for the same bin (given the sampling for each type) and the signals will be placed at particular bins (given the trigger delay for each type).

When the physical times are comparable we can find interesting information, for example, tpc peaks will always be after the trigger and the physical time distance between the maximum and minimum is related to the drift velocity (an energy deposition near the cathode will produce a peak further in time than an energy deposition near the mesh, whose peak will be almost instantaneous after the trigger and this time difference is related to the time the electrons produced near the cathode take to reach the mesh and produce the peak).

image

A new observable is added to compute the zero time bin (the bin at which the trigger happens) in simulations and the bin time difference between the peak position and this zero bin gives the physical time from the trigger to the maximum energy deposition (when most electrons reach the mesh).

@JPorron JPorron requested a review from mariajmz February 14, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants