PulseWindow
Link to source: PulseWindow
Plugin Description
Plugin to compute time intervals (called pulse_windows) in which the
PMT response of photons can overlap.
Additionally a pulse_id is computed
for each propagated photon to identify the pulse window it belongs to.
Technical Details
depends_on = ('photon_summary',)
provides = ('pulse_windows', 'pulse_ids')
data_kind = {'pulse_windows': 'pulse_windows', 'pulse_ids': 'propagated_photons'}
__version__ = 0.2.1
Provided Columns
pulse_windows
Field Name |
Data Type |
Comment |
|---|---|---|
time |
int64 |
Start time since unix epoch [ns] |
length |
int32 |
Length of the interval in samples |
dt |
int16 |
Width of one sample [ns] |
channel |
int16 |
Channel/PMT number |
pulse_id |
int64 |
ID of the pulse window |
pulse_ids
Field Name |
Data Type |
Comment |
|---|---|---|
time |
int64 |
Start time since unix epoch [ns] |
endtime |
int64 |
Exclusive end time since unix epoch [ns] |
pulse_id |
int64 |
Pulse id to map the photon to the pulse window |
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 |
dt |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=sample_duration |
True |
Width of one sample [ns] |
n_tpc_pmts |
<OMITTED> |
True |
Number of PMTs in the TPC |
samples_after_pulse_center |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=samples_after_pulse_center |
True |
Number of samples after the pulse center |
samples_before_pulse_center |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=samples_before_pulse_center |
True |
Number of samples before the pulse center |
samples_to_store_after |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=samples_to_store_after |
True |
Number of samples to store after the pulse center |
samples_to_store_before |
take://resource://SIMULATION_CONFIG_FILE.json?&fmt=json&take=samples_to_store_before |
True |
Number of samples to store before the pulse center |
user_defined_random_seed |
None |
True |
Define the random seed manually. You need to set deterministic_seed to False |