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