|
epic-drich-beam-test-analysis
ePIC dRICH beam test analysis framework
|
Reconstructed hit data and analysis utilities for the ALCOR detector. More...
#include <iostream>#include <vector>#include <array>#include <map>#include <cmath>#include <sstream>#include "TTree.h"#include "triggers.h"#include "alcor_spilldata.h"#include "alcor_finedata.h"#include "parallel_streaming_framer.h"Go to the source code of this file.
Classes | |
| class | alcor_recodata |
| Container and analysis engine for a collection of reconstructed ALCOR hits. More... | |
Reconstructed hit data and analysis utilities for the ALCOR detector.
This file defines the alcor_recodata management class. It provides the full pipeline from calibrated hit storage through coordinate transforms, mask manipulation, trigger handling, ROOT tree I/O, and ring-finding algorithms (DBSCAN and Hough transform).
Hits are stored directly as alcor_finedata_struct PODs — the same type used by the Lightdata layer — eliminating the former alcor_recodata_struct wrapper. A full alcor_finedata object (with calibration/timing/channel-decode methods) is constructed on demand via get_finedata; because alcor_finedata has no heap members this is essentially a free struct copy.
Calibrated timing (get_hit_t) depends on the static calibration table loaded via alcor_finedata::read_calib_from_file. Without a loaded calibration the method returns 0 by design, which allows re-calibration without re-processing raw data.