#include <G4CsvNtupleFileManager.hh>
Definition at line 45 of file G4CsvNtupleFileManager.hh.
◆ G4CsvNtupleFileManager() [1/2]
◆ G4CsvNtupleFileManager() [2/2]
G4CsvNtupleFileManager::G4CsvNtupleFileManager |
( |
| ) |
|
|
delete |
◆ ~G4CsvNtupleFileManager()
G4CsvNtupleFileManager::~G4CsvNtupleFileManager |
( |
| ) |
|
|
overridedefault |
◆ ActionAtCloseFile()
G4bool G4CsvNtupleFileManager::ActionAtCloseFile |
( |
| ) |
|
|
overridevirtual |
Implements G4VNtupleFileManager.
Definition at line 88 of file G4CsvNtupleFileManager.cc.
89{
90 auto result = true;
91
92
93 auto ntupleVector = fNtupleManager->GetNtupleDescriptionVector();
94 for ( auto ntupleDescription : ntupleVector) {
95 result &= fFileManager->CloseNtupleFile(ntupleDescription);
96 }
97
98 return result;
99}
◆ ActionAtOpenFile()
G4bool G4CsvNtupleFileManager::ActionAtOpenFile |
( |
const G4String & | fileName | ) |
|
|
overridevirtual |
◆ ActionAtWrite()
G4bool G4CsvNtupleFileManager::ActionAtWrite |
( |
| ) |
|
|
overridevirtual |
Implements G4VNtupleFileManager.
Definition at line 71 of file G4CsvNtupleFileManager.cc.
72{
73 auto result = true;
74
75 auto ntupleVector = fNtupleManager->GetNtupleDescriptionVector();
76
77 for ( auto ntupleDescription : ntupleVector ) {
78 if (ntupleDescription->GetNtuple() != nullptr) {
79
80 result &= fFileManager->NotifyNtupleFile(ntupleDescription);
81 }
82 }
83
84 return result;
85}
◆ CreateNtupleManager()
std::shared_ptr< G4VNtupleManager > G4CsvNtupleFileManager::CreateNtupleManager |
( |
| ) |
|
|
overridevirtual |
Implements G4VNtupleFileManager.
Definition at line 47 of file G4CsvNtupleFileManager.cc.
48{
49
50
51 fNtupleManager = std::make_shared<G4CsvNtupleManager>(
fState);
52 fNtupleManager->SetFileManager(fFileManager);
53
54 return fNtupleManager;
55}
const G4AnalysisManagerState & fState
◆ GetNtupleManager()
◆ Reset()
G4bool G4CsvNtupleFileManager::Reset |
( |
| ) |
|
|
overridevirtual |
◆ SetFileManager()
void G4CsvNtupleFileManager::SetFileManager |
( |
std::shared_ptr< G4CsvFileManager > | fileManager | ) |
|
|
inline |
◆ G4CsvAnalysisManager
The documentation for this class was generated from the following files: