GEMC  1.8
Geant4 Monte-Carlo Framework
Public Member Functions | Static Public Member Functions
txt_output Class Reference

#include <txt_output.h>

+ Inheritance diagram for txt_output:
+ Collaboration diagram for txt_output:

Public Member Functions

 ~txt_output ()
 event is deleted in WriteEvent routine More...
 
void SaveSimConditions (MOutputs *, map< string, string >)
 Pure Virtual Method to save the simulation conditions on the file. More...
 
void ProcessOutput (PH_output, MOutputs *, MBank)
 Pure Virtual Method to process the output. More...
 
void SetBankHeader (int, string, MOutputs *)
 Pure Virtual Method to set the bank header. More...
 
void SetOutpHeader (header, MOutputs *)
 Pure Virtual Method to set the output header. MOutputs needed for some output (txt) More...
 
void RecordAndClear (MOutputs *, MBank)
 Pure Virtual Method to record hits in event / then clear hits objects on heap. More...
 
void WriteGenerated (MOutputs *, vector< MGeneratedParticle >)
 Pure Virtual Method to write generated particles infos. More...
 
void WriteEvent (MOutputs *)
 Pure Virtual Method to write event on disk. More...
 
- Public Member Functions inherited from MOutputBaseClass
virtual ~MOutputBaseClass ()
 

Static Public Member Functions

static MOutputBaseClasscreateOutputClass ()
 

Additional Inherited Members

- Data Fields inherited from MOutputBaseClass
string outputType
 

Detailed Description

Definition at line 20 of file txt_output.h.

Constructor & Destructor Documentation

txt_output::~txt_output ( )
inline

Definition at line 23 of file txt_output.h.

Member Function Documentation

static MOutputBaseClass* txt_output::createOutputClass ( )
inlinestatic

Definition at line 32 of file txt_output.h.

void txt_output::ProcessOutput ( PH_output  ,
MOutputs ,
MBank   
)
virtual

Implements MOutputBaseClass.

Definition at line 40 of file txt_output.cc.

void txt_output::RecordAndClear ( MOutputs ,
MBank   
)
inlinevirtual

Implements MOutputBaseClass.

Definition at line 29 of file txt_output.h.

void txt_output::SaveSimConditions ( MOutputs ,
map< string, string >   
)
virtual

Implements MOutputBaseClass.

Definition at line 81 of file txt_output.cc.

void txt_output::SetBankHeader ( int  ,
string  ,
MOutputs  
)
virtual

Implements MOutputBaseClass.

Definition at line 18 of file txt_output.cc.

void txt_output::SetOutpHeader ( header  ,
MOutputs  
)
virtual

Implements MOutputBaseClass.

Definition at line 8 of file txt_output.cc.

void txt_output::WriteEvent ( MOutputs )
inlinevirtual

Implements MOutputBaseClass.

Definition at line 31 of file txt_output.h.

void txt_output::WriteGenerated ( MOutputs ,
vector< MGeneratedParticle  
)
virtual

Implements MOutputBaseClass.

Definition at line 27 of file txt_output.cc.