Go Back to: C++ Manual General Site
LDMX.Tools package¶
Submodules¶
LDMX.Tools.hgcroc_emulator module¶
Configuration for HGCROC Emulator
- class LDMX.Tools.hgcroc_emulator.HgcrocEmulator(rate_up_slope: float = -0.345, time_up_slope: float = 70.6547, rate_dn_slope: float = 0.140068, time_dn_slope: float = 87.7649, time_peak: float = 77.732, clock_cycle: float = 25.0, timing_jitter: float = 0.25, n_adcs: int = 10, i_soi: int = 2, noise: bool = True)¶
Bases:
objectConfiguration for HGCROC Emulator
The parameters in this configuration class are only for system-wide settings. The parameters that can change on a chip-by-chip basis are handled using a conditions table given to the C++ emulator in the subsystem producer.
- clock_cycle¶
Cycle of chip clock [ns]
- Type:
float
- timing_jitter¶
Uncertainty in chip clock [ns]
- Type:
float
- n_adcs¶
Number of voltage samples to measure for one DIGI
- Type:
int
- i_soi¶
Index for sample of interest within multi-sample DIGI
- Type:
int
- noise¶
False to turn off all noise generation
- Type:
bool
- rate_up_slope¶
Rate of up-wards slope in pulse shape fit
- Type:
float
- time_up_slope¶
Time of front edge in pulse shape fit
- Type:
float
- rate_dn_slope¶
Rate of down-wards slope in pulse shape fit
- Type:
float
- time_dn_slope¶
Time of back edge in pulse shape fit
- Type:
float
- time_peak¶
Time of beak in pulse shape fit
- Type:
float
- clock_cycle: float = 25.0¶
- i_soi: int = 2¶
- n_adcs: int = 10¶
- noise: bool = True¶
- rate_dn_slope: float = 0.140068¶
- rate_up_slope: float = -0.345¶
- time_dn_slope: float = 87.7649¶
- time_peak: float = 77.732¶
- time_up_slope: float = 70.6547¶
- timing_jitter: float = 0.25¶