Import Geant4 10.6.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2019-06-28 11:59:04 +02:00
parent 28a70706e0
commit d0f911957d
1056 changed files with 95168 additions and 78160 deletions
@@ -91,10 +91,15 @@ void G4XmlNtupleManager::FinishTNtuple(
G4bool /*fromBooking*/)
{
// Do nothing if the base file name was not yet defined
if ( ! fFileManager->GetFileName().size() ) return;
// Create ntuple from booking
if ( ! ntupleDescription->fNtuple ) {
CreateTNtupleFromBooking(ntupleDescription);
}
// Write header
G4String path = "/";
path.append(fFileManager->GetNtupleDirectoryName());
ntupleDescription->fNtuple