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¶
LDMX.Tools.lut_making module¶
Configuration for Cluster Triplet text file Maker and Pattern LUT Maker
- class LDMX.Tools.lut_making.ClusterTripletMaker(instance_name: str = 'ClusterTripletMaker', histograms: list[Histogram] = <factory>, cluster_input_collections: list[str] = <factory>, pass_name: str = '', output_file: str = 'clusters.txt', verbosity: int = 0)¶
Bases:
ProcessorConfiguration for cluster text file maker for Trigger Scintillators
- class_name: str = 'tools::ClusterTripletMaker'¶
- cluster_input_collections: list[str]¶
- instance_name: str = 'ClusterTripletMaker'¶
- module_name: str = 'Tools'¶
- output_file: str = 'clusters.txt'¶
- pass_name: str = ''¶
- verbosity: int = 0¶
- class LDMX.Tools.lut_making.PatternLUTMaker(instance_name: str = 'PatternLUTMaker', histograms: list[Histogram] = <factory>, input_file: str = 'clusters.txt', input_pass_name: str = '', output_file: str = 'LUT.txt', lut_threshold: float = 0.0008, verbosity: int = 0)¶
Bases:
ProcessorConfiguration for track-pattern LUT-writing analyzer for Trigger Scintillators
- class_name: str = 'tools::PatternLUTMaker'¶
- input_file: str = 'clusters.txt'¶
- input_pass_name: str = ''¶
- instance_name: str = 'PatternLUTMaker'¶
- lut_threshold: float = 0.0008¶
- module_name: str = 'Tools'¶
- output_file: str = 'LUT.txt'¶
- verbosity: int = 0¶