Simple structure holding basic parameters needed for correlation of events in the same place.
More...
#include <EventData.hpp>
|
| 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="") |
|
|
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
|
|
Simple structure holding basic parameters needed for correlation of events in the same place.
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: