QwAnalysis
|
Contains header information of a tracked event. More...
#include <QwEvent.h>
Public Member Functions | |
QwEventHeader () | |
Default constructor. More... | |
QwEventHeader (const UInt_t run, const ULong_t event) | |
Constructor with run and event number. More... | |
QwEventHeader (const QwEventHeader &header) | |
Copy constructor. More... | |
virtual | ~QwEventHeader () |
Destructor. More... | |
void | SetRunNumber (const UInt_t runnumber) |
Set the run number. More... | |
UInt_t | GetRunNumber () const |
Get the run number. More... | |
void | SetEventNumber (const ULong_t eventnumber) |
Set the event number. More... | |
ULong_t | GetEventNumber () const |
Get the event number. More... | |
void | SetEventTime (const ULong_t eventtime) |
Set the event time. More... | |
ULong_t | GetEventTime () const |
Get the event time. More... | |
void | SetEventType (const UInt_t eventtype) |
Set the event type. More... | |
UInt_t | GetEventType () const |
Get the event type. More... | |
void | SetEventTrigger (const UInt_t eventtrigger) |
Set the event trigger. More... | |
UInt_t | GetEventTrigger () const |
Get the event trigger. More... | |
void | SetBeamHelicity (const EQwHelicity helicity) |
Set the beam helicity. More... | |
EQwHelicity | GetBeamHelicity () const |
Get the beam helicity. More... | |
ClassDef (QwEventHeader, 1) | |
![]() | |
QwObjectCounter () | |
Default constructor. More... | |
QwObjectCounter (const QwObjectCounter &) | |
Copy constructor. More... | |
virtual | ~QwObjectCounter () |
Destructor. More... | |
Private Attributes | |
UInt_t | fRunNumber |
Run number. More... | |
ULong_t | fEventNumber |
Event number. More... | |
ULong_t | fEventTime |
Event time (unix time? some time in boost?) More... | |
UInt_t | fEventType |
Event type (probably bit pattern) More... | |
UInt_t | fEventTrigger |
Event trigger (probably bit pattern) More... | |
EQwHelicity | fBeamHelicity |
Beam helicity (from MPS pattern phase) More... | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const QwEventHeader &h) |
Output stream operator. More... | |
Additional Inherited Members | |
![]() | |
static size_t | GetObjectsCreated () |
Get number of objects ever created. More... | |
static size_t | GetObjectsAlive () |
Get number of objects still alive. More... | |
Contains header information of a tracked event.
Objects of this class contain the header information of a tracked event, such as the run number, event number, the trigger type, etc.
|
inline |
Default constructor.
Definition at line 54 of file QwEvent.h.
|
inline |
Constructor with run and event number.
Definition at line 59 of file QwEvent.h.
|
inline |
Copy constructor.
Definition at line 64 of file QwEvent.h.
References fBeamHelicity, fEventNumber, fEventTime, fEventTrigger, fEventType, and fRunNumber.
|
inlinevirtual |
QwEventHeader::ClassDef | ( | QwEventHeader | , |
1 | |||
) |
|
inline |
Get the beam helicity.
Definition at line 106 of file QwEvent.h.
References fBeamHelicity.
|
inline |
|
inline |
Get the event time.
Definition at line 91 of file QwEvent.h.
References fEventTime.
|
inline |
Get the event trigger.
Definition at line 101 of file QwEvent.h.
References fEventTrigger.
|
inline |
Get the event type.
Definition at line 96 of file QwEvent.h.
References fEventType.
|
inline |
|
inline |
Set the beam helicity.
Definition at line 104 of file QwEvent.h.
References fBeamHelicity.
|
inline |
|
inline |
Set the event time.
Definition at line 89 of file QwEvent.h.
References fEventTime.
|
inline |
Set the event trigger.
Definition at line 99 of file QwEvent.h.
References fEventTrigger.
|
inline |
Set the event type.
Definition at line 94 of file QwEvent.h.
References fEventType.
|
inline |
|
friend |
|
private |
Beam helicity (from MPS pattern phase)
Definition at line 49 of file QwEvent.h.
Referenced by GetBeamHelicity(), QwEventHeader(), and SetBeamHelicity().
|
private |
Event number.
Definition at line 43 of file QwEvent.h.
Referenced by GetEventNumber(), operator<<(), QwEventHeader(), and SetEventNumber().
|
private |
Event time (unix time? some time in boost?)
Definition at line 44 of file QwEvent.h.
Referenced by GetEventTime(), QwEventHeader(), and SetEventTime().
|
private |
Event trigger (probably bit pattern)
Definition at line 47 of file QwEvent.h.
Referenced by GetEventTrigger(), QwEventHeader(), and SetEventTrigger().
|
private |
Event type (probably bit pattern)
Definition at line 46 of file QwEvent.h.
Referenced by GetEventType(), QwEventHeader(), and SetEventType().
|
private |
Run number.
Definition at line 41 of file QwEvent.h.
Referenced by GetRunNumber(), operator<<(), QwEventHeader(), and SetRunNumber().