|
PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
Simple structure holding basic parameters needed for correlation of events in the same place. More...
#include <EventData.hpp>

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... | |
Simple structure holding basic parameters needed for correlation of events in the same place.
Definition at line 12 of file EventData.hpp.
|
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.
| [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.
|
inline |
Time, energy, location type of constructor
| [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.
| double EventData::energy |
the energy of the event
Definition at line 48 of file EventData.hpp.
| int EventData::location |
the location of the detector
Definition at line 49 of file EventData.hpp.
| bool EventData::status |
the status of the event
Definition at line 46 of file EventData.hpp.
| double EventData::time |
the time of the event
Definition at line 47 of file EventData.hpp.
| std::string EventData::type |
the detector type
Definition at line 50 of file EventData.hpp.