straxen.plugins.ref_mon_nv package

Submodules

straxen.plugins.ref_mon_nv.ref_mon_nv module

class straxen.plugins.ref_mon_nv.ref_mon_nv.nVeto_reflectivity[source]

Bases: Plugin

Plugin which computes parameters used for the Reflectivity Monitor for the Neutron Veto.

From the raw records, the start time of each trigger window is extracted (by taking the smallest “time” of all the channels)

Using the hitlets, the delta times wrt the beginning of the trigger are computed

Cuts can be made in area (of all the hitlets), time (since the beginning of the trigger window) and number of contributing PMTs (in each window)

The returned values are the delta times (used for the reflectivity), PMT channels and areas

compressor = 'zstd'
compute(raw_records_nv, hitlets_nv)[source]
data_kind: Union[str, immutabledict, dict] = 'ref_mon_nv'
depends_on: Union[str, tuple, list] = ('raw_records_nv', 'hitlets_nv')
dtype: Union[tuple, np.dtype, immutabledict, dict] = [(('Start time since unix epoch [ns]', 'time'), <class 'numpy.int64'>), (('Exclusive end time since unix epoch [ns]', 'endtime'), <class 'numpy.int64'>), (('Time with respect to the precedent trigger [ns]', 'time_since_trigger'), <class 'numpy.int32'>), (('Channel of the hit', 'channel'), <class 'numpy.int16'>), (('Area of the hit [PE]', 'area'), <class 'numpy.float32'>), (('Number of event', 'number'), <class 'numpy.int32'>)]
parallel: Union[str, bool] = 'process'
provides: Union[str, tuple, list] = ('ref_mon_nv',)
rechunk_on_save = True

Module contents