CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
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  for (int d=0; d<m_nbCustomINTData; d++) if (mp_customINTData != NULL) Cout(" --> Custom INT data "<<d+1<<"/"<<m_nbCustomINTData<< " : " << mp_customINTData[ d ] << endl);
51  for (int d=0; d<m_nbCustomFLTData; d++) if (mp_customFLTData != NULL) Cout(" --> Custom FLT data "<<d+1<<"/"<<m_nbCustomFLTData<< " : " << mp_customFLTData[ d ] << endl);
52  Cout(flush);
53 }
54 
55 // =====================================================================
56 // ---------------------------------------------------------------------
57 // ---------------------------------------------------------------------
58 // =====================================================================
iEventPET()
iEventPET constructor. Initialize the member variables to their default values.
EVTFLTDATA * mp_customFLTData
EVTINTDATA * mp_customINTData
#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)