PMTAfterPulses
Link to source: PMTAfterPulses
Plugin Description
Plugin to simulate PMT afterpulses using a precomputed afterpulse cumulative distribution function.
In the simulation afterpulses will be saved as a list of “pseudo” photons. These “photons” can then be combined with real photons from S1 and S2 signals to create a waveform.
Technical Details
depends_on = ('propagated_s2_photons', 'propagated_s1_photons')
provides = ('pmt_afterpulses',)
data_kind = ap_photons
__version__ = 0.3.1
Provided Columns
pmt_afterpulses
Field Name |
Data Type |
Comment |
|---|---|---|
channel |
int16 |
PMT channel of the photon |
dpe |
bool |
Photon creates a double photo-electron emission |
photon_gain |
int32 |
Sampled PMT gain for the photon |
cluster_id |
int32 |
ID of the cluster creating the photon |
photon_type |
int8 |
Type of the photon. S1 (1), S2 (2) or PMT AP (0) |
time |
int64 |
Start time since unix epoch [ns] |
endtime |
int64 |
Exclusive end time since unix epoch [ns] |
Config Options
Option |
default |
track |
Help |
|---|---|---|---|
debug |
False |
False |
Show debug informations |
deterministic_seed |
True |
True |
Set the random seed from lineage and run_id, or pull the seed from the OS |
digitizer_bits |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=digitizer_bits |
True |
Number of bits of the digitizer boards |
digitizer_voltage_range |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=digitizer_voltage_range |
True |
Voltage range of the digitizer boards [V] |
enable_pmt_afterpulses |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=enable_pmt_afterpulses |
True |
Decide if you want to to enable PMT afterpulsing |
gain_model_mc |
list-to-array://xedocs://pmt_area_to_pes?as_list=True&sort=pmt&detector=tpc&run_id=plugin.run_id&version=ONLINE&attr=value |
True |
PMT gain model |
photon_ap_cdfs |
simple_load://resource://simulation_config://SIMULATION_CONFIG_FILE.json?&key=photon_ap_cdfs&fmt=json.gz |
True |
Afterpuse cumulative distribution functions |
pmt_ap_modifier |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=pmt_ap_modifier |
True |
PMT afterpulse modifier |
pmt_ap_t_modifier |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=pmt_ap_t_modifier |
True |
PMT afterpulse time modifier |
pmt_circuit_load_resistor |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=pmt_circuit_load_resistor |
True |
PMT circuit load resistor [kg m^2/(s^3 A)] |
user_defined_random_seed |
None |
True |
Define the random seed manually. You need to set deterministic_seed to False |