![]() |
|
|||
File indexing completed on 2025-04-03 08:49:41
0001 // SPDX-License-Identifier: LGPL-3.0-or-later 0002 // Copyright (C) 2024 Souvik Paul 0003 0004 #pragma once 0005 0006 #include <DD4hep/DD4hepUnits.h> 0007 0008 namespace eicrecon { 0009 0010 struct LGADPulseGenerationConfig { 0011 // Parameters of AC-LGAD signal generation 0012 double gain = 113.755; 0013 double risetime = 0.45 * dd4hep::ns; 0014 double sigma_analog = 0.293951 * dd4hep::ns; 0015 double Vm = 1e-4 * dd4hep::GeV; // Vm = voltage maximum. When EDep = 1e-4 GeV, voltage 0016 // corresponds to ADC = adc_max 0017 double ignore_thres = 0.001 * Vm; // If EDep below this value, digitization for the cell will be 0018 // ignored. Speed up calculation 0019 int adc_bit = 8; 0020 int tdc_bit = 10; 0021 0022 // total number of TDC/ADC values 0023 // Since digitizer starts at zero, max ADC value = adc_range - 1 0024 // Similar for TDC 0025 int adc_range = std::pow(2, adc_bit); 0026 int tdc_range = std::pow(2, tdc_bit); 0027 0028 // period of the sensor clock. Time internal to sensor will all be digitized to integer multiple 0029 // of tInterval 0030 double tMax = 25 * dd4hep::ns; // 25 ns is the period of 40MHz EIC clock 0031 double tInterval = tMax / (tdc_range - 1); 0032 0033 }; 0034 0035 } // namespace eicrecon
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |