Geant4  10.02.p02
G4ToolsAnalysisManager.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: G4ToolsAnalysisManager.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 
34 //_____________________________________________________________________________
35 inline
36 tools::histo::h1d* G4ToolsAnalysisManager::GetH1(G4int id, G4bool warn,
37  G4bool onlyIfActive) const
38 {
39  return fH1Manager->GetH1(id, warn, onlyIfActive);
40 }
41 
42 //_____________________________________________________________________________
43 inline
44 tools::histo::h2d* G4ToolsAnalysisManager::GetH2(G4int id, G4bool warn,
45  G4bool onlyIfActive) const
46 {
47  return fH2Manager->GetH2(id, warn, onlyIfActive);
48 }
49 
50 //_____________________________________________________________________________
51 inline
52 tools::histo::h3d* G4ToolsAnalysisManager::GetH3(G4int id, G4bool warn,
53  G4bool onlyIfActive) const
54 {
55  return fH3Manager->GetH3(id, warn, onlyIfActive);
56 }
57 
58 //_____________________________________________________________________________
59 inline
60 tools::histo::p1d* G4ToolsAnalysisManager::GetP1(G4int id, G4bool warn,
61  G4bool onlyIfActive) const
62 {
63  return fP1Manager->GetP1(id, warn, onlyIfActive);
64 }
65 
66 //_____________________________________________________________________________
67 inline
68 tools::histo::p2d* G4ToolsAnalysisManager::GetP2(G4int id, G4bool warn,
69  G4bool onlyIfActive) const
70 {
71  return fP2Manager->GetP2(id, warn, onlyIfActive);
72 }
73 
74 //_____________________________________________________________________________
75 inline
76 std::vector<tools::histo::h1d*>::iterator G4ToolsAnalysisManager::BeginH1()
77 {
78  return fH1Manager->BeginH1();
79 }
80 
81 //_____________________________________________________________________________
82 inline
83 std::vector<tools::histo::h1d*>::iterator G4ToolsAnalysisManager::EndH1()
84 {
85  return fH1Manager->EndH1();
86 }
87 
88 //_____________________________________________________________________________
89 inline
90 std::vector<tools::histo::h1d*>::const_iterator
91 G4ToolsAnalysisManager::BeginConstH1() const
92 {
93  return fH1Manager->BeginConstH1();
94 }
95 
96 //_____________________________________________________________________________
97 inline
98 std::vector<tools::histo::h1d*>::const_iterator
99 G4ToolsAnalysisManager::EndConstH1() const
100 {
101  return fH1Manager->EndConstH1();
102 }
103 
104 //_____________________________________________________________________________
105 inline
106 std::vector<tools::histo::h2d*>::iterator G4ToolsAnalysisManager::BeginH2()
107 {
108  return fH2Manager->BeginH2();
109 }
110 
111 //_____________________________________________________________________________
112 inline
113 std::vector<tools::histo::h2d*>::iterator G4ToolsAnalysisManager::EndH2()
114 {
115  return fH2Manager->EndH2();
116 }
117 
118 //_____________________________________________________________________________
119 inline
120 std::vector<tools::histo::h2d*>::const_iterator
121 G4ToolsAnalysisManager::BeginConstH2() const
122 {
123  return fH2Manager->BeginConstH2();
124 }
125 
126 //_____________________________________________________________________________
127 inline
128 std::vector<tools::histo::h2d*>::const_iterator
129 G4ToolsAnalysisManager::EndConstH2() const
130 {
131  return fH2Manager->EndConstH2();
132 }
133 
134 //_____________________________________________________________________________
135 inline
136 std::vector<tools::histo::h3d*>::iterator G4ToolsAnalysisManager::BeginH3()
137 {
138  return fH3Manager->BeginH3();
139 }
140 
141 //_____________________________________________________________________________
142 inline
143 std::vector<tools::histo::h3d*>::iterator G4ToolsAnalysisManager::EndH3()
144 {
145  return fH3Manager->EndH3();
146 }
147 
148 //_____________________________________________________________________________
149 inline
150 std::vector<tools::histo::h3d*>::const_iterator
151 G4ToolsAnalysisManager::BeginConstH3() const
152 {
153  return fH3Manager->BeginConstH3();
154 }
155 
156 //_____________________________________________________________________________
157 inline
158 std::vector<tools::histo::h3d*>::const_iterator
159 G4ToolsAnalysisManager::EndConstH3() const
160 {
161  return fH3Manager->EndConstH3();
162 }
163 
164 //_____________________________________________________________________________
165 inline
166 std::vector<tools::histo::p1d*>::iterator G4ToolsAnalysisManager::BeginP1()
167 {
168  return fP1Manager->BeginP1();
169 }
170 
171 //_____________________________________________________________________________
172 inline
173 std::vector<tools::histo::p1d*>::iterator G4ToolsAnalysisManager::EndP1()
174 {
175  return fP1Manager->EndP1();
176 }
177 
178 //_____________________________________________________________________________
179 inline
180 std::vector<tools::histo::p1d*>::const_iterator
181 G4ToolsAnalysisManager::BeginConstP1() const
182 {
183  return fP1Manager->BeginConstP1();
184 }
185 
186 //_____________________________________________________________________________
187 inline
188 std::vector<tools::histo::p1d*>::const_iterator
189 G4ToolsAnalysisManager::EndConstP1() const
190 {
191  return fP1Manager->EndConstP1();
192 }
193 
194 //_____________________________________________________________________________
195 inline
196 std::vector<tools::histo::p2d*>::iterator G4ToolsAnalysisManager::BeginP2()
197 {
198  return fP2Manager->BeginP2();
199 }
200 
201 //_____________________________________________________________________________
202 inline
203 std::vector<tools::histo::p2d*>::iterator G4ToolsAnalysisManager::EndP2()
204 {
205  return fP2Manager->EndP2();
206 }
207 
208 //_____________________________________________________________________________
209 inline
210 std::vector<tools::histo::p2d*>::const_iterator
211 G4ToolsAnalysisManager::BeginConstP2() const
212 {
213  return fP2Manager->BeginConstP2();
214 }
215 
216 //_____________________________________________________________________________
217 inline
218 std::vector<tools::histo::p2d*>::const_iterator
219 G4ToolsAnalysisManager::EndConstP2() const
220 {
221  return fP2Manager->EndConstP2();
222 }
223