LDMX Software
Public Member Functions | Public Attributes | List of all members
hcal::PolarfireEventHeader Struct Reference

Public Member Functions

void board (framework::Event &event, const std::string &prefix)
 board us onto the bus with the input prefix
 

Public Attributes

int version
 version of daq format
 
int fpga
 id for polarfire
 
int nsamples
 number of samples
 
int spill
 spill number
 
int ticks
 number of 5MHz ticks since spill
 
int bunch
 bunch number according to this polarfire
 
int number
 event number according to this polarfire
 
int run
 run number according to this polarfire
 
int DD
 day of month run started
 
int MM
 month run started
 
int hh
 hour run started
 
int mm
 minute run started
 
std::vector< bool > good_bxheader
 quality of link headers
 
std::vector< bool > good_trailer
 quality of link trailers
 

Detailed Description

Definition at line 18 of file HcalRawDecoder.h.

Member Function Documentation

◆ board()

void hcal::PolarfireEventHeader::board ( framework::Event event,
const std::string &  prefix 
)

board us onto the bus with the input prefix

Struct to help interface between raw decoder read function and putting stuff onto event bus.

Definition at line 55 of file HcalRawDecoder.cxx.

56 {
57 {
58 event.add(prefix + "Version", version);
59 event.add(prefix + "FPGA", fpga);
60 event.add(prefix + "NSamples", nsamples);
61 event.add(prefix + "Spill", spill);
62 event.add(prefix + "Ticks", ticks);
63 event.add(prefix + "Bunch", bunch);
64 event.add(prefix + "Number", number);
65 event.add(prefix + "Run", run);
66 event.add(prefix + "DD", DD);
67 event.add(prefix + "MM", MM);
68 event.add(prefix + "hh", hh);
69 event.add(prefix + "mm", mm);
70 event.add(prefix + "GoodLinkHeader", good_bxheader);
71 event.add(prefix + "GoodLinkTrailer", good_trailer);
72 }
73}
int hh
hour run started
int version
version of daq format
std::vector< bool > good_bxheader
quality of link headers
int mm
minute run started
int number
event number according to this polarfire
int ticks
number of 5MHz ticks since spill
int DD
day of month run started
std::vector< bool > good_trailer
quality of link trailers
int fpga
id for polarfire
int nsamples
number of samples
int run
run number according to this polarfire
int MM
month run started
int bunch
bunch number according to this polarfire

References bunch, DD, fpga, good_bxheader, good_trailer, hh, MM, mm, nsamples, number, run, spill, ticks, and version.

Referenced by hcal::HcalRawDecoder::produce().

Member Data Documentation

◆ bunch

int hcal::PolarfireEventHeader::bunch

bunch number according to this polarfire

Definition at line 30 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ DD

int hcal::PolarfireEventHeader::DD

day of month run started

Definition at line 36 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ fpga

int hcal::PolarfireEventHeader::fpga

id for polarfire

Definition at line 22 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ good_bxheader

std::vector<bool> hcal::PolarfireEventHeader::good_bxheader

quality of link headers

Definition at line 44 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ good_trailer

std::vector<bool> hcal::PolarfireEventHeader::good_trailer

quality of link trailers

Definition at line 46 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ hh

int hcal::PolarfireEventHeader::hh

hour run started

Definition at line 40 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ MM

int hcal::PolarfireEventHeader::MM

month run started

Definition at line 38 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ mm

int hcal::PolarfireEventHeader::mm

minute run started

Definition at line 42 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ nsamples

int hcal::PolarfireEventHeader::nsamples

number of samples

Definition at line 24 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ number

int hcal::PolarfireEventHeader::number

event number according to this polarfire

Definition at line 32 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ run

int hcal::PolarfireEventHeader::run

run number according to this polarfire

Definition at line 34 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ spill

int hcal::PolarfireEventHeader::spill

spill number

Definition at line 26 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ ticks

int hcal::PolarfireEventHeader::ticks

number of 5MHz ticks since spill

Definition at line 28 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().

◆ version

int hcal::PolarfireEventHeader::version

version of daq format

Definition at line 20 of file HcalRawDecoder.h.

Referenced by board(), and hcal::HcalRawDecoder::read().


The documentation for this struct was generated from the following files: