CASToR  1.0
Tomographic Reconstruction (PET/SPECT)
Public Member Functions
iEventHistoSPECT Class Reference

Inherit from iEventSPECT. Class for SPECT histogram mode events. More...

#include <iEventHistoSPECT.hh>

Inheritance diagram for iEventHistoSPECT:
Inheritance graph
[legend]
Collaboration diagram for iEventHistoSPECT:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 iEventHistoSPECT ()
 iEventHistoSPECT constructor. Initialize the member variables to their default values.
 ~iEventHistoSPECT ()
 iEventHistoSPECT destructor.
int AllocateSpecificData ()
 Function allowing the allocation of specific data. Return 0 by default for iEventHistoSPECT.
void Describe ()
 This function can be used to get a description of the event printed out.
FLTNB GetEventValue (int a_bin)
void SetEventValue (int a_bin, FLTNBDATA a_value)
 Cast the FLTNBDATA value passed in parameters in FLTNB, and use it to set the event value (a_bin is dedicated to PET and ignored for SPECT)

Detailed Description

Inherit from iEventSPECT. Class for SPECT histogram mode events.

It manages data and functions specific to histo mode SPECT.

Definition at line 21 of file iEventHistoSPECT.hh.


Constructor & Destructor Documentation

iEventHistoSPECT constructor. Initialize the member variables to their default values.

Definition at line 33 of file iEventHistoSPECT.cc.

iEventHistoSPECT destructor.

Definition at line 47 of file iEventHistoSPECT.cc.


Member Function Documentation

int iEventHistoSPECT::AllocateSpecificData ( ) [inline, virtual]

Function allowing the allocation of specific data. Return 0 by default for iEventHistoSPECT.

Returns:
0 is success, positive value otherwise

Implements iEventSPECT.

Definition at line 45 of file iEventHistoSPECT.hh.

void iEventHistoSPECT::Describe ( ) [virtual]

This function can be used to get a description of the event printed out.

Reimplemented from iEventSPECT.

Definition at line 59 of file iEventHistoSPECT.cc.

FLTNB iEventHistoSPECT::GetEventValue ( int  a_bin) [inline, virtual]
Parameters:
a_bin(0 if noTOF)
Returns:
the event value (a_bin is dedicated to PET and ignored for SPECT)

Implements iEventSPECT.

Definition at line 62 of file iEventHistoSPECT.hh.

Here is the caller graph for this function:

void iEventHistoSPECT::SetEventValue ( int  a_bin,
FLTNBDATA  a_value 
) [inline, virtual]

Cast the FLTNBDATA value passed in parameters in FLTNB, and use it to set the event value (a_bin is dedicated to PET and ignored for SPECT)

Parameters:
a_bin(0 if noTOF)
a_value

Implements iEventSPECT.

Definition at line 70 of file iEventHistoSPECT.hh.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Defines