CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
Functions
castor-GATEMacToGeom.cc File Reference

This code allows the conversion of a GATE macro file defining a cylindricalPET or ecat geometry into a CASToR ASCII .geom file.
This script currently only supports 'cylindricalPET' and 'ecat' systems.
Two arguments are required :
. More...

#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <fstream>
#include <sstream>
#include <math.h>
#include "gDataConversionUtilities.hh"

Go to the source code of this file.

Functions

void showHelp (int a_returnCode)
 
int main (int argc, char *argv[])
 

Detailed Description

This code allows the conversion of a GATE macro file defining a cylindricalPET or ecat geometry into a CASToR ASCII .geom file.
This script currently only supports 'cylindricalPET' and 'ecat' systems.
Two arguments are required :
.

  1. The gate .mac file : enter file.mac. We suppose that there is all the geometry and the digitizer information in this file.
  2. The output name : it will be a .geom file.

Definition in file castor-GATEMacToGeom.cc.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 64 of file castor-GATEMacToGeom.cc.

Here is the call graph for this function:

void showHelp ( int  a_returnCode)

Definition at line 36 of file castor-GATEMacToGeom.cc.

Here is the call graph for this function:

Here is the caller graph for this function: