5namespace tracking::digitization {
13inline constexpr double ENERGY_PER_EHP_MEV = 3.62e-6;
20inline constexpr double SENSE_PITCH_MM = 0.030;
22inline constexpr double READOUT_PITCH_MM = 0.060;
24inline constexpr int N_READOUT_STRIPS = 767;
27inline constexpr double SIGMA_V_MM = 20.0;
34inline constexpr double BIAS_VOLTAGE_V = 200.0;
36inline constexpr double DEPLETION_VOLTAGE_V = 70.0;
38inline constexpr double TEMPERATURE_K = 300.0;
45inline constexpr std::string_view PULSE_SHAPE_NAME =
"CRRC";
47inline constexpr double PEAKING_TIME_NS = 45.0;
49inline constexpr double SECOND_TIME_CONST_NS = 10.0;
51inline constexpr double SAMPLING_INTERVAL_NS = 25.0;
53inline constexpr int N_SAMPLES = 3;
55inline constexpr int ADC_BITS = 14;
57inline constexpr int ADC_PEDESTAL = 0;
59inline constexpr double T0_OFFSET_NS = 0.0;
70inline constexpr double MIP_ELECTRONS = 25000.0;
72inline constexpr double READOUT_RESISTOR_OHMS = 100.0;
74inline constexpr double READOUT_INPUT_STAGE_GAIN = 1.5;
76inline constexpr double ADC_FULL_SCALE_MV = 2000.0;
80inline constexpr double ADC_ELECTRONS_PER_COUNT =
81 MIP_ELECTRONS / (READOUT_RESISTOR_OHMS * READOUT_INPUT_STAGE_GAIN *
82 (1 << ADC_BITS) / ADC_FULL_SCALE_MV);
99inline constexpr double READOUT_TRANSFER_EFFICIENCY = 0.986;
103inline constexpr double SENSE_TRANSFER_EFFICIENCY = 0.419;
110inline constexpr double NOISE_ELECTRONS = 1000.0;
112inline constexpr double THRESHOLD_ELECTRONS = 3000.0;
115inline constexpr double NOISE_SIGMA_ADC =
116 NOISE_ELECTRONS / ADC_ELECTRONS_PER_COUNT;
119inline constexpr double THRESHOLD_ADC =
120 THRESHOLD_ELECTRONS / ADC_ELECTRONS_PER_COUNT;