Class encapsulating a single event on one of the detectors.
More...
#include <PacEvent.h>
List of all members.
Detailed Description
Class encapsulating a single event on one of the detectors.
- Author:
- Matthias Nagl <mnagl@uni-goettingen.de>
Constructor & Destructor Documentation
PacEvent::PacEvent |
( |
unsigned int |
nodeid, |
|
|
qulonglong |
time = 0 , |
|
|
qreal |
energy = 0.0 |
|
) |
| |
PacEvent::PacEvent |
( |
unsigned int |
nodeid, |
|
|
QByteArray |
data |
|
) |
| |
Member Function Documentation
static qint32 PacEvent::byteArrayLength |
( |
| ) |
[inline, static] |
bool PacEvent::correlated |
( |
| ) |
const [inline] |
qreal PacEvent::energy |
( |
| ) |
const [inline] |
qulonglong PacEvent::eventid |
( |
| ) |
const [inline] |
unsigned int PacEvent::nodeid |
( |
| ) |
const [inline] |
bool PacEvent::operator< |
( |
qulonglong |
time | ) |
const [inline] |
bool PacEvent::operator< |
( |
PacEvent |
ev | ) |
const [inline] |
bool PacEvent::operator<= |
( |
qulonglong |
time | ) |
const [inline] |
bool PacEvent::operator<= |
( |
PacEvent |
ev | ) |
const [inline] |
bool PacEvent::operator> |
( |
PacEvent |
ev | ) |
const [inline] |
bool PacEvent::operator>= |
( |
PacEvent |
ev | ) |
const [inline] |
void PacEvent::setCorrelated |
( |
bool |
corr | ) |
[inline] |
void PacEvent::setEventId |
( |
qulonglong |
eventid | ) |
[inline] |
qulonglong PacEvent::time |
( |
| ) |
const [inline] |
const QByteArray PacEvent::toByteArray |
( |
| ) |
const |
Gibt Daten als QByteArray zurück zum binären abspeichern. Length: 17byte. 1byte/uint8/nid, 8byte/uint64/time, 8byte/double/energy.
WARNING: If the output length of this method is changed byteArrayLength() must be updated!!
The documentation for this class was generated from the following files: