BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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 {
18public:
21 G4int ReceiveG4cout( G4String coutString );
22 G4int ReceiveG4cerr( G4String cerrString );
23
24private:
25 std::ofstream logFile;
26 std::ofstream errFile;
27};
28
29#endif
G4int ReceiveG4cerr(G4String cerrString)
G4int ReceiveG4cout(G4String coutString)