CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CustomUIsessionToFile.cc
Go to the documentation of this file.
2 
5  m_output(filePrefix+"_"+std::to_string(threadId)+".txt")
6 {}
7 
9 
10 G4int CustomUIsessionToFile::ReceiveG4cout(const G4String& coutString)
11 {
12  m_output << coutString;
13  return 0;
14 }
15 
16 G4int CustomUIsessionToFile::ReceiveG4cerr(const G4String& cerrString)
17 {
18  m_output << cerrString;
19  return 0;
20 }
tuple filePrefix
Definition: lut2db_cfg.py:25
G4int ReceiveG4cout(const G4String &coutString) override
std::string to_string(const T &t)
Definition: Logger.cc:26
CustomUIsessionToFile(const std::string &filePrefix, int threadId)
G4int ReceiveG4cerr(const G4String &cerrString) override