PAASS
Software suite to Acquire and Analyze Data from Pixie16
EventData Class Reference

Simple structure holding basic parameters needed for correlation of events in the same place. More...

#include <EventData.hpp>

Collaboration diagram for EventData:

Public Member Functions

 EventData (double ptime, bool pstatus=true, double penergy=0, int plocation=-1, std::string ptype="")
 
 EventData (double ptime, double penergy, int plocation=-1, bool pstatus=true, std::string ptype="")
 

Data Fields

bool status
 the status of the event More...
 
double time
 the time of the event More...
 
double energy
 the energy of the event More...
 
int location
 the location of the detector More...
 
std::string type
 the detector type More...
 

Detailed Description

Simple structure holding basic parameters needed for correlation of events in the same place.

Definition at line 12 of file EventData.hpp.

Constructor & Destructor Documentation

§ EventData() [1/2]

EventData::EventData ( double  ptime,
bool  pstatus = true,
double  penergy = 0,
int  plocation = -1,
std::string  ptype = "" 
)
inline

Time is always needed, by default status is true, Energy is 0 (i.e. N/A), location -1 (N/A), and event type is an empty string.

Parameters
[in]ptime: the time to set
[in]pstatus: the status to set
[in]penergy: the energy to set
[in]plocation: the location to set
[in]ptype: the type to set

Definition at line 22 of file EventData.hpp.

§ EventData() [2/2]

EventData::EventData ( double  ptime,
double  penergy,
int  plocation = -1,
bool  pstatus = true,
std::string  ptype = "" 
)
inline

Time, energy, location type of constructor

Parameters
[in]ptime: the time to set
[in]penergy: the energy to set
[in]plocation: the location to set
[in]pstatus: the status to set
[in]ptype: the type to set

Definition at line 37 of file EventData.hpp.

Field Documentation

§ energy

double EventData::energy

the energy of the event

Definition at line 48 of file EventData.hpp.

§ location

int EventData::location

the location of the detector

Definition at line 49 of file EventData.hpp.

§ status

bool EventData::status

the status of the event

Definition at line 46 of file EventData.hpp.

§ time

double EventData::time

the time of the event

Definition at line 47 of file EventData.hpp.

§ type

std::string EventData::type

the detector type

Definition at line 50 of file EventData.hpp.


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