QCoincidentEvent Class Reference

Inheritance diagram for QCoincidentEvent:

QCoincidentEventD QCoincidentEventR

List of all members.


Detailed Description

container class for quantities relevant for coincidence analysis

Author:
Sergio Di Domizio

Public Member Functions

 QCoincidentEvent ()
 constructor: set all data members to zero
 QCoincidentEvent (const QCoincidentEvent &other)
 copy constructor
virtual ~QCoincidentEvent ()
 destructor
bool operator< (const QCoincidentEvent &other) const
 operator "<" used to sort events by time
bool operator== (const QCoincidentEvent &other) const
 operator "==" used to compare events by event number
unsigned long long GetUniqueId () const
const Cuore::QTime & GetQTime () const
unsigned long long GetTime () const
 get event time in ns from start run
time_t GetStartTime () const
 get time of run start in unix time format
int GetEventNumber () const
 get diana event number
int GetChannel () const
 get logical channel
double GetEnergy () const
 get energy in keV
void SetTime (const Cuore::QTime &time)
 set event time
void SetEventNumber (int evNumber)
 set diana event number
void SetChannel (int channel)
 set logical channel
void SetEnergy (double energy)
 set energy in keV

Protected Attributes

int fEventNumber
int fLgChannel
Cuore::QTime fTime
double fEnergy
unsigned long long fId

Static Protected Attributes

static unsigned long long fIdCounter = 0

Constructor & Destructor Documentation

QCoincidentEvent::QCoincidentEvent ( const QCoincidentEvent other  ) 

copy constructor

Also the unique id is copied from other coincident event


Member Data Documentation

logical channel the event belongs to

Referenced by GetChannel(), QCoincidentEventR::QCoincidentEventR(), and SetChannel().

Cuore::QTime QCoincidentEvent::fTime [protected]

double QCoincidentEvent::fEnergy [protected]

event energy in keV

Referenced by GetEnergy(), QCoincidentEventR::QCoincidentEventR(), and SetEnergy().

unsigned long long QCoincidentEvent::fId [protected]

unique event id


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

Generated on Tue Nov 16 10:50:05 2010 for CUORE Software by  doxygen 1.5.6