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

#include <MiniballEvts.hh>

Inheritance diagram for IonChamberEvt:

Public Member Functions

 IonChamberEvt ()
 
 ~IonChamberEvt ()
 
void AddIonChamber (float myenergy, unsigned char myid)
 
void ClearEvt ()
 
void SetdETime (unsigned long t)
 
void SetETime (unsigned long t)
 
void SetEnergies (std::vector< float > x)
 
void SetIDs (std::vector< unsigned char > x)
 
unsigned long GetTime ()
 
unsigned long GetdETime ()
 
unsigned long GetETime ()
 
std::vector< float > GetEnergies ()
 
std::vector< unsigned char > GetIDs ()
 
float GetEnergy (unsigned char i)
 
float GetEnergyLoss (unsigned char start=0, unsigned char stop=0)
 
float GetEnergyRest (unsigned char start=1, unsigned char stop=1)
 
float GetEnergyTotal (unsigned char start=0, unsigned char stop=1)
 
int GetID (unsigned char i)
 

Private Attributes

std::vector< float > energy
 differential energy list
 
std::vector< unsigned char > id
 differential id list, i.e. dE = 0, E = 1, for example
 
unsigned long detime
 time stamp of gas event
 
unsigned long etime
 time stamp of silicon event
 

Detailed Description

Definition at line 192 of file MiniballEvts.hh.

Constructor & Destructor Documentation

◆ IonChamberEvt()

IonChamberEvt::IonChamberEvt ( )
inline

Definition at line 197 of file MiniballEvts.hh.

◆ ~IonChamberEvt()

IonChamberEvt::~IonChamberEvt ( )
inline

Definition at line 198 of file MiniballEvts.hh.

Member Function Documentation

◆ AddIonChamber()

void IonChamberEvt::AddIonChamber ( float myenergy,
unsigned char myid )
inline

Definition at line 200 of file MiniballEvts.hh.

◆ ClearEvt()

void IonChamberEvt::ClearEvt ( )

Definition at line 124 of file MiniballEvts.cc.

◆ GetdETime()

unsigned long IonChamberEvt::GetdETime ( )
inline

Definition at line 213 of file MiniballEvts.hh.

◆ GetEnergies()

std::vector< float > IonChamberEvt::GetEnergies ( )
inline

Definition at line 215 of file MiniballEvts.hh.

◆ GetEnergy()

float IonChamberEvt::GetEnergy ( unsigned char i)
inline

Definition at line 218 of file MiniballEvts.hh.

◆ GetEnergyLoss()

float IonChamberEvt::GetEnergyLoss ( unsigned char start = 0,
unsigned char stop = 0 )
inline

Definition at line 223 of file MiniballEvts.hh.

◆ GetEnergyRest()

float IonChamberEvt::GetEnergyRest ( unsigned char start = 1,
unsigned char stop = 1 )
inline

Definition at line 231 of file MiniballEvts.hh.

◆ GetEnergyTotal()

float IonChamberEvt::GetEnergyTotal ( unsigned char start = 0,
unsigned char stop = 1 )
inline

Definition at line 239 of file MiniballEvts.hh.

◆ GetETime()

unsigned long IonChamberEvt::GetETime ( )
inline

Definition at line 214 of file MiniballEvts.hh.

◆ GetID()

int IonChamberEvt::GetID ( unsigned char i)
inline

Definition at line 247 of file MiniballEvts.hh.

Referenced by GetEnergyLoss(), GetEnergyRest(), and GetEnergyTotal().

◆ GetIDs()

std::vector< unsigned char > IonChamberEvt::GetIDs ( )
inline

Definition at line 216 of file MiniballEvts.hh.

◆ GetTime()

unsigned long IonChamberEvt::GetTime ( )
inline

Definition at line 212 of file MiniballEvts.hh.

◆ SetdETime()

void IonChamberEvt::SetdETime ( unsigned long t)
inline

Definition at line 207 of file MiniballEvts.hh.

Referenced by MiniballEvts::AddEvt().

◆ SetEnergies()

void IonChamberEvt::SetEnergies ( std::vector< float > x)
inline

Definition at line 209 of file MiniballEvts.hh.

Referenced by MiniballEvts::AddEvt().

◆ SetETime()

void IonChamberEvt::SetETime ( unsigned long t)
inline

Definition at line 208 of file MiniballEvts.hh.

Referenced by MiniballEvts::AddEvt().

◆ SetIDs()

void IonChamberEvt::SetIDs ( std::vector< unsigned char > x)
inline

Definition at line 210 of file MiniballEvts.hh.

Referenced by MiniballEvts::AddEvt().

Member Data Documentation

◆ detime

unsigned long IonChamberEvt::detime
private

time stamp of gas event

Definition at line 256 of file MiniballEvts.hh.

Referenced by ClearEvt(), GetdETime(), GetTime(), and SetdETime().

◆ energy

std::vector<float> IonChamberEvt::energy
private

differential energy list

Definition at line 254 of file MiniballEvts.hh.

Referenced by AddIonChamber(), ClearEvt(), GetEnergies(), GetEnergy(), GetEnergyLoss(), GetEnergyRest(), GetEnergyTotal(), and SetEnergies().

◆ etime

unsigned long IonChamberEvt::etime
private

time stamp of silicon event

Definition at line 257 of file MiniballEvts.hh.

Referenced by ClearEvt(), GetETime(), and SetETime().

◆ id

std::vector<unsigned char> IonChamberEvt::id
private

differential id list, i.e. dE = 0, E = 1, for example

Definition at line 255 of file MiniballEvts.hh.

Referenced by GetIDs().


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