![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
00001 00002 /* 00003 Implementation of class iEventPET 00004 00005 - separators: X 00006 - doxygen: 00007 - default initialization: X 00008 - CASTOR_DEBUG: none 00009 - CASTOR_VERBOSE: none 00010 */ 00011 00012 00021 #include "iEventPET.hh" 00022 #include "vDataFile.hh" 00023 #include "sOutputManager.hh" 00024 00025 // ===================================================================== 00026 // --------------------------------------------------------------------- 00027 // --------------------------------------------------------------------- 00028 // ===================================================================== 00029 /* 00030 Constructor() 00031 */ 00032 iEventPET::iEventPET() : vEvent() 00033 { 00034 m_dataType = TYPE_PET; 00035 m_eventRdmRate = 0.; 00036 m_atnCorrFactor = 1.; 00037 m_eventNormFactor = 1.; 00038 m_nbLines = 1; 00039 } 00040 00041 00042 00043 // ===================================================================== 00044 // --------------------------------------------------------------------- 00045 // --------------------------------------------------------------------- 00046 // ===================================================================== 00047 /* 00048 Destructor() 00049 Parameters: 00050 */ 00051 iEventPET::~iEventPET() {} 00052 00053 00054 // ===================================================================== 00055 // --------------------------------------------------------------------- 00056 // --------------------------------------------------------------------- 00057 // ===================================================================== 00058 /* 00059 \fn virtual void Describe() 00060 \brief This function can be used to get a description of the event printed out 00061 */ 00062 void iEventPET::Describe() 00063 { 00064 Cout("---------------------- iEventPET::Describe() --------------------------" << endl); 00065 Cout("sizeof(FLTNB): " << sizeof(FLTNB) << endl); 00066 Cout("Time: " << m_timeInMs << " ms" << endl); 00067 Cout("Number of lines: " << m_nbLines << endl); 00068 for (uint16_t l=0; l<m_nbLines; l++) Cout(" --> ID1: " << mp_ID1[l] << " | ID2: " << mp_ID2[l] << endl); 00069 Cout("Random rate: " << m_eventRdmRate << endl); 00070 Cout("Normalization factor: " << m_eventNormFactor << endl); 00071 Cout("ACF: " << m_atnCorrFactor << endl); 00072 Cout("----------------------------------------------------------------------------" << endl); 00073 Cout(flush); 00074 }