Geant4  10.01.p01
G4CsvAnalysisManager.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: G4CsvAnalysisManager.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 "G4CsvNtupleManager.hh"
34 
35 //_____________________________________________________________________________
36 inline
37 tools::histo::h1d* G4CsvAnalysisManager::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* G4CsvAnalysisManager::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* G4CsvAnalysisManager::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* G4CsvAnalysisManager::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* G4CsvAnalysisManager::GetP2(G4int id, G4bool warn,
70  G4bool onlyIfActive) const
71 {
72  return fP2Manager->GetP2(id, warn, onlyIfActive);
73 }
74 
75 //_____________________________________________________________________________
76 inline
77 tools::wcsv::ntuple* G4CsvAnalysisManager::GetNtuple() const
78 {
79  return fNtupleManager->GetNtuple();
80 }
81 
82 //_____________________________________________________________________________
83 inline
84 tools::wcsv::ntuple* G4CsvAnalysisManager::GetNtuple(G4int ntupleId) const
85 {
86  return fNtupleManager->GetNtuple(ntupleId);
87 }
88 
89 //_____________________________________________________________________________
90 inline
91 std::vector<tools::histo::h1d*>::iterator G4CsvAnalysisManager::BeginH1()
92 {
93  return fH1Manager->BeginH1();
94 }
95 
96 //_____________________________________________________________________________
97 inline
98 std::vector<tools::histo::h1d*>::iterator G4CsvAnalysisManager::EndH1()
99 {
100  return fH1Manager->EndH1();
101 }
102 
103 //_____________________________________________________________________________
104 inline
105 std::vector<tools::histo::h1d*>::const_iterator
106 G4CsvAnalysisManager::BeginConstH1() const
107 {
108  return fH1Manager->BeginConstH1();
109 }
110 
111 //_____________________________________________________________________________
112 inline
113 std::vector<tools::histo::h1d*>::const_iterator
114 G4CsvAnalysisManager::EndConstH1() const
115 {
116  return fH1Manager->EndConstH1();
117 }
118 
119 //_____________________________________________________________________________
120 inline
121 std::vector<tools::histo::h2d*>::iterator G4CsvAnalysisManager::BeginH2()
122 {
123  return fH2Manager->BeginH2();
124 }
125 
126 //_____________________________________________________________________________
127 inline
128 std::vector<tools::histo::h2d*>::iterator G4CsvAnalysisManager::EndH2()
129 {
130  return fH2Manager->EndH2();
131 }
132 
133 //_____________________________________________________________________________
134 inline
135 std::vector<tools::histo::h2d*>::const_iterator
136 G4CsvAnalysisManager::BeginConstH2() const
137 {
138  return fH2Manager->BeginConstH2();
139 }
140 
141 //_____________________________________________________________________________
142 inline
143 std::vector<tools::histo::h2d*>::const_iterator
144 G4CsvAnalysisManager::EndConstH2() const
145 {
146  return fH2Manager->EndConstH2();
147 }
148 
149 //_____________________________________________________________________________
150 inline
151 std::vector<tools::histo::h3d*>::iterator G4CsvAnalysisManager::BeginH3()
152 {
153  return fH3Manager->BeginH3();
154 }
155 
156 //_____________________________________________________________________________
157 inline
158 std::vector<tools::histo::h3d*>::iterator G4CsvAnalysisManager::EndH3()
159 {
160  return fH3Manager->EndH3();
161 }
162 
163 //_____________________________________________________________________________
164 inline
165 std::vector<tools::histo::h3d*>::const_iterator
166 G4CsvAnalysisManager::BeginConstH3() const
167 {
168  return fH3Manager->BeginConstH3();
169 }
170 
171 //_____________________________________________________________________________
172 inline
173 std::vector<tools::histo::h3d*>::const_iterator
174 G4CsvAnalysisManager::EndConstH3() const
175 {
176  return fH3Manager->EndConstH3();
177 }
178 
179 //_____________________________________________________________________________
180 inline
181 std::vector<tools::histo::p1d*>::iterator G4CsvAnalysisManager::BeginP1()
182 {
183  return fP1Manager->BeginP1();
184 }
185 
186 //_____________________________________________________________________________
187 inline
188 std::vector<tools::histo::p1d*>::iterator G4CsvAnalysisManager::EndP1()
189 {
190  return fP1Manager->EndP1();
191 }
192 
193 //_____________________________________________________________________________
194 inline
195 std::vector<tools::histo::p1d*>::const_iterator
196 G4CsvAnalysisManager::BeginConstP1() const
197 {
198  return fP1Manager->BeginConstP1();
199 }
200 
201 //_____________________________________________________________________________
202 inline
203 std::vector<tools::histo::p1d*>::const_iterator
204 G4CsvAnalysisManager::EndConstP1() const
205 {
206  return fP1Manager->EndConstP1();
207 }
208 
209 //_____________________________________________________________________________
210 inline
211 std::vector<tools::histo::p2d*>::iterator G4CsvAnalysisManager::BeginP2()
212 {
213  return fP2Manager->BeginP2();
214 }
215 
216 //_____________________________________________________________________________
217 inline
218 std::vector<tools::histo::p2d*>::iterator G4CsvAnalysisManager::EndP2()
219 {
220  return fP2Manager->EndP2();
221 }
222 
223 //_____________________________________________________________________________
224 inline
225 std::vector<tools::histo::p2d*>::const_iterator
226 G4CsvAnalysisManager::BeginConstP2() const
227 {
228  return fP2Manager->BeginConstP2();
229 }
230 
231 //_____________________________________________________________________________
232 inline
233 std::vector<tools::histo::p2d*>::const_iterator
234 G4CsvAnalysisManager::EndConstP2() const
235 {
236  return fP2Manager->EndConstP2();
237 }
238 
239 //_____________________________________________________________________________
240 inline
241 std::vector<tools::wcsv::ntuple*>::iterator G4CsvAnalysisManager::BeginNtuple()
242 {
243  return fNtupleManager->BeginNtuple();
244 }
245 
246 //_____________________________________________________________________________
247 inline
248 std::vector<tools::wcsv::ntuple*>::iterator G4CsvAnalysisManager::EndNtuple()
249 {
250  return fNtupleManager->EndNtuple();
251 }
252 
253 //_____________________________________________________________________________
254 inline
255 std::vector<tools::wcsv::ntuple*>::const_iterator
256 G4CsvAnalysisManager::BeginConstNtuple() const
257 {
258  return fNtupleManager->BeginConstNtuple();
259 }
260 
261 //_____________________________________________________________________________
262 inline
263 std::vector<tools::wcsv::ntuple*>::const_iterator
264 G4CsvAnalysisManager::EndConstNtuple() const
265 {
266  return fNtupleManager->EndConstNtuple();
267 }
268 
269 //_____________________________________________________________________________
270 inline
271 void G4CsvAnalysisManager::SetIsCommentedHeader(G4bool isCommentedHeader)
272 {
273  fNtupleManager->SetIsCommentedHeader(isCommentedHeader);
274 }
275 
276 //_____________________________________________________________________________
277 inline
278 void G4CsvAnalysisManager::SetIsHippoHeader(G4bool isHippoHeader)
279 {
280  fNtupleManager->SetIsHippoHeader(isHippoHeader);
281 }