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

Dependency Graph

%3 pmt_afterpulses pmt_afterpulses propagated_s2_photons propagated_s2_photons pmt_afterpulses->propagated_s2_photons propagated_s1_photons propagated_s1_photons pmt_afterpulses->propagated_s1_photons merged_s2_photons merged_s2_photons propagated_s2_photons->merged_s2_photons merged_extracted_electrons merged_extracted_electrons propagated_s2_photons->merged_extracted_electrons microphysics_summary microphysics_summary propagated_s1_photons->microphysics_summary s1_photon_hits s1_photon_hits propagated_s1_photons->s1_photon_hits s2_photons s2_photons merged_s2_photons->s2_photons delayed_electrons_s2_photons delayed_electrons_s2_photons merged_s2_photons->delayed_electrons_s2_photons extracted_electrons extracted_electrons merged_extracted_electrons->extracted_electrons extracted_delayed_electrons extracted_delayed_electrons merged_extracted_electrons->extracted_delayed_electrons s2_photons->microphysics_summary drifted_electrons drifted_electrons s2_photons->drifted_electrons s2_photons->extracted_electrons drifted_delayed_electrons drifted_delayed_electrons delayed_electrons_s2_photons->drifted_delayed_electrons delayed_electrons_s2_photons->extracted_delayed_electrons photo_ionization_electrons photo_ionization_electrons delayed_electrons_s2_photons->photo_ionization_electrons interactions_in_roi interactions_in_roi microphysics_summary->interactions_in_roi quanta quanta microphysics_summary->quanta electric_field_values electric_field_values microphysics_summary->electric_field_values drifted_electrons->microphysics_summary electrons_at_interface electrons_at_interface extracted_electrons->electrons_at_interface clustered_interactions clustered_interactions interactions_in_roi->clustered_interactions volume_properties volume_properties interactions_in_roi->volume_properties volume_selection volume_selection interactions_in_roi->volume_selection quanta->interactions_in_roi quanta->electric_field_values electric_field_values->interactions_in_roi geant4_interactions geant4_interactions clustered_interactions->geant4_interactions cluster_index cluster_index clustered_interactions->cluster_index volume_properties->clustered_interactions volume_selection->volume_properties cluster_index->geant4_interactions electrons_at_interface->microphysics_summary electrons_at_interface->drifted_electrons drifted_delayed_electrons->photo_ionization_electrons delayed_electrons_at_interface delayed_electrons_at_interface extracted_delayed_electrons->delayed_electrons_at_interface photo_ionization_electrons->s2_photons photo_ionization_electrons->microphysics_summary photo_ionization_electrons->extracted_electrons s2_photons_sum s2_photons_sum photo_ionization_electrons->s2_photons_sum s2_photons_sum->microphysics_summary s2_photons_sum->drifted_electrons s2_photons_sum->extracted_electrons delayed_electrons_at_interface->drifted_delayed_electrons delayed_electrons_at_interface->photo_ionization_electrons s1_photon_hits->microphysics_summary