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

#include <DataPackets.hh>

Inheritance diagram for DgfData:

Public Member Functions

 DgfData ()
 
 ~DgfData ()
 
void ClearData ()
 
void SetEventID (unsigned long long int id)
 
void SetHitPattern (unsigned short hp)
 
void SetEventTime (long long time)
 
void SetQshort (unsigned short q)
 
void SetEnergy (float e)
 
void SetRunTime (unsigned short time)
 
void SetFastTriggerTime (unsigned short time)
 
void SetLongFastTriggerTime (long long time)
 
void SetUserValues (std::vector< unsigned short > q)
 
void SetTrace (std::vector< unsigned short > t)
 
void AddSample (unsigned short s)
 
void SetModule (unsigned char m)
 
void SetChannel (unsigned char c)
 
void SetThreshold (bool t)
 
long long GetTime ()
 
long long GetEventTime ()
 
long long GetLongFastTriggerTime ()
 
unsigned short GetFastTriggerTime ()
 
unsigned short GetRunTime ()
 
unsigned char GetModule ()
 
unsigned char GetChannel ()
 
unsigned long long int GetEventID ()
 
unsigned int GetQshort ()
 
float GetEnergy ()
 
unsigned short GetHitPattern ()
 
std::vector< unsigned short > GetUserValues ()
 
bool IsOverThreshold ()
 
unsigned short GetTraceLength ()
 
std::vector< unsigned short > GetTrace ()
 
TGraph * GetTraceGraph ()
 
unsigned short GetSample (unsigned int i=0)
 

Protected Attributes

unsigned long long int eventid
 
long long EventTime
 
unsigned short RunTime
 
float energy
 
unsigned short Qshort
 
unsigned short HitPattern
 
unsigned short FastTriggerTime
 
long long LongFastTriggerTime
 
unsigned char mod
 module number of DGF
 
unsigned char ch
 channel number of DGF
 
std::vector< unsigned short > UserValues
 
std::vector< unsigned short > trace
 
bool thres
 is the energy over threshold?
 

Detailed Description

Definition at line 190 of file DataPackets.hh.

Constructor & Destructor Documentation

◆ DgfData()

DgfData::DgfData ( )
inline

Definition at line 194 of file DataPackets.hh.

◆ ~DgfData()

DgfData::~DgfData ( )
inline

Definition at line 195 of file DataPackets.hh.

Member Function Documentation

◆ AddSample()

void DgfData::AddSample ( unsigned short s)
inline

Definition at line 211 of file DataPackets.hh.

◆ ClearData()

void DgfData::ClearData ( )

Definition at line 224 of file DataPackets.cc.

◆ GetChannel()

unsigned char DgfData::GetChannel ( )
inline

Definition at line 223 of file DataPackets.hh.

Referenced by GetTraceGraph().

◆ GetEnergy()

float DgfData::GetEnergy ( )
inline

Definition at line 226 of file DataPackets.hh.

◆ GetEventID()

unsigned long long int DgfData::GetEventID ( )
inline

Definition at line 224 of file DataPackets.hh.

◆ GetEventTime()

long long DgfData::GetEventTime ( )
inline

Definition at line 218 of file DataPackets.hh.

◆ GetFastTriggerTime()

unsigned short DgfData::GetFastTriggerTime ( )
inline

Definition at line 220 of file DataPackets.hh.

◆ GetHitPattern()

unsigned short DgfData::GetHitPattern ( )
inline

Definition at line 227 of file DataPackets.hh.

◆ GetLongFastTriggerTime()

long long DgfData::GetLongFastTriggerTime ( )
inline

Definition at line 219 of file DataPackets.hh.

Referenced by GetTime().

◆ GetModule()

unsigned char DgfData::GetModule ( )
inline

Definition at line 222 of file DataPackets.hh.

Referenced by GetTraceGraph().

◆ GetQshort()

unsigned int DgfData::GetQshort ( )
inline

Definition at line 225 of file DataPackets.hh.

◆ GetRunTime()

unsigned short DgfData::GetRunTime ( )
inline

Definition at line 221 of file DataPackets.hh.

◆ GetSample()

unsigned short DgfData::GetSample ( unsigned int i = 0)
inline

Definition at line 246 of file DataPackets.hh.

Referenced by GetTraceGraph().

◆ GetTime()

long long DgfData::GetTime ( )
inline

Definition at line 217 of file DataPackets.hh.

◆ GetTrace()

std::vector< unsigned short > DgfData::GetTrace ( )
inline

Definition at line 231 of file DataPackets.hh.

◆ GetTraceGraph()

TGraph * DgfData::GetTraceGraph ( )
inline

Definition at line 232 of file DataPackets.hh.

◆ GetTraceLength()

unsigned short DgfData::GetTraceLength ( )
inline

Definition at line 230 of file DataPackets.hh.

Referenced by GetTraceGraph().

◆ GetUserValues()

std::vector< unsigned short > DgfData::GetUserValues ( )
inline

Definition at line 228 of file DataPackets.hh.

◆ IsOverThreshold()

bool DgfData::IsOverThreshold ( )
inline

Definition at line 229 of file DataPackets.hh.

◆ SetChannel()

void DgfData::SetChannel ( unsigned char c)
inline

Definition at line 213 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetEnergy()

void DgfData::SetEnergy ( float e)
inline

Definition at line 205 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetEventID()

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

Definition at line 201 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetEventTime()

void DgfData::SetEventTime ( long long time)
inline

Definition at line 203 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetFastTriggerTime()

void DgfData::SetFastTriggerTime ( unsigned short time)
inline

Definition at line 207 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetHitPattern()

void DgfData::SetHitPattern ( unsigned short hp)
inline

Definition at line 202 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetLongFastTriggerTime()

void DgfData::SetLongFastTriggerTime ( long long time)
inline

Definition at line 208 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetModule()

void DgfData::SetModule ( unsigned char m)
inline

Definition at line 212 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetQshort()

void DgfData::SetQshort ( unsigned short q)
inline

Definition at line 204 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetRunTime()

void DgfData::SetRunTime ( unsigned short time)
inline

Definition at line 206 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetThreshold()

void DgfData::SetThreshold ( bool t)
inline

Definition at line 214 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetTrace()

void DgfData::SetTrace ( std::vector< unsigned short > t)
inline

Definition at line 210 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetUserValues()

void DgfData::SetUserValues ( std::vector< unsigned short > q)
inline

Definition at line 209 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

Member Data Documentation

◆ ch

unsigned char DgfData::ch
protected

channel number of DGF

Definition at line 265 of file DataPackets.hh.

Referenced by ClearData(), GetChannel(), and SetChannel().

◆ energy

float DgfData::energy
protected

Definition at line 259 of file DataPackets.hh.

Referenced by ClearData(), GetEnergy(), and SetEnergy().

◆ eventid

unsigned long long int DgfData::eventid
protected

Definition at line 256 of file DataPackets.hh.

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

◆ EventTime

long long DgfData::EventTime
protected

Definition at line 257 of file DataPackets.hh.

Referenced by ClearData(), GetEventTime(), and SetEventTime().

◆ FastTriggerTime

unsigned short DgfData::FastTriggerTime
protected

Definition at line 262 of file DataPackets.hh.

Referenced by ClearData(), GetFastTriggerTime(), and SetFastTriggerTime().

◆ HitPattern

unsigned short DgfData::HitPattern
protected

Definition at line 261 of file DataPackets.hh.

Referenced by GetHitPattern(), and SetHitPattern().

◆ LongFastTriggerTime

long long DgfData::LongFastTriggerTime
protected

Definition at line 263 of file DataPackets.hh.

Referenced by ClearData(), GetLongFastTriggerTime(), and SetLongFastTriggerTime().

◆ mod

unsigned char DgfData::mod
protected

module number of DGF

Definition at line 264 of file DataPackets.hh.

Referenced by ClearData(), GetModule(), and SetModule().

◆ Qshort

unsigned short DgfData::Qshort
protected

Definition at line 260 of file DataPackets.hh.

Referenced by ClearData(), GetQshort(), and SetQshort().

◆ RunTime

unsigned short DgfData::RunTime
protected

Definition at line 258 of file DataPackets.hh.

Referenced by GetRunTime(), and SetRunTime().

◆ thres

bool DgfData::thres
protected

is the energy over threshold?

Definition at line 268 of file DataPackets.hh.

Referenced by IsOverThreshold(), and SetThreshold().

◆ trace

std::vector<unsigned short> DgfData::trace
protected

Definition at line 267 of file DataPackets.hh.

Referenced by AddSample(), ClearData(), GetSample(), GetTrace(), GetTraceLength(), and SetTrace().

◆ UserValues

std::vector<unsigned short> DgfData::UserValues
protected

Definition at line 266 of file DataPackets.hh.

Referenced by ClearData(), GetUserValues(), and SetUserValues().


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