CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
iEventHistoSPECT.cc
Go to the documentation of this file.
1 
2 /*
3  Implementation of class iEventHistoSPECT
4 
5  - separators: X
6  - doxygen: X
7  - default initialization: X
8  - CASTOR_DEBUG: none
9  - CASTOR_VERBOSE: none
10 */
11 
12 
21 #include "iEventHistoSPECT.hh"
22 #include "vDataFile.hh" // DATA_MODE/ DATA_TYPE macros
23 
24 
25 // =====================================================================
26 // ---------------------------------------------------------------------
27 // ---------------------------------------------------------------------
28 // =====================================================================
29 /*
30  Constructor()
31 */
32 
34 {
37 }
38 
39 
40 // =====================================================================
41 // ---------------------------------------------------------------------
42 // ---------------------------------------------------------------------
43 // =====================================================================
44 /*
45  Destructor()
46 */
48 
49 
50 
51 // =====================================================================
52 // ---------------------------------------------------------------------
53 // ---------------------------------------------------------------------
54 // =====================================================================
60 {
61  Cout("---------------------- iEventHistoSPECT::Describe() --------------------------" << endl);
62  Cout("sizeof(FLTNB): " << sizeof(FLTNB) << endl);
63  Cout("Time: " << m_timeInMs << " ms" << endl);
64  Cout("Number of lines: " << m_nbLines << endl);
65  for (uint16_t l=0; l<m_nbLines; l++) Cout(" --> ID1: " << mp_ID1[l] << " | ID2: " << mp_ID2[l] << endl);
66  Cout("Scatter rate: " << m_eventScatRate << endl);
67  Cout("Normalization factor: " << m_eventNormFactor << endl);
68  Cout("----------------------------------------------------------------------------" << endl);
69 }
#define MODE_HISTOGRAM
Definition: vDataFile.hh:36
#define FLTNB
Definition: gVariables.hh:55
uint32_t * mp_ID2
Definition: vEvent.hh:192
iEventHistoSPECT()
iEventHistoSPECT constructor. Initialize the member variables to their default values.
int m_dataType
Definition: vEvent.hh:194
#define TYPE_SPECT
Definition: vDataFile.hh:53
void Describe()
This function can be used to get a description of the event printed out.
uint32_t * mp_ID1
Definition: vEvent.hh:191
Declaration of class vDataFile.
FLTNB m_eventScatRate
Definition: iEventSPECT.hh:119
FLTNB m_eventNormFactor
Definition: iEventSPECT.hh:120
Declaration of class iEventHistoSPECT.
int m_dataMode
Definition: vEvent.hh:195
Inherit from vEvent. Main SPECT class for the Event objects.
Definition: iEventSPECT.hh:21
~iEventHistoSPECT()
iEventHistoSPECT destructor.
#define Cout(MESSAGE)
uint16_t m_nbLines
Definition: vEvent.hh:190
uint32_t m_timeInMs
Definition: vEvent.hh:189