CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CustomUIsessionToFile.cc
Go to the documentation of this file.
2 
4  : CustomUIsession(), m_output(filePrefix + "_" + std::to_string(threadId) + ".txt") {}
5 
7 
8 G4int CustomUIsessionToFile::ReceiveG4cout(const G4String& coutString) {
9  m_output << coutString;
10  return 0;
11 }
12 
13 G4int CustomUIsessionToFile::ReceiveG4cerr(const G4String& cerrString) {
14  m_output << cerrString;
15  return 0;
16 }
tuple filePrefix
Definition: lut2db_cfg.py:25
std::string to_string(const V &value)
Definition: OMSAccess.h:71
G4int ReceiveG4cout(const G4String &coutString) override
CustomUIsessionToFile(const std::string &filePrefix, int threadId)
G4int ReceiveG4cerr(const G4String &cerrString) override