LDMX Software
Public Member Functions | Public Attributes | List of all members
packing::WRBinaryPacket Struct Reference

Public Member Functions

utility::Readerread (utility::Reader &r)
 
void add (framework::Event &event, const std::string &name)
 

Public Attributes

int runNumber
 
int WRCounter
 
int channel
 
int seq_id
 
int sec
 
int coarse
 
int frac
 

Detailed Description

Definition at line 15 of file WRRawDecoder.cxx.

Member Function Documentation

◆ add()

void packing::WRBinaryPacket::add ( framework::Event event,
const std::string &  name 
)
inline

Definition at line 27 of file WRRawDecoder.cxx.

27 {
28 event.add(name + "RunNumber", runNumber);
29 event.add(name + "Counter", WRCounter);
30 event.add(name + "Channel", channel);
31 event.add(name + "SeqId", seq_id);
32 event.add(name + "Sec", sec);
33 event.add(name + "Coarse", coarse);
34 event.add(name + "Frac", frac);
35 }

◆ read()

utility::Reader & packing::WRBinaryPacket::read ( utility::Reader r)
inline

Definition at line 23 of file WRRawDecoder.cxx.

23 {
24 return r >> runNumber >> WRCounter >> channel >> seq_id >> sec >> coarse >>
25 frac;
26 }

Member Data Documentation

◆ channel

int packing::WRBinaryPacket::channel

Definition at line 18 of file WRRawDecoder.cxx.

◆ coarse

int packing::WRBinaryPacket::coarse

Definition at line 21 of file WRRawDecoder.cxx.

◆ frac

int packing::WRBinaryPacket::frac

Definition at line 22 of file WRRawDecoder.cxx.

◆ runNumber

int packing::WRBinaryPacket::runNumber

Definition at line 16 of file WRRawDecoder.cxx.

◆ sec

int packing::WRBinaryPacket::sec

Definition at line 20 of file WRRawDecoder.cxx.

◆ seq_id

int packing::WRBinaryPacket::seq_id

Definition at line 19 of file WRRawDecoder.cxx.

◆ WRCounter

int packing::WRBinaryPacket::WRCounter

Definition at line 17 of file WRRawDecoder.cxx.


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