CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 {
21 
22  public:
23 
24  CustomUIsessionToFile(const std::string& filePrefix, int threadId);
26 
27  G4int ReceiveG4cout(const G4String& coutString) override;
28  G4int ReceiveG4cerr(const G4String& cerrString) override;
29 
30 private:
31  std::ofstream m_output;
32 };
33 
34 #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