CMS 3D CMS Logo

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
CustomUIsessionToFile::~CustomUIsessionToFile
~CustomUIsessionToFile() override
Definition: CustomUIsessionToFile.cc:6
CustomUIsessionToFile
Definition: CustomUIsessionToFile.h:19
CustomUIsession.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CustomUIsessionToFile::ReceiveG4cout
G4int ReceiveG4cout(const G4String &coutString) override
Definition: CustomUIsessionToFile.cc:8
CustomUIsessionToFile::ReceiveG4cerr
G4int ReceiveG4cerr(const G4String &cerrString) override
Definition: CustomUIsessionToFile.cc:13
CustomUIsession
Definition: CustomUIsession.h:13
CustomUIsessionToFile::m_output
std::ofstream m_output
Definition: CustomUIsessionToFile.h:28
CustomUIsessionToFile::CustomUIsessionToFile
CustomUIsessionToFile(const std::string &filePrefix, int threadId)
Definition: CustomUIsessionToFile.cc:3