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