Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimG4Core
Application
src
CustomUIsessionToFile.cc
Go to the documentation of this file.
1
#include "
SimG4Core/Application/interface/CustomUIsessionToFile.h
"
2
3
CustomUIsessionToFile::CustomUIsessionToFile
(
const
std::string
&
filePrefix
,
int
threadId):
4
CustomUIsession
(),
5
m_output(filePrefix+
"_"
+std::to_string(threadId)+
".txt"
)
6
{}
7
8
CustomUIsessionToFile::~CustomUIsessionToFile
() {}
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
}
lut2db_cfg.filePrefix
tuple filePrefix
Definition:
lut2db_cfg.py:25
CustomUIsessionToFile::ReceiveG4cout
G4int ReceiveG4cout(const G4String &coutString) override
Definition:
CustomUIsessionToFile.cc:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
CustomUIsessionToFile::CustomUIsessionToFile
CustomUIsessionToFile(const std::string &filePrefix, int threadId)
Definition:
CustomUIsessionToFile.cc:3
CustomUIsessionToFile::ReceiveG4cerr
G4int ReceiveG4cerr(const G4String &cerrString) override
Definition:
CustomUIsessionToFile.cc:16
CustomUIsessionToFile::m_output
std::ofstream m_output
Definition:
CustomUIsessionToFile.h:31
CustomUIsessionToFile::~CustomUIsessionToFile
~CustomUIsessionToFile()
Definition:
CustomUIsessionToFile.cc:8
CustomUIsessionToFile.h
CustomUIsession
Definition:
CustomUIsession.h:9
Generated for CMSSW Reference Manual by
1.8.5