BOSS
7.0.1
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
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:
InstallArea/include/BesSim/BesSim/BesLogSession.hh:18
BesLogSession::~BesLogSession
~BesLogSession()
BesLogSession::ReceiveG4cerr
G4int ReceiveG4cerr(G4String cerrString)
BesLogSession::ReceiveG4cout
G4int ReceiveG4cout(G4String coutString)
BesLogSession::BesLogSession
BesLogSession()
source
Simulation
BOOST
BesSim
BesSim-00-01-24
BesSim
BesLogSession.hh
Generated by
1.9.6