Light constants#

Sets ligth-related constants

larndsim.consts.light.SCINT_PRESCALE = 1[source]#

Prescale factor analogous to ScintPreScale in LArSoft FIXME

larndsim.consts.light.W_PH = 1.95e-05[source]#

Ion + excitation work function in MeV

larndsim.consts.light.LIGHT_TICK_SIZE = 0.001[source]#

Step size for light simulation [microseconds]

larndsim.consts.light.LIGHT_WINDOW = (1, 10)[source]#

Pre- and post-window for light simulation [microseconds]

larndsim.consts.light.SINGLET_FRACTION = 0.3[source]#

Fraction of total light emitted from singlet state

larndsim.consts.light.TAU_S = 0.001[source]#

Singlet decay time [microseconds]

larndsim.consts.light.TAU_T = 1.53[source]#

Triplet decay time [microseconds]

larndsim.consts.light.DEFAULT_LIGHT_GAIN = -2.3[source]#

Conversion from PE/microsecond to ADC

larndsim.consts.light.SIPM_RESPONSE_MODEL = 0[source]#

Set response model type (0=RLC response, 1=arbitrary input)

larndsim.consts.light.LIGHT_RESPONSE_TIME = 0.055[source]#

Response RC time [microseconds]

larndsim.consts.light.LIGHT_OSCILLATION_PERIOD = 0.095[source]#

Response oscillation period [microseconds]

larndsim.consts.light.LIGHT_DET_NOISE_SAMPLE_SPACING = 0.01[source]#

Sample rate for input noise spectrum [microseconds]

larndsim.consts.light.IMPULSE_MODEL = [1, 0][source]#

Arbitrary input model (normalized to sum of 1)

larndsim.consts.light.IMPULSE_TICK_SIZE = 0.01[source]#

Arbitrary input model tick size [microseconds]

larndsim.consts.light.OP_CHANNEL_PER_TRIG = 6[source]#

Number of SiPMs per detector (used by trigger)

larndsim.consts.light.LIGHT_TRIG_MODE = 0[source]#

Light trigger mode (0=threshold each module, 1=beam and threshold)

larndsim.consts.light.LIGHT_TRIG_THRESHOLD = (0,)[source]#

Total detector light threshold [ADC] (one value for every OP_CHANNEL_PER_TRIG detector sum)

larndsim.consts.light.LIGHT_TRIG_WINDOW = (0.9, 1.66)[source]#

Light digitization window [microseconds]

larndsim.consts.light.LIGHT_DIGIT_SAMPLE_SPACING = 0.01[source]#

Light waveform sample rate [microseconds]

larndsim.consts.light.LIGHT_NBIT = 10[source]#

Light digitizer bits

larndsim.consts.light.set_light_properties(detprop_file)[source][source]#

The function loads the detector properties YAML file and stores the light-related constants as global variables

Parameters:

detprop_file (str) – detector properties YAML filename