CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
code/src/datafile/iEventPET.cc
Go to the documentation of this file.
1 
9 #include "iEventPET.hh"
10 #include "vDataFile.hh"
11 #include "sOutputManager.hh"
12 
13 // =====================================================================
14 // ---------------------------------------------------------------------
15 // ---------------------------------------------------------------------
16 // =====================================================================
17 
19 {
22  m_eventRdmRate = 0.;
23  m_atnCorrFactor = 1.;
24  m_eventNormFactor = 1.;
25  m_nbLines = 1;
26 }
27 
28 // =====================================================================
29 // ---------------------------------------------------------------------
30 // ---------------------------------------------------------------------
31 // =====================================================================
32 
34 
35 // =====================================================================
36 // ---------------------------------------------------------------------
37 // ---------------------------------------------------------------------
38 // =====================================================================
39 
41 {
43  Cout("iEventPET::Describe() -> Display contents" << endl);
44  Cout("Time: " << m_timeInMs << " ms" << endl);
45  Cout("Number of lines: " << m_nbLines << endl);
46  for (uint16_t l=0; l<m_nbLines; l++) Cout(" --> ID1: " << mp_ID1[l] << " | ID2: " << mp_ID2[l] << endl);
47  Cout("Random rate: " << m_eventRdmRate << endl);
48  Cout("Normalization factor: " << m_eventNormFactor << endl);
49  Cout("ACF: " << m_atnCorrFactor << endl);
50  Cout(flush);
51 }
52 
53 // =====================================================================
54 // ---------------------------------------------------------------------
55 // ---------------------------------------------------------------------
56 // =====================================================================
iEventPET()
iEventPET constructor. Initialize the member variables to their default values.
#define DEBUG_VERBOSE(IGNORED1, IGNORED2)
Mother class for the Event objects.
virtual ~iEventPET()
iEventPET destructor
virtual void Describe()
This function can be used to get a description of the event printed out.
#define Cout(MESSAGE)