BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/BesSim/BesSim-00-01-24/BesSim/BesLogSession.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Description: Save the g4cout and g4cere to logfiles
5//Author: Liuhm
6//Created: Jun. 16, 2003
7//Modified:
8//Comment:
9//---------------------------------------------------------------------------//
10
11#ifndef BesLogSession_H
12#define BesLogSession_H 1
13
14#include "G4UIsession.hh"
15#include "fstream"
16
17class BesLogSession : public G4UIsession
18{
19 public:
20
23 G4int ReceiveG4cout(G4String coutString);
24 G4int ReceiveG4cerr(G4String cerrString);
25
26 private:
27
28 std::ofstream logFile;
29 std::ofstream errFile;
30};
31
32#endif
33
34
35
36
G4int ReceiveG4cerr(G4String cerrString)
G4int ReceiveG4cout(G4String coutString)