gdynamicDigitization
Dosimeter Digitization Module

Introduction

This module implements dosimeter digitization for simulation hits. It provides:

  • Readout specification definition for dosimeter detectors.
  • Conversion of a true hit (GHit) into digitized data (GDigitizedData) including a computed NIEL weight.
  • Loading of calibration constants (NIEL factors and particle masses) from external files.
  • Linear interpolation of the NIEL factor for a given particle energy.

Details

The functions implemented herein ensure that:

  • Required logger objects are defined via check_if_log_defined().
  • The readout specifications are set with a fixed time window, grid start time, and hit bitset.
  • The digitization function processes a hit by collecting key variables and computing a NIEL weight over the hit’s individual steps.
  • Calibration data are loaded from text files, using a robust file–reading loop.
Author
Your Name
Date
YYYY-MM-DD