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

Method SetNtupleDirectoryName

source/analysis/csv/src/G4CsvFileManager.cc:141–153  ·  view source on GitHub ↗

_____________________________________________________________________________

Source from the content-addressed store, hash-verified

139
140//_____________________________________________________________________________
141G4bool G4CsvFileManager::SetNtupleDirectoryName(const G4String& dirName)
142{
143 // A directory is taken into account only if it exists in file system
144 if ( G4fs::is_directory(dirName.data()) ) {
145 fIsNtupleDirectory = G4VFileManager::SetNtupleDirectoryName(dirName);
146 return fIsNtupleDirectory;
147 }
148
149 G4Analysis::Warn("Directory " + dirName + " does not exists.\n"
150 "Ntuples will be written in the current directory.",
151 fkClass, "SetNtupleDirectoryName");
152 return false;
153}
154
155//_____________________________________________________________________________
156G4bool G4CsvFileManager::NotifyNtupleFile(CsvNtupleDescription* ntupleDescription)

Callers 9

RunActionMethod · 0.45
BookMethod · 0.45
CreateNtupleMethod · 0.45
mainFunction · 0.45
BookMethod · 0.45
bookMethod · 0.45
InitializeMethod · 0.45
BookMethod · 0.45
bookMethod · 0.45

Calls 2

WarnFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected