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

#include <DataPackets.hh>

Inheritance diagram for AdcData:

Public Member Functions

 AdcData ()
 
 ~AdcData ()
 
void ClearData ()
 
void SetEventID (unsigned long long int id)
 
void SetTime (long long t)
 
void SetQshort (unsigned short q)
 
void SetEnergy (float e)
 
void SetModule (unsigned char m)
 
void SetChannel (unsigned char c)
 
void SetThreshold (bool t)
 
void SetClipped (bool c)
 
long long GetTime ()
 
unsigned char GetModule ()
 
unsigned char GetChannel ()
 
unsigned long long int GetEventID ()
 
unsigned int GetQshort ()
 
float GetEnergy ()
 
bool IsOverThreshold ()
 
bool IsClipped ()
 

Protected Attributes

unsigned long long int eventid
 
long long time
 
float energy
 
unsigned short Qshort
 
unsigned char mod
 module number of ADC
 
unsigned char ch
 channel number of ADC
 
bool thres
 is the energy over threshold?
 
bool clipped
 is the ADC value over range?
 

Detailed Description

Definition at line 146 of file DataPackets.hh.

Constructor & Destructor Documentation

◆ AdcData()

AdcData::AdcData ( )
inline

Definition at line 150 of file DataPackets.hh.

◆ ~AdcData()

AdcData::~AdcData ( )
inline

Definition at line 151 of file DataPackets.hh.

Member Function Documentation

◆ ClearData()

void AdcData::ClearData ( )

Definition at line 213 of file DataPackets.cc.

◆ GetChannel()

unsigned char AdcData::GetChannel ( )
inline

Definition at line 168 of file DataPackets.hh.

◆ GetEnergy()

float AdcData::GetEnergy ( )
inline

Definition at line 171 of file DataPackets.hh.

◆ GetEventID()

unsigned long long int AdcData::GetEventID ( )
inline

Definition at line 169 of file DataPackets.hh.

◆ GetModule()

unsigned char AdcData::GetModule ( )
inline

Definition at line 167 of file DataPackets.hh.

◆ GetQshort()

unsigned int AdcData::GetQshort ( )
inline

Definition at line 170 of file DataPackets.hh.

◆ GetTime()

long long AdcData::GetTime ( )
inline

Definition at line 166 of file DataPackets.hh.

◆ IsClipped()

bool AdcData::IsClipped ( )
inline

Definition at line 173 of file DataPackets.hh.

◆ IsOverThreshold()

bool AdcData::IsOverThreshold ( )
inline

Definition at line 172 of file DataPackets.hh.

◆ SetChannel()

void AdcData::SetChannel ( unsigned char c)
inline

Definition at line 161 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetClipped()

void AdcData::SetClipped ( bool c)
inline

Definition at line 163 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetEnergy()

void AdcData::SetEnergy ( float e)
inline

Definition at line 159 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetEventID()

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

Definition at line 156 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetModule()

void AdcData::SetModule ( unsigned char m)
inline

Definition at line 160 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetQshort()

void AdcData::SetQshort ( unsigned short q)
inline

Definition at line 158 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetThreshold()

void AdcData::SetThreshold ( bool t)
inline

Definition at line 162 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

◆ SetTime()

void AdcData::SetTime ( long long t)
inline

Definition at line 157 of file DataPackets.hh.

Referenced by MiniballDataPackets::SetData().

Member Data Documentation

◆ ch

unsigned char AdcData::ch
protected

channel number of ADC

Definition at line 182 of file DataPackets.hh.

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

◆ clipped

bool AdcData::clipped
protected

is the ADC value over range?

Definition at line 184 of file DataPackets.hh.

Referenced by IsClipped(), and SetClipped().

◆ energy

float AdcData::energy
protected

Definition at line 179 of file DataPackets.hh.

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

◆ eventid

unsigned long long int AdcData::eventid
protected

Definition at line 177 of file DataPackets.hh.

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

◆ mod

unsigned char AdcData::mod
protected

module number of ADC

Definition at line 181 of file DataPackets.hh.

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

◆ Qshort

unsigned short AdcData::Qshort
protected

Definition at line 180 of file DataPackets.hh.

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

◆ thres

bool AdcData::thres
protected

is the energy over threshold?

Definition at line 183 of file DataPackets.hh.

Referenced by IsOverThreshold(), and SetThreshold().

◆ time

long long AdcData::time
protected

Definition at line 178 of file DataPackets.hh.

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


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