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 21 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 27 of file utils.py.

27 def get_element_id_from_offline_channel(ch):
28 return 0xffff

◆ get_element_name_from_offline_channel()

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

Definition at line 29 of file utils.py.

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

◆ 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 23 of file utils.py.

23 def get_offline_channel_from_det_crate_slot_stream_chan(det, crate, slot, stream, ch):
24 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 25 of file utils.py.

25 def get_plane_from_offline_channel(ch):
26 return -1

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