Geant4  10.02.p01
G4VAnalysisReader.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: G4VAnalysisReader.hh 70604 2013-06-03 11:27:06Z ihrivnac $
27 
28 #include "G4HnManager.hh"
29 #include "G4VH1Manager.hh"
30 #include "G4VH2Manager.hh"
31 #include "G4VH3Manager.hh"
32 #include "G4VP1Manager.hh"
33 #include "G4VP2Manager.hh"
34 #include "G4VNtupleManager.hh"
35 #include "G4BaseFileManager.hh"
36 
37 //_____________________________________________________________________________
38 inline
39 G4int G4VAnalysisReader::GetH1Id(const G4String& name, G4bool warn) const
40 {
41  return fVH1Manager->GetH1Id(name, warn);
42 }
43 
44 //_____________________________________________________________________________
45 inline
46 G4int G4VAnalysisReader::GetH2Id(const G4String& name, G4bool warn) const
47 {
48  return fVH2Manager->GetH2Id(name, warn);
49 }
50 
51 //_____________________________________________________________________________
52 inline
53 G4int G4VAnalysisReader::GetH3Id(const G4String& name, G4bool warn) const
54 {
55  return fVH3Manager->GetH3Id(name, warn);
56 }
57 
58 //_____________________________________________________________________________
59 inline
60 G4int G4VAnalysisReader::GetP1Id(const G4String& name, G4bool warn) const
61 {
62  return fVP1Manager->GetP1Id(name, warn);
63 }
64 
65 //_____________________________________________________________________________
66 inline
67 G4int G4VAnalysisReader::GetP2Id(const G4String& name, G4bool warn) const
68 {
69  return fVP2Manager->GetP2Id(name, warn);
70 }
71 
72 //_____________________________________________________________________________
73 inline
74 G4int G4VAnalysisReader::GetH1Nbins(G4int id) const
75 {
76  return fVH1Manager->GetH1Nbins(id);
77 }
78 
79 //_____________________________________________________________________________
80 inline
81 G4double G4VAnalysisReader::GetH1Xmin(G4int id) const
82 {
83 // Returns xmin value with applied unit and histogram function
84 
85  return fVH1Manager->GetH1Xmin(id);
86 }
87 
88 //_____________________________________________________________________________
89 inline
90 G4double G4VAnalysisReader::GetH1Xmax(G4int id) const
91 {
92  return fVH1Manager->GetH1Xmax(id);
93 }
94 
95 //_____________________________________________________________________________
96 inline
97 G4double G4VAnalysisReader::GetH1Width(G4int id) const
98 {
99  return fVH1Manager->GetH1Width(id);
100 }
101 
102 //_____________________________________________________________________________
103 inline
104 G4int G4VAnalysisReader::GetH2Nxbins(G4int id) const
105 {
106  return fVH2Manager->GetH2Nxbins(id);
107 }
108 
109 //_____________________________________________________________________________
110 inline
111 G4double G4VAnalysisReader::GetH2Xmin(G4int id) const
112 {
113 // Returns xmin value with applied unit and histogram function
114 
115  return fVH2Manager->GetH2Xmin(id);
116 }
117 
118 //_____________________________________________________________________________
119 inline
120 G4double G4VAnalysisReader::GetH2Xmax(G4int id) const
121 {
122  return fVH2Manager->GetH2Xmax(id);
123 }
124 
125 //_____________________________________________________________________________
126 inline
127 G4double G4VAnalysisReader::GetH2XWidth(G4int id) const
128 {
129  return fVH2Manager->GetH2XWidth(id);
130 }
131 
132 //_____________________________________________________________________________
133 inline
134 G4int G4VAnalysisReader::GetH2Nybins(G4int id) const
135 {
136  return fVH2Manager->GetH2Nybins(id);
137 }
138 
139 //_____________________________________________________________________________
140 inline
141 G4double G4VAnalysisReader::GetH2Ymin(G4int id) const
142 {
143 // Returns xmin value with applied unit and histogram function
144 
145  return fVH2Manager->GetH2Ymin(id);
146 }
147 
148 //_____________________________________________________________________________
149 inline
150 G4double G4VAnalysisReader::GetH2Ymax(G4int id) const
151 {
152  return fVH2Manager->GetH2Ymax(id);
153 }
154 
155 //_____________________________________________________________________________
156 inline
157 G4double G4VAnalysisReader::GetH2YWidth(G4int id) const
158 {
159  return fVH2Manager->GetH2YWidth(id);
160 }
161 
162 
163 //_____________________________________________________________________________
164 inline
165 G4int G4VAnalysisReader::GetH3Nxbins(G4int id) const
166 {
167  return fVH3Manager->GetH3Nxbins(id);
168 }
169 
170 //_____________________________________________________________________________
171 inline
172 G4double G4VAnalysisReader::GetH3Xmin(G4int id) const
173 {
174 // Returns xmin value with applied unit and histogram function
175 
176  return fVH3Manager->GetH3Xmin(id);
177 }
178 
179 //_____________________________________________________________________________
180 inline
181 G4double G4VAnalysisReader::GetH3Xmax(G4int id) const
182 {
183  return fVH3Manager->GetH3Xmax(id);
184 }
185 
186 //_____________________________________________________________________________
187 inline
188 G4double G4VAnalysisReader::GetH3XWidth(G4int id) const
189 {
190  return fVH3Manager->GetH3XWidth(id);
191 }
192 
193 //_____________________________________________________________________________
194 inline
195 G4int G4VAnalysisReader::GetH3Nybins(G4int id) const
196 {
197  return fVH3Manager->GetH3Nybins(id);
198 }
199 
200 //_____________________________________________________________________________
201 inline
202 G4double G4VAnalysisReader::GetH3Ymin(G4int id) const
203 {
204 // Returns xmin value with applied unit and histogram function
205 
206  return fVH3Manager->GetH3Ymin(id);
207 }
208 
209 //_____________________________________________________________________________
210 inline
211 G4double G4VAnalysisReader::GetH3Ymax(G4int id) const
212 {
213  return fVH3Manager->GetH3Ymax(id);
214 }
215 
216 //_____________________________________________________________________________
217 inline
218 G4double G4VAnalysisReader::GetH3YWidth(G4int id) const
219 {
220  return fVH3Manager->GetH3YWidth(id);
221 }
222 
223 //_____________________________________________________________________________
224 inline
225 G4int G4VAnalysisReader::GetH3Nzbins(G4int id) const
226 {
227  return fVH3Manager->GetH3Nzbins(id);
228 }
229 
230 //_____________________________________________________________________________
231 inline
232 G4double G4VAnalysisReader::GetH3Zmin(G4int id) const
233 {
234 // Returns xmin value with applied unit and histogram function
235 
236  return fVH3Manager->GetH3Zmin(id);
237 }
238 
239 //_____________________________________________________________________________
240 inline
241 G4double G4VAnalysisReader::GetH3Zmax(G4int id) const
242 {
243  return fVH3Manager->GetH3Zmax(id);
244 }
245 
246 //_____________________________________________________________________________
247 inline
248 G4double G4VAnalysisReader::GetH3ZWidth(G4int id) const
249 {
250  return fVH3Manager->GetH3ZWidth(id);
251 }
252 
253 //_____________________________________________________________________________
254 inline
255 G4int G4VAnalysisReader::GetP1Nbins(G4int id) const
256 {
257  return fVP1Manager->GetP1Nbins(id);
258 }
259 
260 //_____________________________________________________________________________
261 inline
262 G4double G4VAnalysisReader::GetP1Xmin(G4int id) const
263 {
264 // Returns xmin value with applied unit and histogram function
265 
266  return fVP1Manager->GetP1Xmin(id);
267 }
268 
269 //_____________________________________________________________________________
270 inline
271 G4double G4VAnalysisReader::GetP1Xmax(G4int id) const
272 {
273  return fVP1Manager->GetP1Xmax(id);
274 }
275 
276 //_____________________________________________________________________________
277 inline
278 G4double G4VAnalysisReader::GetP1XWidth(G4int id) const
279 {
280  return fVP1Manager->GetP1XWidth(id);
281 }
282 
283 //_____________________________________________________________________________
284 inline
285 G4double G4VAnalysisReader::GetP1Ymin(G4int id) const
286 {
287 // Returns xmin value with applied unit and histogram function
288 
289  return fVP1Manager->GetP1Ymin(id);
290 }
291 
292 //_____________________________________________________________________________
293 inline
294 G4double G4VAnalysisReader::GetP1Ymax(G4int id) const
295 {
296  return fVP1Manager->GetP1Ymax(id);
297 }
298 
299 //_____________________________________________________________________________
300 inline
301 G4int G4VAnalysisReader::GetP2Nxbins(G4int id) const
302 {
303  return fVP2Manager->GetP2Nxbins(id);
304 }
305 
306 //_____________________________________________________________________________
307 inline
308 G4double G4VAnalysisReader::GetP2Xmin(G4int id) const
309 {
310 // Returns xmin value with applied unit and histogram function
311 
312  return fVP2Manager->GetP2Xmin(id);
313 }
314 
315 //_____________________________________________________________________________
316 inline
317 G4double G4VAnalysisReader::GetP2Xmax(G4int id) const
318 {
319  return fVP2Manager->GetP2Xmax(id);
320 }
321 
322 //_____________________________________________________________________________
323 inline
324 G4double G4VAnalysisReader::GetP2XWidth(G4int id) const
325 {
326  return fVP2Manager->GetP2XWidth(id);
327 }
328 
329 //_____________________________________________________________________________
330 inline
331 G4int G4VAnalysisReader::GetP2Nybins(G4int id) const
332 {
333  return fVP2Manager->GetP2Nybins(id);
334 }
335 
336 //_____________________________________________________________________________
337 inline
338 G4double G4VAnalysisReader::GetP2Ymin(G4int id) const
339 {
340 // Returns xmin value with applied unit and histogram function
341 
342  return fVP2Manager->GetP2Ymin(id);
343 }
344 
345 //_____________________________________________________________________________
346 inline
347 G4double G4VAnalysisReader::GetP2Ymax(G4int id) const
348 {
349  return fVP2Manager->GetP2Ymax(id);
350 }
351 
352 //_____________________________________________________________________________
353 inline
354 G4double G4VAnalysisReader::GetP2YWidth(G4int id) const
355 {
356  return fVP2Manager->GetP2YWidth(id);
357 }
358 
359 //_____________________________________________________________________________
360 inline
361 G4double G4VAnalysisReader::GetP2Zmin(G4int id) const
362 {
363 // Returns xmin value with applied unit and histogram function
364 
365  return fVP2Manager->GetP2Zmin(id);
366 }
367 
368 //_____________________________________________________________________________
369 inline
370 G4double G4VAnalysisReader::GetP2Zmax(G4int id) const
371 {
372  return fVP2Manager->GetP2Zmax(id);
373 }
374 
375 //_____________________________________________________________________________
376 inline
377 G4String G4VAnalysisReader::GetH1Title(G4int id) const
378 {
379  return fVH1Manager->GetH1Title(id);
380 }
381 
382 //_____________________________________________________________________________
383 inline
384 G4String G4VAnalysisReader::GetH1XAxisTitle(G4int id) const
385 {
386  return fVH1Manager->GetH1XAxisTitle(id);
387 }
388 
389 //_____________________________________________________________________________
390 inline
391 G4String G4VAnalysisReader::GetH1YAxisTitle(G4int id) const
392 {
393  return fVH1Manager->GetH1YAxisTitle(id);
394 }
395 
396 //_____________________________________________________________________________
397 inline
398 G4String G4VAnalysisReader::GetH2Title(G4int id) const
399 {
400  return fVH2Manager->GetH2Title(id);
401 }
402 
403 //_____________________________________________________________________________
404 inline
405 G4String G4VAnalysisReader::GetH2XAxisTitle(G4int id) const
406 {
407  return fVH2Manager->GetH2XAxisTitle(id);
408 }
409 
410 //_____________________________________________________________________________
411 inline
412 G4String G4VAnalysisReader::GetH2YAxisTitle(G4int id) const
413 {
414  return fVH2Manager->GetH2YAxisTitle(id);
415 }
416 
417 //_____________________________________________________________________________
418 inline
419 G4String G4VAnalysisReader::GetH2ZAxisTitle(G4int id) const
420 {
421  return fVH2Manager->GetH2ZAxisTitle(id);
422 }
423 
424 //_____________________________________________________________________________
425 inline
426 G4String G4VAnalysisReader::GetH3Title(G4int id) const
427 {
428  return fVH3Manager->GetH3Title(id);
429 }
430 
431 //_____________________________________________________________________________
432 inline
433 G4String G4VAnalysisReader::GetH3XAxisTitle(G4int id) const
434 {
435  return fVH3Manager->GetH3XAxisTitle(id);
436 }
437 
438 //_____________________________________________________________________________
439 inline
440 G4String G4VAnalysisReader::GetH3YAxisTitle(G4int id) const
441 {
442  return fVH3Manager->GetH3YAxisTitle(id);
443 }
444 
445 //_____________________________________________________________________________
446 inline
447 G4String G4VAnalysisReader::GetH3ZAxisTitle(G4int id) const
448 {
449  return fVH3Manager->GetH3ZAxisTitle(id);
450 }
451 
452 //_____________________________________________________________________________
453 inline
454 G4String G4VAnalysisReader::GetP1Title(G4int id) const
455 {
456  return fVP1Manager->GetP1Title(id);
457 }
458 
459 //_____________________________________________________________________________
460 inline
461 G4String G4VAnalysisReader::GetP1XAxisTitle(G4int id) const
462 {
463  return fVP1Manager->GetP1XAxisTitle(id);
464 }
465 
466 //_____________________________________________________________________________
467 inline
468 G4String G4VAnalysisReader::GetP1YAxisTitle(G4int id) const
469 {
470  return fVP1Manager->GetP1YAxisTitle(id);
471 }
472 
473 //_____________________________________________________________________________
474 inline
475 G4String G4VAnalysisReader::GetP2Title(G4int id) const
476 {
477  return fVP2Manager->GetP2Title(id);
478 }
479 
480 //_____________________________________________________________________________
481 inline
482 G4String G4VAnalysisReader::GetP2XAxisTitle(G4int id) const
483 {
484  return fVP2Manager->GetP2XAxisTitle(id);
485 }
486 
487 //_____________________________________________________________________________
488 inline
489 G4String G4VAnalysisReader::GetP2YAxisTitle(G4int id) const
490 {
491  return fVP2Manager->GetP2YAxisTitle(id);
492 }
493 
494 //_____________________________________________________________________________
495 inline
496 G4String G4VAnalysisReader::GetP2ZAxisTitle(G4int id) const
497 {
498  return fVP2Manager->GetP2ZAxisTitle(id);
499 }
500 
501 //_____________________________________________________________________________
502 inline
503 G4int G4VAnalysisReader::GetVerboseLevel() const
504 {
505  return fState.GetVerboseLevel();
506 }
507 
508 //_____________________________________________________________________________
509 inline
510 G4String G4VAnalysisReader::GetType() const
511 {
512  return fState.GetType();
513 }
514 
515 //_____________________________________________________________________________
516 inline
517 G4String G4VAnalysisReader::GetFileType() const
518 {
519  return fFileManager->GetFileType();
520 }