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

#include <DataPackets.hh>

Inheritance diagram for MBSInfoPackets:

Public Member Functions

 MBSInfoPackets ()
 
 ~MBSInfoPackets ()
 
void ClearData ()
 
long long int GetTime ()
 
unsigned long long int GetEventID ()
 
void SetTime (long long int t)
 
void SetEventID (unsigned long long int id)
 
void AddPattern (PatternUnitData p)
 
void AddPattern (unsigned char _mod, unsigned char _id, unsigned int _val)
 
unsigned int GetPatternValue (unsigned char mod, unsigned char id)
 
unsigned int GetPatternValue (unsigned char id)
 
PatternUnitData GetPattern (unsigned char id)
 
void AddScaler (ScalerUnitData s)
 
void AddScaler (unsigned char _id, unsigned int _val)
 
unsigned int GetScalerValue (unsigned char id)
 
ScalerUnitData GetScaler (unsigned char id)
 
void AddDgfScaler (DgfScalerData s)
 
DgfScalerData GetDgfScaler (unsigned char mod)
 

Protected Attributes

long long int time
 timestamp of info event
 
unsigned long long int eventid
 timestamp of info event
 
std::vector< PatternUnitDatapatterns
 pattern unit data
 
std::vector< ScalerUnitDatascalers
 scaler unit data
 
std::vector< DgfScalerDatadgfscalers
 DGF scaler data.
 

Detailed Description

Definition at line 484 of file DataPackets.hh.

Constructor & Destructor Documentation

◆ MBSInfoPackets()

MBSInfoPackets::MBSInfoPackets ( )
inline

Definition at line 488 of file DataPackets.hh.

◆ ~MBSInfoPackets()

MBSInfoPackets::~MBSInfoPackets ( )
inline

Definition at line 495 of file DataPackets.hh.

Member Function Documentation

◆ AddDgfScaler()

void MBSInfoPackets::AddDgfScaler ( DgfScalerData s)
inline

Definition at line 572 of file DataPackets.hh.

◆ AddPattern() [1/2]

void MBSInfoPackets::AddPattern ( PatternUnitData p)
inline

Definition at line 506 of file DataPackets.hh.

Referenced by AddPattern().

◆ AddPattern() [2/2]

void MBSInfoPackets::AddPattern ( unsigned char _mod,
unsigned char _id,
unsigned int _val )
inline

Definition at line 509 of file DataPackets.hh.

◆ AddScaler() [1/2]

void MBSInfoPackets::AddScaler ( ScalerUnitData s)
inline

Definition at line 545 of file DataPackets.hh.

Referenced by AddScaler().

◆ AddScaler() [2/2]

void MBSInfoPackets::AddScaler ( unsigned char _id,
unsigned int _val )
inline

Definition at line 546 of file DataPackets.hh.

◆ ClearData()

void MBSInfoPackets::ClearData ( )

Definition at line 288 of file DataPackets.cc.

◆ GetDgfScaler()

DgfScalerData MBSInfoPackets::GetDgfScaler ( unsigned char mod)
inline

Definition at line 575 of file DataPackets.hh.

◆ GetEventID()

unsigned long long int MBSInfoPackets::GetEventID ( )
inline

◆ GetPattern()

PatternUnitData MBSInfoPackets::GetPattern ( unsigned char id)
inline

Definition at line 533 of file DataPackets.hh.

◆ GetPatternValue() [1/2]

unsigned int MBSInfoPackets::GetPatternValue ( unsigned char id)
inline

Definition at line 523 of file DataPackets.hh.

◆ GetPatternValue() [2/2]

unsigned int MBSInfoPackets::GetPatternValue ( unsigned char mod,
unsigned char id )
inline

Definition at line 513 of file DataPackets.hh.

Referenced by MiniballEventBuilder::BuildEvents().

◆ GetScaler()

ScalerUnitData MBSInfoPackets::GetScaler ( unsigned char id)
inline

Definition at line 560 of file DataPackets.hh.

◆ GetScalerValue()

unsigned int MBSInfoPackets::GetScalerValue ( unsigned char id)
inline

Definition at line 550 of file DataPackets.hh.

◆ GetTime()

long long int MBSInfoPackets::GetTime ( )
inline

◆ SetEventID()

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

Definition at line 503 of file DataPackets.hh.

◆ SetTime()

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

Definition at line 502 of file DataPackets.hh.

Member Data Documentation

◆ dgfscalers

std::vector<DgfScalerData> MBSInfoPackets::dgfscalers
protected

DGF scaler data.

Definition at line 593 of file DataPackets.hh.

Referenced by AddDgfScaler(), ClearData(), GetDgfScaler(), and MBSInfoPackets().

◆ eventid

unsigned long long int MBSInfoPackets::eventid
protected

timestamp of info event

Definition at line 590 of file DataPackets.hh.

Referenced by ClearData(), GetEventID(), MBSInfoPackets(), and SetEventID().

◆ patterns

std::vector<PatternUnitData> MBSInfoPackets::patterns
protected

pattern unit data

Definition at line 591 of file DataPackets.hh.

Referenced by AddPattern(), ClearData(), GetPattern(), GetPatternValue(), GetPatternValue(), and MBSInfoPackets().

◆ scalers

std::vector<ScalerUnitData> MBSInfoPackets::scalers
protected

scaler unit data

Definition at line 592 of file DataPackets.hh.

Referenced by AddScaler(), ClearData(), GetScaler(), GetScalerValue(), and MBSInfoPackets().

◆ time

long long int MBSInfoPackets::time
protected

timestamp of info event

Definition at line 589 of file DataPackets.hh.

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


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