CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CustomUIsessionToFile.h
Go to the documentation of this file.
1 #ifndef SimG4Core_CustomUIsessionToFile_H
2 #define SimG4Core_CustomUIsessionToFile_H
3 
5 
6 #include <fstream>
7 
20 public:
21  CustomUIsessionToFile(const std::string& filePrefix, int threadId);
22  ~CustomUIsessionToFile() override;
23 
24  G4int ReceiveG4cout(const G4String& coutString) override;
25  G4int ReceiveG4cerr(const G4String& cerrString) override;
26 
27 private:
28  std::ofstream m_output;
29 };
30 
31 #endif
tuple filePrefix
Definition: lut2db_cfg.py:25
G4int ReceiveG4cout(const G4String &coutString) override
CustomUIsessionToFile(const std::string &filePrefix, int threadId)
G4int ReceiveG4cerr(const G4String &cerrString) override