CASToR  1.0
Tomographic Reconstruction (PET/SPECT)
iEventSPECT.cc
Go to the documentation of this file.
00001 
00002 /*
00003   Implementation of class iEventSPECT
00004 
00005   - separators: X
00006   - doxygen: X
00007   - default initialization: X
00008   - CASTOR_DEBUG: X
00009   - CASTOR_VERBOSE: X
00010 */
00011 
00020 #include "iEventSPECT.hh"
00021 #include "vDataFile.hh"
00022 #include "sOutputManager.hh"
00023 
00024 
00025 // =====================================================================
00026 // ---------------------------------------------------------------------
00027 // ---------------------------------------------------------------------
00028 // =====================================================================
00029 /*
00030   Constructor()
00031 */
00032 iEventSPECT::iEventSPECT() : vEvent()
00033 {
00034   m_dataType = TYPE_SPECT;
00035   m_nbLines=1;
00036   m_eventScatRate=0.;
00037   m_eventNormFactor=1.;
00038 }
00039 
00040 
00041 // =====================================================================
00042 // ---------------------------------------------------------------------
00043 // ---------------------------------------------------------------------
00044 // =====================================================================
00045 /*
00046   Destructor()
00047 */
00048 iEventSPECT::~iEventSPECT() {}
00049 
00050 
00051 
00052 // =====================================================================
00053 // ---------------------------------------------------------------------
00054 // ---------------------------------------------------------------------
00055 // =====================================================================
00060 void iEventSPECT::Describe()
00061 {
00062   Cout("---------------------- iEventSPECT::Describe() --------------------------" << endl);
00063   Cout("sizeof(FLTNB): " << sizeof(FLTNB) << endl);
00064   Cout("Time: " << m_timeInMs << " ms" << endl);
00065   Cout("Number of lines: " << m_nbLines << endl);
00066   for (uint16_t l=0; l<m_nbLines; l++) Cout("  --> ID1: " << mp_ID1[l] << " | ID2: " << mp_ID2[l] << endl);
00067   Cout("Scatter rate: " << m_eventScatRate << endl);
00068   Cout("Normalization factor: " << m_eventNormFactor << endl);
00069   Cout("----------------------------------------------------------------------------" << endl);
00070 }
 All Classes Files Functions Variables Typedefs Defines