Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-17 07:50:33

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2025 Minho Kim
0003 
0004 #pragma once
0005 
0006 #include <edm4eic/unit_system.h>
0007 
0008 namespace eicrecon {
0009 
0010 struct CALOROCDigitizationConfig {
0011 
0012   // Variables for CALOROC measurement
0013   std::size_t n_samples{7};
0014   double time_window{25 * edm4eic::unit::ns};
0015   double adc_phase{0 * edm4eic::unit::ns};
0016   double toa_thres{1};
0017   double tot_thres{1};
0018 
0019   // Variables for digitization
0020   unsigned int capADC{1024};
0021   // ADC dynamic range for 1A chip
0022   double dyRangeSingleGainADC{1};
0023   // ADC dynamic ranges for 1B chip
0024   double dyRangeHighGainADC{1};
0025   double dyRangeLowGainADC{1};
0026   unsigned int capTOA{1024};
0027   double dyRangeTOA{25 * edm4eic::unit::ns};
0028   unsigned int capTOT{4096};
0029   double dyRangeTOT{200 * edm4eic::unit::ns};
0030 };
0031 
0032 } // namespace eicrecon