straxen.plugins.events_nv package
Submodules
straxen.plugins.events_nv.event_positions_nv module
- class straxen.plugins.events_nv.event_positions_nv.nVETOEventPositions[source]
Bases:
Plugin
Plugin which computes the interaction position in the nveto as an azimuthal angle.
- compressor = 'zstd'
- nveto_pmt_position_map
Dispatch on URL protocol.
unrecognized protocol returns identity inspired by dasks Dispatch and fsspec fs protocols.
- position_max_time_nv
Dispatch on URL protocol.
unrecognized protocol returns identity inspired by dasks Dispatch and fsspec fs protocols.
- takes_config = immutabledict({'position_max_time_nv': <straxen.url_config.URLConfig object>, 'nveto_pmt_position_map': <straxen.url_config.URLConfig object>})
straxen.plugins.events_nv.events_nv module
- straxen.plugins.events_nv.events_nv.find_veto_events(hitlets: ndarray, coincidence_level: int, resolving_time: int, left_extension: int, event_number_key: str = 'event_number_nv', n_channel: int = 120) Tuple[ndarray, ndarray] [source]
Function which find the veto events as a nfold concidence in a given resolving time window. All hitlets which touch the event window contribute.
- Parameters:
hitlets – Hitlets which shall be used for event creation.
coincidence_level – int, coincidence level.
resolving_time – int, resolving window for coincidence in ns.
left_extension – int, left event extension in ns.
event_number_key – str, field name for the event number
n_channel – int, number of channels in detector.
- Returns:
events, hitelt_ids_per_event
- class straxen.plugins.events_nv.events_nv.nVETOEvents[source]
Bases:
OverlapWindowPlugin
Plugin which computes the boundaries of veto events.
- channel_map
Dispatch on URL protocol.
unrecognized protocol returns identity inspired by dasks Dispatch and fsspec fs protocols.
- compressor = 'zstd'
- event_left_extension_nv
Dispatch on URL protocol.
unrecognized protocol returns identity inspired by dasks Dispatch and fsspec fs protocols.
- event_min_hits_nv
Dispatch on URL protocol.
unrecognized protocol returns identity inspired by dasks Dispatch and fsspec fs protocols.
- event_resolving_time_nv
Dispatch on URL protocol.
unrecognized protocol returns identity inspired by dasks Dispatch and fsspec fs protocols.
- events_seen = 0
- takes_config = immutabledict({'event_left_extension_nv': <straxen.url_config.URLConfig object>, 'event_resolving_time_nv': <straxen.url_config.URLConfig object>, 'event_min_hits_nv': <straxen.url_config.URLConfig object>, 'channel_map': <straxen.url_config.URLConfig object>})