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