|
sipm-characterisation 0.1.0
SiPM characterisation for ePIC — IV/DCR/gain, laser, readout, irradiation
|
#include "analysis_utils.h"Functions | |
| void | analysis_example (std::string dirname, std::vector< std::string > filenames=au::all_filenames) |
Variables | |
| int | frame_size = 1024 |
| root [0] .L analysis_example.C root [1] analysis_example("../data/20221015-234954/decoded") | |
| const double | reference_delay = 10. |
| void analysis_example | ( | std::string | dirname, |
| std::vector< std::string > | filenames = au::all_filenames |
||
| ) |
HISTOGRAMS
POPULATE FRAMED DATA
POST-PROCESSING ANALYSIS
LOOP OVER DATA
loop over spills
loop over frames
COMPUTE REFERENCE TIME
loop over chips
loop over channels
compute time of first hit
end of loop over channels
end of loop over chips
request 32 fired pixels on both timing scintillators
request compatible timing between timing scintillators
compute reference time as average of scintillators keeping in mind they are downstream and are delayed with respect to cherenkov photons
CHERENKOV PHOTON TIMING
loop over chips
loop over channels
time of the first hit
request hit time to be compatible with reference timing from scintillators
end of loop over channels
end of loop over chips
end of loop over frames
end of loop over spills
WRITE OUTPUT TO FILE
| int frame_size = 1024 |
root [0] .L analysis_example.C root [1] analysis_example("../data/20221015-234954/decoded")