Geant4  10.01
G4XmlAnalysisManager.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 // $Id: G4XmlAnalysisManager.hh 70604 2013-06-03 11:27:06Z ihrivnac $
27 
28 #include "G4H1ToolsManager.hh"
29 #include "G4H2ToolsManager.hh"
30 #include "G4H3ToolsManager.hh"
31 #include "G4P1ToolsManager.hh"
32 #include "G4P2ToolsManager.hh"
33 #include "G4XmlNtupleManager.hh"
34 
35 //_____________________________________________________________________________
36 inline
37 tools::histo::h1d* G4XmlAnalysisManager::GetH1(G4int id, G4bool warn,
38  G4bool onlyIfActive) const
39 {
40  return fH1Manager->GetH1(id, warn, onlyIfActive);
41 }
42 
43 //_____________________________________________________________________________
44 inline
45 tools::histo::h2d* G4XmlAnalysisManager::GetH2(G4int id, G4bool warn,
46  G4bool onlyIfActive) const
47 {
48  return fH2Manager->GetH2(id, warn, onlyIfActive);
49 }
50 
51 //_____________________________________________________________________________
52 inline
53 tools::histo::h3d* G4XmlAnalysisManager::GetH3(G4int id, G4bool warn,
54  G4bool onlyIfActive) const
55 {
56  return fH3Manager->GetH3(id, warn, onlyIfActive);
57 }
58 
59 //_____________________________________________________________________________
60 inline
61 tools::histo::p1d* G4XmlAnalysisManager::GetP1(G4int id, G4bool warn,
62  G4bool onlyIfActive) const
63 {
64  return fP1Manager->GetP1(id, warn, onlyIfActive);
65 }
66 
67 //_____________________________________________________________________________
68 inline
69 tools::histo::p2d* G4XmlAnalysisManager::GetP2(G4int id, G4bool warn,
70  G4bool onlyIfActive) const
71 {
72  return fP2Manager->GetP2(id, warn, onlyIfActive);
73 }
74 
75 //_____________________________________________________________________________
76 inline
77 tools::waxml::ntuple* G4XmlAnalysisManager::GetNtuple() const
78 {
79  return fNtupleManager->GetNtuple();
80 }
81 
82 //_____________________________________________________________________________
83 inline
84 tools::waxml::ntuple* G4XmlAnalysisManager::GetNtuple(G4int ntupleId) const
85 {
86  return fNtupleManager->GetNtuple(ntupleId);
87 }
88 //_____________________________________________________________________________
89 inline
90 std::vector<tools::histo::h1d*>::iterator G4XmlAnalysisManager::BeginH1()
91 {
92  return fH1Manager->BeginH1();
93 }
94 
95 //_____________________________________________________________________________
96 inline
97 std::vector<tools::histo::h1d*>::iterator G4XmlAnalysisManager::EndH1()
98 {
99  return fH1Manager->EndH1();
100 }
101 
102 //_____________________________________________________________________________
103 inline
104 std::vector<tools::histo::h1d*>::const_iterator
105 G4XmlAnalysisManager::BeginConstH1() const
106 {
107  return fH1Manager->BeginConstH1();
108 }
109 
110 //_____________________________________________________________________________
111 inline
112 std::vector<tools::histo::h1d*>::const_iterator
113 G4XmlAnalysisManager::EndConstH1() const
114 {
115  return fH1Manager->EndConstH1();
116 }
117 
118 //_____________________________________________________________________________
119 inline
120 std::vector<tools::histo::h2d*>::iterator G4XmlAnalysisManager::BeginH2()
121 {
122  return fH2Manager->BeginH2();
123 }
124 
125 //_____________________________________________________________________________
126 inline
127 std::vector<tools::histo::h2d*>::iterator G4XmlAnalysisManager::EndH2()
128 {
129  return fH2Manager->EndH2();
130 }
131 
132 //_____________________________________________________________________________
133 inline
134 std::vector<tools::histo::h2d*>::const_iterator
135 G4XmlAnalysisManager::BeginConstH2() const
136 {
137  return fH2Manager->BeginConstH2();
138 }
139 
140 //_____________________________________________________________________________
141 inline
142 std::vector<tools::histo::h2d*>::const_iterator
143 G4XmlAnalysisManager::EndConstH2() const
144 {
145  return fH2Manager->EndConstH2();
146 }
147 
148 //_____________________________________________________________________________
149 inline
150 std::vector<tools::histo::h3d*>::iterator G4XmlAnalysisManager::BeginH3()
151 {
152  return fH3Manager->BeginH3();
153 }
154 
155 //_____________________________________________________________________________
156 inline
157 std::vector<tools::histo::h3d*>::iterator G4XmlAnalysisManager::EndH3()
158 {
159  return fH3Manager->EndH3();
160 }
161 
162 //_____________________________________________________________________________
163 inline
164 std::vector<tools::histo::h3d*>::const_iterator
165 G4XmlAnalysisManager::BeginConstH3() const
166 {
167  return fH3Manager->BeginConstH3();
168 }
169 
170 //_____________________________________________________________________________
171 inline
172 std::vector<tools::histo::h3d*>::const_iterator
173 G4XmlAnalysisManager::EndConstH3() const
174 {
175  return fH3Manager->EndConstH3();
176 }
177 
178 //_____________________________________________________________________________
179 inline
180 std::vector<tools::histo::p1d*>::iterator G4XmlAnalysisManager::BeginP1()
181 {
182  return fP1Manager->BeginP1();
183 }
184 
185 //_____________________________________________________________________________
186 inline
187 std::vector<tools::histo::p1d*>::iterator G4XmlAnalysisManager::EndP1()
188 {
189  return fP1Manager->EndP1();
190 }
191 
192 //_____________________________________________________________________________
193 inline
194 std::vector<tools::histo::p1d*>::const_iterator
195 G4XmlAnalysisManager::BeginConstP1() const
196 {
197  return fP1Manager->BeginConstP1();
198 }
199 
200 //_____________________________________________________________________________
201 inline
202 std::vector<tools::histo::p1d*>::const_iterator
203 G4XmlAnalysisManager::EndConstP1() const
204 {
205  return fP1Manager->EndConstP1();
206 }
207 
208 //_____________________________________________________________________________
209 inline
210 std::vector<tools::histo::p2d*>::iterator G4XmlAnalysisManager::BeginP2()
211 {
212  return fP2Manager->BeginP2();
213 }
214 
215 //_____________________________________________________________________________
216 inline
217 std::vector<tools::histo::p2d*>::iterator G4XmlAnalysisManager::EndP2()
218 {
219  return fP2Manager->EndP2();
220 }
221 
222 //_____________________________________________________________________________
223 inline
224 std::vector<tools::histo::p2d*>::const_iterator
225 G4XmlAnalysisManager::BeginConstP2() const
226 {
227  return fP2Manager->BeginConstP2();
228 }
229 
230 //_____________________________________________________________________________
231 inline
232 std::vector<tools::histo::p2d*>::const_iterator
233 G4XmlAnalysisManager::EndConstP2() const
234 {
235  return fP2Manager->EndConstP2();
236 }
237 
238 //_____________________________________________________________________________
239 inline
240 std::vector<tools::waxml::ntuple*>::iterator G4XmlAnalysisManager::BeginNtuple()
241 {
242  return fNtupleManager->BeginNtuple();
243 }
244 
245 //_____________________________________________________________________________
246 inline
247 std::vector<tools::waxml::ntuple*>::iterator G4XmlAnalysisManager::EndNtuple()
248 {
249  return fNtupleManager->EndNtuple();
250 }
251 
252 //_____________________________________________________________________________
253 inline
254 std::vector<tools::waxml::ntuple*>::const_iterator
255 G4XmlAnalysisManager::BeginConstNtuple() const
256 {
257  return fNtupleManager->BeginConstNtuple();
258 }
259 
260 //_____________________________________________________________________________
261 inline
262 std::vector<tools::waxml::ntuple*>::const_iterator
263 G4XmlAnalysisManager::EndConstNtuple() const
264 {
265  return fNtupleManager->EndConstNtuple();
266 }