Geant4-11
G4Hdf5AnalysisManager.icc
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27// Author: Ivana Hrivnacova, 20/07/2017 (ivana@ipno.in2p3.fr)
28
29#include "G4Hdf5NtupleFileManager.hh"
30#include "G4Hdf5NtupleManager.hh"
31#include "G4Hdf5FileManager.hh"
32
33//_____________________________________________________________________________
34inline
35G4bool G4Hdf5AnalysisManager::IsOpenFileImpl() const
36{
37 return fFileManager->IsOpenFile();
38}
39
40//_____________________________________________________________________________
41inline
42tools::hdf5::ntuple* G4Hdf5AnalysisManager::GetNtuple() const
43{
44 return fNtupleFileManager->GetNtupleManager()->GetNtuple();
45}
46
47//_____________________________________________________________________________
48inline
49tools::hdf5::ntuple* G4Hdf5AnalysisManager::GetNtuple(G4int ntupleId) const
50{
51 return fNtupleFileManager->GetNtupleManager()->GetNtuple(ntupleId);
52}
53
54//_____________________________________________________________________________
55inline
56std::vector<tools::hdf5::ntuple*>::iterator G4Hdf5AnalysisManager::BeginNtuple()
57{
58 return fNtupleFileManager->GetNtupleManager()->BeginNtuple();
59}
60
61//_____________________________________________________________________________
62inline
63std::vector<tools::hdf5::ntuple*>::iterator G4Hdf5AnalysisManager::EndNtuple()
64{
65 return fNtupleFileManager->GetNtupleManager()->EndNtuple();
66}
67
68//_____________________________________________________________________________
69inline
70std::vector<tools::hdf5::ntuple*>::const_iterator
71G4Hdf5AnalysisManager::BeginConstNtuple() const
72{
73 return fNtupleFileManager->GetNtupleManager()->BeginConstNtuple();
74}
75
76//_____________________________________________________________________________
77inline
78std::vector<tools::hdf5::ntuple*>::const_iterator
79G4Hdf5AnalysisManager::EndConstNtuple() const
80{
81 return fNtupleFileManager->GetNtupleManager()->EndConstNtuple();
82}