DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
rawdatautils.unpack.utils.NullChannelMap Class Reference

Public Member Functions

 get_offline_channel_from_det_crate_slot_stream_chan (det, crate, slot, stream, ch)
 
 get_plane_from_offline_channel (ch)
 
 get_element_id_from_offline_channel (ch)
 
 get_element_name_from_offline_channel (ch)
 

Detailed Description

Definition at line 22 of file utils.py.

Member Function Documentation

◆ get_element_id_from_offline_channel()

rawdatautils.unpack.utils.NullChannelMap.get_element_id_from_offline_channel ( ch)

Definition at line 28 of file utils.py.

28 def get_element_id_from_offline_channel(ch):
29 return 0xffff

◆ get_element_name_from_offline_channel()

rawdatautils.unpack.utils.NullChannelMap.get_element_name_from_offline_channel ( ch)

Definition at line 30 of file utils.py.

30 def get_element_name_from_offline_channel(ch):
31 return "Null"
32

◆ get_offline_channel_from_det_crate_slot_stream_chan()

rawdatautils.unpack.utils.NullChannelMap.get_offline_channel_from_det_crate_slot_stream_chan ( det,
crate,
slot,
stream,
ch )

Definition at line 24 of file utils.py.

24 def get_offline_channel_from_det_crate_slot_stream_chan(det, crate, slot, stream, ch):
25 return (ch + (stream << 10 ) + (slot << 18 ) + (crate << 22))

◆ get_plane_from_offline_channel()

rawdatautils.unpack.utils.NullChannelMap.get_plane_from_offline_channel ( ch)

Definition at line 26 of file utils.py.

26 def get_plane_from_offline_channel(ch):
27 return -1

The documentation for this class was generated from the following file: