|
sipm-characterisation 0.1.0
SiPM characterisation for ePIC — IV/DCR/gain, laser, readout, irradiation
|
Classes | |
| struct | data_t |
Enumerations | |
| enum | type_t { kAlcorHit = 1 , kTriggerTag = 9 , kStartSpill = 7 , kEndSpill = 15 } |
Functions | |
| int | get_index (int fifo, int pixel, int column, int tdc) |
| example of usage: | |
| TH2 * | fine_fill (std::vector< std::string > filenames) |
| TH1 * | fine_histo (TH2 *hFine_all, int index) |
| TH2 * fine_fill | ( | std::vector< std::string > | filenames | ) |
histogram with fine distribution
loop over input file list
open file
retrieve tree and link it
loop over events in tree
only ALCOR hits
example of usage:
root [0] .L fine_analysis.C root [1] TH2 *hFine_all = fine_fill({"alcdaq.fifo_0.root", "alcdaq.fifo_1.root"}); — opening decoded file: alcdaq.fifo_0.root — found 2151601 entries in tree — opening decoded file: alcdaq.fifo_1.root — found 1875405 entries in tree root [2] hFine_all->Draw("colz"); root [3] TH1 *hFine_0 = fine_histo(hFine_all, 0); root [4] hFine_0->Draw();
4 TDCs for each pixel 4 pixel for each column 8 columns for each chip