CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
src/datafile/iEventCT.cc
Go to the documentation of this file.
1 
9 #include "iEventCT.hh"
10 #include "vDataFile.hh"
11 #include "sOutputManager.hh"
12 
13 // =====================================================================
14 // ---------------------------------------------------------------------
15 // ---------------------------------------------------------------------
16 // =====================================================================
17 
19 {
22  m_nbLines = 1;
23  m_eventScatRate = 0.;
24  m_eventBlankValue = 1.;
25 }
26 
27 // =====================================================================
28 // ---------------------------------------------------------------------
29 // ---------------------------------------------------------------------
30 // =====================================================================
31 
33 
34 // =====================================================================
35 // ---------------------------------------------------------------------
36 // ---------------------------------------------------------------------
37 // =====================================================================
38 
39 void iEventCT::Describe()
40 {
42  Cout("iEventCT::Describe() -> Display contents" << endl);
43  Cout("Time: " << m_timeInMs << " ms" << endl);
44  Cout("Number of lines: " << m_nbLines << endl);
45  for (uint16_t l=0; l<m_nbLines; l++) Cout(" --> ID1: " << mp_ID1[l] << " | ID2: " << mp_ID2[l] << endl);
46  Cout("Scatter rate: " << m_eventScatRate << endl);
47  Cout("Blank value: " << m_eventBlankValue << endl);
48  for (int d=0; d<m_nbCustomINTData; d++) if (mp_customINTData != NULL) Cout(" --> Custom INT data "<<d+1<<"/"<<m_nbCustomINTData<< " : " << mp_customINTData[ d ] << endl);
49  for (int d=0; d<m_nbCustomFLTData; d++) if (mp_customFLTData != NULL) Cout(" --> Custom FLT data "<<d+1<<"/"<<m_nbCustomFLTData<< " : " << mp_customFLTData[ d ] << endl);
50  Cout(flush);
51 }
EVTFLTDATA * mp_customFLTData
virtual ~iEventCT()
iEventCT destructor.
virtual void Describe()
This function can be used to get a description of the event printed out.
iEventCT()
iEventCT constructor. Initialize the member variables to their default values.
EVTINTDATA * mp_customINTData
#define DEBUG_VERBOSE(IGNORED1, IGNORED2)
#define SPEC_TRANSMISSION
Mother class for the Event objects.
#define Cout(MESSAGE)