Output

group Output

File outputs.

class HDF5Output : public Output
#include <HDF5Output.h>

Output to HDF5 Format. The base class gives an overview of possible columns.

HDF5 structure:

HDF5 "FILENAME.h5" {
GROUP "/" {
DATASET "OUTPUTTYPE" {
  DATATYPE  H5T_COMPOUND {
  ...
 }
 DATASPACE  SIMPLE { ( 1 ) / ( H5S_UNLIMITED ) }
 DATA {
  ...
 }
  ATTRIBUTE "Version" {
  DATATYPE  H5T_STRING {
      STRSIZE 100;
      STRPAD H5T_STR_NULLTERM;
      CSET H5T_CSET_ASCII;
      CTYPE H5T_C_S1;
      }
  DATASPACE  SCALAR
  DATA { (0): "VERSION" }
 }
} } }

class Output : public Module
#include <Output.h>

Configurable output base class. The names of each quantity are provided in the table below. The left column corresponds to the labels of each quantity. They are printed in the output files either as comments (in a text file) or as columns (in a HDF5 file). The right columns are the names of each column for internal access. . D TrajectoryLengthColumn . SN SerialNumberColumn . ID CurrentIdColumn . E CurrentEnergyColumn . X/Y/Z CurrentPositionColumn . Px/Py/Pz CurrentDirectionColumn . SN0 SourceSerialNumberColumn . ID0 SourceIdColumn . E0 SourceEnergyColumn . X0/Y0/Z0 SourcePositionColumn . P0x/P0y/P0z SourceDirectionColumn . SN1 CreatedSerialNumberColumn . ID1 CreatedIdColumn . E1 CreatedEnergyColumn . X1/Y1/Z1 CreatedPositionColumn . P1x/P1y/P1z CreatedDirectionColumn . z RedshiftColumn . tag CandidateTagColumn . weight WeightColumn.

Some output types are pre-defined: . Trajectory1D . Trajectory3D . Event1D . Event3D . Everything They can be easily customised by enabling/disabling specific columns.

Subclassed by HDF5Output, TextOutput

class ShellOutput : public Module
#include <OutputShell.h>

Show the trajectory in the shell.

class ShellOutput1D : public Module
#include <OutputShell.h>

Show the trajectory in the shell.

class ShellPropertyOutput : public Module
#include <OutputShell.h>

Show the candidate properties in the shell.

class ParticleCollector : public Module
#include <ParticleCollector.h>

A helper ouput mechanism to keep candidates in-memory and directly transfer them to Python.

class PhotonOutput1D : public Module
class TextOutput : public Output
#include <TextOutput.h>

Configurable plain text output for particle information. This type of output can also be used to generate a .tar.gz file if the library zlib is available. For details see: http://zlib.net/.