CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
code/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  Cout(flush);
47 }
48 
49 // =====================================================================
50 // ---------------------------------------------------------------------
51 // ---------------------------------------------------------------------
52 // =====================================================================
#define MODE_HISTOGRAM
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.
#define DEBUG_VERBOSE(IGNORED1, IGNORED2)
#define SPEC_TRANSMISSION
~iEventHistoCT()
iEventHistoCT destructor.
#define Cout(MESSAGE)