MiniballSort
Loading...
Searching...
No Matches
InfoData Class Reference

#include <DataPackets.hh>

Inheritance diagram for InfoData:

Public Member Functions

 InfoData ()
 
 InfoData (long long int t, unsigned long long int id, unsigned char s, unsigned char b, unsigned char m)
 
 ~InfoData ()
 
long long int GetTime ()
 
unsigned long long int GetEventID ()
 
unsigned char GetCode ()
 
unsigned char GetSfp ()
 
unsigned char GetBoard ()
 
void SetTime (long long int t)
 
void SetEventID (unsigned long long int id)
 
void SetCode (unsigned char c)
 
void SetSfp (unsigned char s)
 
void SetBoard (unsigned char b)
 
void ClearData ()
 

Protected Attributes

long long int time
 timestamp of info event
 
unsigned long long int eventid
 timestamp of info event
 
unsigned char code
 code here represents which information timestamp we have
 
unsigned char sfp
 SFP ID of the event.
 
unsigned char board
 

Detailed Description

Definition at line 368 of file DataPackets.hh.

Constructor & Destructor Documentation

◆ InfoData() [1/2]

InfoData::InfoData ( )
inline

Definition at line 372 of file DataPackets.hh.

◆ InfoData() [2/2]

InfoData::InfoData ( long long int t,
unsigned long long int id,
unsigned char s,
unsigned char b,
unsigned char m )

Definition at line 21 of file DataPackets.cc.

◆ ~InfoData()

InfoData::~InfoData ( )
inline

Definition at line 380 of file DataPackets.hh.

Member Function Documentation

◆ ClearData()

void InfoData::ClearData ( )

Definition at line 277 of file DataPackets.cc.

◆ GetBoard()

unsigned char InfoData::GetBoard ( )
inline

Definition at line 386 of file DataPackets.hh.

◆ GetCode()

unsigned char InfoData::GetCode ( )
inline

Definition at line 384 of file DataPackets.hh.

◆ GetEventID()

unsigned long long int InfoData::GetEventID ( )
inline

Definition at line 383 of file DataPackets.hh.

◆ GetSfp()

unsigned char InfoData::GetSfp ( )
inline

Definition at line 385 of file DataPackets.hh.

◆ GetTime()

long long int InfoData::GetTime ( )
inline

Definition at line 382 of file DataPackets.hh.

◆ SetBoard()

void InfoData::SetBoard ( unsigned char b)
inline

Definition at line 392 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetCode()

void InfoData::SetCode ( unsigned char c)
inline

Definition at line 390 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetEventID()

void InfoData::SetEventID ( unsigned long long int id)
inline

Definition at line 389 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetSfp()

void InfoData::SetSfp ( unsigned char s)
inline

Definition at line 391 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetTime()

void InfoData::SetTime ( long long int t)
inline

Definition at line 388 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

Member Data Documentation

◆ board

unsigned char InfoData::board
protected

board ID of the event

Definition at line 402 of file DataPackets.hh.

Referenced by ClearData(), GetBoard(), InfoData(), and SetBoard().

◆ code

unsigned char InfoData::code
protected

code here represents which information timestamp we have

Definition at line 400 of file DataPackets.hh.

Referenced by ClearData(), GetCode(), InfoData(), and SetCode().

◆ eventid

unsigned long long int InfoData::eventid
protected

timestamp of info event

Definition at line 399 of file DataPackets.hh.

Referenced by GetEventID(), InfoData(), and SetEventID().

◆ sfp

unsigned char InfoData::sfp
protected

SFP ID of the event.

Definition at line 401 of file DataPackets.hh.

Referenced by ClearData(), GetSfp(), InfoData(), and SetSfp().

◆ time

long long int InfoData::time
protected

timestamp of info event

Definition at line 398 of file DataPackets.hh.

Referenced by ClearData(), GetTime(), InfoData(), and SetTime().


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