42 using namespace G4Analysis;
46 : fState(type, isMaster),
52 fVNtupleManager(nullptr),
127 if ( fileName !=
"" ) {
128 return ReadH1Impl(h1Name, fileName, dirName,
true);
134 <<
"Cannot get H1. File name has to be set first.";
148 if ( fileName !=
"" ) {
149 return ReadH2Impl(h2Name, fileName, dirName,
true);
155 <<
"Cannot get H2. File name has to be set first.";
169 if ( fileName !=
"" ) {
170 return ReadH3Impl(h3Name, fileName, dirName,
true);
176 <<
"Cannot get H3. File name has to be set first.";
190 if ( fileName !=
"" ) {
191 return ReadP1Impl(p1Name, fileName, dirName,
true);
197 <<
"Cannot get P1. File name has to be set first.";
211 if ( fileName !=
"" ) {
212 return ReadP2Impl(p2Name, fileName, dirName,
true);
218 <<
"Cannot get P2. File name has to be set first.";
230 G4bool finalResult =
true;
233 finalResult = finalResult && result;
236 finalResult = finalResult && result;
239 finalResult = finalResult && result;
247 return fVH1Manager->GetHnManager()->SetFirstId(firstId);
253 return fVH2Manager->GetHnManager()->SetFirstId(firstId);
259 return fVH3Manager->GetHnManager()->SetFirstId(firstId);
265 G4bool finalResult =
true;
268 finalResult = finalResult && result;
271 finalResult = finalResult && result;
279 return fVP1Manager->GetHnManager()->SetFirstId(firstId);
285 return fVP2Manager->GetHnManager()->SetFirstId(firstId);
299 if ( fileName !=
"" ) {
307 <<
"Cannot get Ntuple. File name has to be set first.";
346 std::vector<int>& vector)
353 std::vector<float>& vector)
360 std::vector<double>& vector)
400 std::vector<int>& vector)
402 return fVNtupleManager->SetNtupleIColumn(ntupleId, columnName, vector);
408 std::vector<float>& vector)
410 return fVNtupleManager->SetNtupleFColumn(ntupleId, columnName, vector);
416 std::vector<double>& vector)
418 return fVNtupleManager->SetNtupleDColumn(ntupleId, columnName, vector);