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

Method ActionAtWrite

source/analysis/csv/src/G4CsvNtupleFileManager.cc:71–85  ·  view source on GitHub ↗

_____________________________________________________________________________

Source from the content-addressed store, hash-verified

69
70//_____________________________________________________________________________
71G4bool G4CsvNtupleFileManager::ActionAtWrite()
72{
73 auto result = true;
74
75 auto ntupleVector = fNtupleManager->GetNtupleDescriptionVector();
76
77 for ( auto ntupleDescription : ntupleVector ) {
78 if (ntupleDescription->GetNtuple() != nullptr) {
79 // Notify not empty file
80 result &= fFileManager->NotifyNtupleFile(ntupleDescription);
81 }
82 }
83
84 return result;
85}
86
87//_____________________________________________________________________________
88G4bool G4CsvNtupleFileManager::ActionAtCloseFile()

Callers

nothing calls this directly

Calls 2

NotifyNtupleFileMethod · 0.80
GetNtupleMethod · 0.45

Tested by

no test coverage detected