MCPcopy Create free account
hub / github.com/Geant4/geant4 / OpenFile

Method OpenFile

examples/advanced/gorad/src/GRRunAction.cc:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void GRRunAction::OpenFile()
84{
85 if(!fileOpen)
86 {
87 auto analysisManager = G4AnalysisManager::Instance();
88 analysisManager->OpenFile(fileName);
89 if(verbose>0) G4cout << "GRRunAction::BeginOfRunAction ### <" << fileName << "> is opened." << G4endl;
90 fileOpen = true;
91 }
92}
93
94void GRRunAction::EndOfRunAction(const G4Run* /*run*/)
95{

Callers 15

BeginOfRunActionMethod · 0.45
BeginOfRunActionMethod · 0.45
BeginOfRunActionMethod · 0.45
BeginOfRunActionMethod · 0.45
BeginOfRunActionMethod · 0.45
BeginOfRunActionMethod · 0.45
BeginOfRunActionMethod · 0.45
bookMethod · 0.45
BeginOfRunActionMethod · 0.45
BeginOfRunActionMethod · 0.45
BeginOfRunActionMethod · 0.45
BeginOfRunActionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected