Simulation constants#

Set simulation options

larndsim.consts.sim.ASSOCIATION_COUNT_TO_STORE = 20[source]#

Number of back-tracked segments to be recorded

larndsim.consts.sim.MAX_ADC_VALUES = 30[source]#

Maximum number of ADC values stored per pixel

larndsim.consts.sim.MAX_MC_TRUTH_IDS = 0[source]#

Number of true segments to track for each time tick (MAX_MC_TRUTH_IDS=0 to disable complete truth tracking)

larndsim.consts.sim.MC_TRUTH_THRESHOLD = 0.1[source]#

Threshold for propagating truth information on a given SiPM

larndsim.consts.sim.set_simulation_properties(simprop_file)[source][source]#

The function loads the detector properties and the pixel geometry YAML files and stores the constants as global variables

Parameters:
  • simprop_file (str) – detector properties YAML filename

  • pixel_file (str) – pixel layout YAML filename