CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
Public Member Functions | List of all members
iEventTransmission Class Reference

Inherit from vEvent. More...

#include <iEventTransmission.hh>

Inheritance diagram for iEventTransmission:
Inheritance graph
Collaboration diagram for iEventTransmission:
Collaboration graph

Public Member Functions

 iEventTransmission ()
 
virtual ~iEventTransmission ()
 
int AllocateSpecificData ()
 Pure virtual function implemented in the child classes, dedicated to the allocation of specific data in the child classes. More...
 
void Describe ()
 This function can be used to get a description of the event printed out. More...
 
void SetEventValue (int a_bin, FLTNBDATA a_value)
 This function is implemented by child classes. More...
 
FLTNB GetEventValue (int a_bin)
 Pure virtual function implemented in the child classes. More...
 
FLTNB GetAdditiveCorrections (int a_bin)
 Pure virtual function implemented in the child classes. More...
 
FLTNB GetMultiplicativeCorrections ()
 This is a pure virtual function implemented in the child classes. More...
 
- Public Member Functions inherited from vEvent
 vEvent ()
 vEvent constructor. Initialize the member variables to their default values. More...
 
virtual ~vEvent ()
 vEvent destructor More...
 
int AllocateID ()
 Instantiate the mp_ID1 and mp_ID2 indices arrays. More...
 
uint32_t GetTimeInMs ()
 
uint16_t GetNbLines ()
 
uint32_t GetID1 (int a_line)
 
uint32_t GetID2 (int a_line)
 
uint32_t * GetEventID1 ()
 
uint32_t * GetEventID2 ()
 
int GetDataType ()
 
int GetDataMode ()
 
void SetTimeInMs (uint32_t a_value)
 Set the timestamp of the Event. More...
 
void SetNbLines (uint16_t a_value)
 Set the number of lines of the Event. More...
 
void SetID1 (int a_line, uint32_t a_value)
 Set the indice associated with the line index for the 1st ID of the Event. More...
 
void SetID2 (int a_line, uint32_t a_value)
 Set the indice associated with the line index for the 2nd ID of the Event. More...
 
void SetVerbose (int a_verbose)
 Set verbosity. More...
 

Additional Inherited Members

- Protected Attributes inherited from vEvent
uint32_t m_timeInMs
 
uint16_t m_nbLines
 
uint32_t * mp_ID1
 
uint32_t * mp_ID2
 
FLTNB m_eventValue
 
int m_dataType
 
int m_dataMode
 
int m_verbose
 

Detailed Description

Inherit from vEvent.

Nothing is implemented yet here. The constructor throw an error for the moment.

Definition at line 22 of file iEventTransmission.hh.

Constructor & Destructor Documentation

iEventTransmission::iEventTransmission ( )

Definition at line 27 of file iEventTransmission.cc.

Here is the call graph for this function:

iEventTransmission::~iEventTransmission ( )
virtual

Definition at line 39 of file iEventTransmission.cc.

Member Function Documentation

int iEventTransmission::AllocateSpecificData ( )
inlinevirtual

Pure virtual function implemented in the child classes, dedicated to the allocation of specific data in the child classes.

Returns
0 is success, positive value otherwise

Implements vEvent.

Definition at line 33 of file iEventTransmission.hh.

void iEventTransmission::Describe ( )
inlinevirtual

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

Implements vEvent.

Definition at line 34 of file iEventTransmission.hh.

FLTNB iEventTransmission::GetAdditiveCorrections ( int  a_bin)
inlinevirtual

Pure virtual function implemented in the child classes.

Returns
the sum of the additive corrections terms for this event

Implements vEvent.

Definition at line 41 of file iEventTransmission.hh.

FLTNB iEventTransmission::GetEventValue ( int  a_bin)
inlinevirtual

Pure virtual function implemented in the child classes.

Parameters
abin
Returns
the value of the event

Implements vEvent.

Definition at line 40 of file iEventTransmission.hh.

FLTNB iEventTransmission::GetMultiplicativeCorrections ( )
inlinevirtual

This is a pure virtual function implemented in the child classes.

Returns
the product of the multiplicative corrections terms for this event

Implements vEvent.

Definition at line 42 of file iEventTransmission.hh.

void iEventTransmission::SetEventValue ( int  a_bin,
FLTNBDATA  a_value 
)
inlinevirtual

This function is implemented by child classes.

Parameters
a_bin
a_value

Cast the FLTNBDATA value passed in parameters in FLTNB, and use it to set the event value of the specific TOF bin

Implements vEvent.

Definition at line 39 of file iEventTransmission.hh.


The documentation for this class was generated from the following files: