Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
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
 
double time
 the time of the event
 
double energy
 the energy of the event
 
int location
 the location of the detector
 
std::string type
 the detector type
 

Detailed Description

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

Constructor & Destructor Documentation

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]penergy: the energy to set
[in]plocation: the location to set
[in]pstatus: the status to set
[in]ptype: the type to set
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

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