CGEM BOSS
6.6.5.g
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
17
class
BesLogSession
:
public
G4UIsession
18
{
19
public
:
20
21
BesLogSession
();
22
~BesLogSession
();
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
BesLogSession
Definition:
BesLogSession.hh:18
BesLogSession::~BesLogSession
~BesLogSession()
Definition:
BesLogSession.cc:23
BesLogSession::ReceiveG4cerr
G4int ReceiveG4cerr(G4String cerrString)
Definition:
BesLogSession.cc:35
BesLogSession::ReceiveG4cout
G4int ReceiveG4cout(G4String coutString)
Definition:
BesLogSession.cc:29
BesLogSession::BesLogSession
BesLogSession()
Definition:
BesLogSession.cc:16
source
Simulation
BOOST
BesSim
BesSim-00-04-18
BesSim
BesLogSession.hh
Generated by
1.9.6