CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
BesLogSession Class Reference

#include <BesLogSession.hh>

+ Inheritance diagram for BesLogSession:

Public Member Functions

 BesLogSession ()
 
 ~BesLogSession ()
 
G4int ReceiveG4cout (G4String coutString)
 
G4int ReceiveG4cerr (G4String cerrString)
 
 BesLogSession ()
 
 ~BesLogSession ()
 
G4int ReceiveG4cout (G4String coutString)
 
G4int ReceiveG4cerr (G4String cerrString)
 
 BesLogSession ()
 
 ~BesLogSession ()
 
G4int ReceiveG4cout (G4String coutString)
 
G4int ReceiveG4cerr (G4String cerrString)
 

Detailed Description

Constructor & Destructor Documentation

◆ BesLogSession() [1/3]

BesLogSession::BesLogSession ( )

Definition at line 16 of file bak_BesSim-00-04-14/src/BesLogSession.cc.

17{
18 logFile.open("boost.log");
19 errFile.open("boost.err");
20// G4UImanager::GetUIpointer()->SetCoutDestination(this);
21}

◆ ~BesLogSession() [1/3]

BesLogSession::~BesLogSession ( )

Definition at line 23 of file bak_BesSim-00-04-14/src/BesLogSession.cc.

24{
25 logFile.close();
26 errFile.close();
27}

◆ BesLogSession() [2/3]

BesLogSession::BesLogSession ( )

◆ ~BesLogSession() [2/3]

BesLogSession::~BesLogSession ( )

◆ BesLogSession() [3/3]

BesLogSession::BesLogSession ( )

◆ ~BesLogSession() [3/3]

BesLogSession::~BesLogSession ( )

Member Function Documentation

◆ ReceiveG4cerr() [1/3]

G4int BesLogSession::ReceiveG4cerr ( G4String  cerrString)

Definition at line 35 of file bak_BesSim-00-04-14/src/BesLogSession.cc.

36{
37 errFile << cerrString << std::flush;
38 return 0;
39}

◆ ReceiveG4cerr() [2/3]

G4int BesLogSession::ReceiveG4cerr ( G4String  cerrString)

◆ ReceiveG4cerr() [3/3]

G4int BesLogSession::ReceiveG4cerr ( G4String  cerrString)

◆ ReceiveG4cout() [1/3]

G4int BesLogSession::ReceiveG4cout ( G4String  coutString)

Definition at line 29 of file bak_BesSim-00-04-14/src/BesLogSession.cc.

30{
31 logFile << coutString << std::flush;
32 return 0;
33}

◆ ReceiveG4cout() [2/3]

G4int BesLogSession::ReceiveG4cout ( G4String  coutString)

◆ ReceiveG4cout() [3/3]

G4int BesLogSession::ReceiveG4cout ( G4String  coutString)

The documentation for this class was generated from the following files: