DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
rawdatautils
python
rawdatautils
utilities
wib2
__init__.py
Go to the documentation of this file.
1
import
daqdataformats
2
import
detdataformats
3
4
def
print_header
(wib_frame,prefix="\t"):
5
header = wib_frame.get_header()
6
print(f
'{prefix}Version: {header.version}'
)
7
print(f
'{prefix}Detector ID: {header.detector_id}'
)
8
print(f
'{prefix}(Crate,Slot,Link): ({header.crate},{header.slot},{header.link})'
)
9
print(f
'{prefix}(Timestamp1,Timestamp2): ({header.timestamp_1},{header.timestamp_2})'
)
10
print(f
'{prefix}Colddata Timestamp ID: {header.colddata_timestamp_id}'
)
11
print(f
'{prefix}FEMB Valid: {header.femb_valid}'
)
12
print(f
'{prefix}Link Mask: {header.link_mask}'
)
13
print(f
'{prefix}Lock output status: {header.lock_output_status}'
)
14
print(f
'{prefix}FEMB Pulser Frame Bits: {header.femb_pulser_frame_bits}'
)
15
print(f
'{prefix}FEMB Sync Flags: {header.femb_sync_flags}'
)
16
print(f
'{prefix}Colddata Timestamp: {header.colddata_timestamp}'
)
17
rawdatautils.utilities.wib2.print_header
print_header(wib_frame, prefix="\t")
Definition
__init__.py:4
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0