GEMC  1.8
Geant4 Monte-Carlo Framework
txt_output.h
Go to the documentation of this file.
1 #ifndef TXT_OUTPUT_H
8 #define TXT_OUTPUT_H 1
9 
10 
11 
12 // %%%%%%%%%%%%%
13 // gemc headers
14 // %%%%%%%%%%%%%
15 #include "MOutputBaseClass.h"
16 
17 // %%%%%%%%%%%%%%%%
18 // Class definition
19 // %%%%%%%%%%%%%%%%
21 {
22  public:
24 
25  void SaveSimConditions(MOutputs*, map<string, string>);
27  void SetBankHeader(int, string, MOutputs*);
30  void WriteGenerated(MOutputs*, vector<MGeneratedParticle>);
31  void WriteEvent(MOutputs*){;};
33 
34 
35 
36 
37 
38 
39 
40 
41 };
42 #endif
void ProcessOutput(PH_output, MOutputs *, MBank)
Pure Virtual Method to process the output.
Definition: txt_output.cc:40
void WriteGenerated(MOutputs *, vector< MGeneratedParticle >)
Pure Virtual Method to write generated particles infos.
Definition: txt_output.cc:27
void WriteEvent(MOutputs *)
Pure Virtual Method to write event on disk.
Definition: txt_output.h:31
void SetBankHeader(int, string, MOutputs *)
Pure Virtual Method to set the bank header.
Definition: txt_output.cc:18
void SetOutpHeader(header, MOutputs *)
Pure Virtual Method to set the output header. MOutputs needed for some output (txt) ...
Definition: txt_output.cc:8
void SaveSimConditions(MOutputs *, map< string, string >)
Pure Virtual Method to save the simulation conditions on the file.
Definition: txt_output.cc:81
static MOutputBaseClass * createOutputClass()
Definition: txt_output.h:32
void RecordAndClear(MOutputs *, MBank)
Pure Virtual Method to record hits in event / then clear hits objects on heap.
Definition: txt_output.h:29
~txt_output()
event is deleted in WriteEvent routine
Definition: txt_output.h:23