]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TGeant3/TGeant3Dummy.cxx
Introducing glvolu in the interface
[u/mrichter/AliRoot.git] / TGeant3 / TGeant3Dummy.cxx
... / ...
CommitLineData
1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17$Log$
18Revision 1.23 2000/07/12 08:56:32 fca
19Coding convention correction and warning removal
20
21Revision 1.22 2000/07/11 18:25:00 fca
22Coding convention corrections + few minor bug fixes
23
24Revision 1.21 2000/06/27 09:26:18 fca
25Adding dummy SetSTRA
26
27Revision 1.20 2000/05/16 13:10:41 fca
28New method IsNewTrack and fix for a problem in Father-Daughter relations
29
30Revision 1.19 2000/04/09 19:00:26 fca
31Small corrections left over from removal of AliVMC for G4 compatibility
32
33Revision 1.18 2000/02/28 21:03:57 fca
34Some additions to improve the compatibility with G4
35
36Revision 1.17 2000/02/23 16:25:25 fca
37AliVMC and AliGeant3 classes introduced
38ReadEuclid moved from AliRun to AliModule
39
40Revision 1.16 2000/01/18 16:27:18 morsch
41Dummy definition of Gftmat, Gbrelm and Gprelm added.
42
43Revision 1.15 2000/01/17 19:41:17 fca
44Add SetERAN function
45
46Revision 1.14 1999/11/03 16:31:36 fca
47Dummy ProdProcess should return a value
48
49Revision 1.13 1999/11/03 13:17:08 fca
50Have ProdProcess return const char*
51
52Revision 1.12 1999/11/02 17:05:06 fca
53Update GetSecondary arguments
54
55Revision 1.11 1999/09/29 09:24:31 fca
56Introduction of the Copyright and cvs Log
57
58*/
59
60//////////////////////////////////////////////////////
61// C++ dummy interface to Geant3 basic routines //
62//////////////////////////////////////////////////////
63
64#include "TGeant3.h"
65
66//---------------------------------------------------------
67
68ClassImp(TGeant3)
69
70//___________________________________________
71TGeant3::TGeant3(){}
72
73//___________________________________________
74TGeant3::TGeant3(const char *title, Int_t)
75 :AliMC("TGeant3",title){}
76
77//___________________________________________
78void TGeant3::DefaultRange() {}
79
80//___________________________________________
81void TGeant3::LoadAddress() {}
82
83//=======================functions from GBASE
84
85//___________________________________________
86void TGeant3::FinishGeometry() {}
87void TGeant3::Gfile(const char*, const char*) {}
88void TGeant3::GeomIter() {}
89Int_t TGeant3::CurrentMaterial(Float_t &, Float_t &, Float_t &, Float_t &, Float_t &) const {return 0;}
90Int_t TGeant3::NextVolUp(Text_t*, Int_t&) {return 0;}
91Int_t TGeant3::CurrentVolID(Int_t&) const {return 0;}
92const char* TGeant3::CurrentVolName() const {return 0;}
93Float_t TGeant3::Xsec(char*, Float_t, Int_t, Int_t) {return 0;}
94Int_t TGeant3::NofVolumes() const {return 0;}
95Int_t TGeant3::CurrentVolOffID(Int_t, Int_t&) const {return 0;}
96const char *TGeant3::CurrentVolOffName(Int_t) const {return 0;}
97void TGeant3::TrackPosition(TLorentzVector&) const {}
98void TGeant3::TrackMomentum(TLorentzVector&) const {}
99Int_t TGeant3::IdFromPDG(Int_t) const {return -1;}
100Int_t TGeant3::PDGFromId(Int_t) const {return -1;}
101void TGeant3::DefineParticles() {}
102Int_t TGeant3::VolId(const Text_t*) const {return 0;}
103void TGeant3::SetCut(const char* , Float_t ) {}
104void TGeant3::SetProcess(const char* , Int_t ) {}
105const char* TGeant3::VolName(Int_t ) const {return 0;}
106Float_t TGeant3::TrackCharge() const {return 0;}
107Float_t TGeant3::TrackMass() const {return 0;}
108Bool_t TGeant3::IsNewTrack() const {return 0;}
109Bool_t TGeant3::IsTrackInside() const {return 0;}
110Bool_t TGeant3::IsTrackEntering() const {return 0;}
111Bool_t TGeant3::IsTrackExiting() const {return 0;}
112Bool_t TGeant3::IsTrackOut() const {return 0;}
113Bool_t TGeant3::IsTrackDisappeared() const {return 0;}
114Bool_t TGeant3::IsTrackStop() const {return 0;}
115Int_t TGeant3::NSecondaries() const {return 0;}
116const char* TGeant3::ProdProcess() const {return 0;}
117void TGeant3::GetSecondary(Int_t, Int_t&,
118 TLorentzVector&, TLorentzVector&){}
119Float_t TGeant3::MaxStep() const {return 0;}
120void TGeant3::SetMaxStep(Float_t ) {}
121Int_t TGeant3::CurrentEvent() const {return 0;}
122Int_t TGeant3::GetMedium() const {return 0;}
123Float_t TGeant3::Edep() const {return 0;}
124Float_t TGeant3::Etot() const {return 0;}
125void TGeant3::Rndm(Float_t*, const Int_t) const {}
126Float_t TGeant3::TrackStep() const {return 0;}
127Float_t TGeant3::TrackLength() const {return 0;}
128Float_t TGeant3::TrackTime() const {return 0;}
129Int_t TGeant3::TrackPid() const {return 0;}
130Bool_t TGeant3::IsTrackAlive() const {return 0;}
131void TGeant3::StopTrack() {}
132void TGeant3::StopEvent() {}
133void TGeant3::SetMaxNStep(Int_t) {}
134Int_t TGeant3::GetMaxNStep() const {return 0;}
135void TGeant3::Material(Int_t&, const char*, Float_t, Float_t, Float_t, Float_t,
136 Float_t, Float_t*, Int_t){}
137void TGeant3::Mixture(Int_t&, const char*, Float_t*, Float_t*, Float_t, Int_t, Float_t*){}
138void TGeant3::Medium(Int_t&, const char*, Int_t, Int_t, Int_t, Float_t, Float_t,
139 Float_t, Float_t, Float_t, Float_t, Float_t*, Int_t){}
140void TGeant3::Matrix(Int_t&, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t){}
141void TGeant3::WriteEuclid(const char*, const char*, Int_t, Int_t) {}
142
143
144void TGeant3::Gpcxyz() {}
145void TGeant3::Ggclos() {}
146void TGeant3::Glast() {}
147void TGeant3::Gprint(const char*) {}
148void TGeant3::Grun() {}
149void TGeant3::Gtrig() {}
150void TGeant3::Gtrigc() {}
151void TGeant3::Gtrigi() {}
152void TGeant3::Gwork(Int_t) {}
153void TGeant3::Gzinit() {}
154
155
156//=======================functions from GCONS
157//___________________________________________
158void TGeant3::Gfmate(Int_t, char*, Float_t&, Float_t&, Float_t&, Float_t&,
159 Float_t&, Float_t*, Int_t&){}
160
161//___________________________________________
162void TGeant3::Gfpart(Int_t, char*, Int_t&, Float_t&, Float_t&, Float_t&){}
163
164//___________________________________________
165void TGeant3::Gftmed(Int_t, char*, Int_t&, Int_t&, Int_t&, Float_t&, Float_t&,
166 Float_t&, Float_t&, Float_t&, Float_t&, Float_t*, Int_t*){}
167void TGeant3::Gftmat(Int_t, Int_t, char*, Int_t, Float_t*, Float_t*,
168 Float_t*, Int_t&){}
169Float_t TGeant3::Gbrelm(Float_t, Float_t, Float_t){return (Float_t) 0;}
170Float_t TGeant3::Gprelm(Float_t, Float_t, Float_t){return (Float_t) 0;}
171
172
173//___________________________________________
174void TGeant3::Gmate() {}
175void TGeant3::Gpart() {}
176void TGeant3::Gsdk(Int_t, Float_t*, Int_t*) {}
177void TGeant3::Gsmate(Int_t, const char*, Float_t, Float_t, Float_t, Float_t, Float_t) {}
178void TGeant3::Gsmixt(Int_t, const char*, Float_t*, Float_t*, Float_t, Int_t, Float_t*) {}
179void TGeant3::Gspart(Int_t, const char*, Int_t, Float_t, Float_t, Float_t) {}
180void TGeant3::Gstmed(Int_t, const char*, Int_t, Int_t,
181 Int_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t) {}
182void TGeant3::Gstpar(Int_t, const char*, Float_t) {}
183void TGeant3::Gsckov(Int_t, Int_t, Float_t *, Float_t *, Float_t *, Float_t *) {}
184
185
186//=======================functions from GKINE
187//___________________________________________
188void TGeant3::Gfkine(Int_t, Float_t*, Float_t*, Int_t&, Int_t&) {}
189void TGeant3::Gfvert(Int_t, Float_t*, Int_t&, Int_t&, Float_t&) {}
190Int_t TGeant3::Gskine(Float_t*, Int_t, Int_t, Float_t*, Int_t){return 0;}
191
192//___________________________________________
193Int_t TGeant3::Gsvert(Float_t*, Int_t, Int_t, Float_t*, Int_t){return 0;}
194
195//=======================functions from GPHYS
196//___________________________________________
197void TGeant3::Gphysi() {}
198
199
200//=======================functions from GTRAK
201//___________________________________________
202void TGeant3::Gdebug() {}
203void TGeant3::Gekbin() {}
204void TGeant3::Gfinds() {}
205void TGeant3::Gsking(Int_t) {}
206void TGeant3::Gskpho(Int_t) {}
207void TGeant3::Gsstak(Int_t) {}
208void TGeant3::Gsxyz() {}
209void TGeant3::Gtrack() {}
210void TGeant3::Gtreve() {}
211void TGeant3::GtreveRoot() {}
212void TGeant3::Grndm(Float_t*, const Int_t) const {}
213void TGeant3::Grndmq(Int_t&, Int_t&, const Int_t, const Text_t*) {}
214
215//=======================functions from GDRAW
216//___________________________________________
217void TGeant3::Gdxyz(Int_t ) {}
218void TGeant3::Gdcxyz() {}
219
220
221//=======================functions from GGEOM
222//___________________________________________
223void TGeant3::Gdtom(Float_t*, Float_t*, Int_t) {}
224void TGeant3::Glmoth(const char*, Int_t, Int_t&, Int_t*, Int_t*) {}
225void TGeant3::Gmedia(Float_t*, Int_t&) {}
226void TGeant3::Gmtod(Float_t*, Float_t*, Int_t) {}
227void TGeant3::Gsdvn(const char*, const char*, Int_t, Int_t) {}
228void TGeant3::Gsdvn2(const char*, const char*, Int_t, Int_t, Float_t, Int_t) {}
229void TGeant3::Gsdvs(const char*, const char*, Float_t, Int_t, Int_t) {}
230void TGeant3::Gsdvs2(const char*, const char*, Float_t, Int_t, Float_t, Int_t) {}
231void TGeant3::Gsdvt(const char*, const char*, Float_t, Int_t, Int_t, Int_t) {}
232void TGeant3::Gsdvt2(const char *, const char *, Float_t, Int_t, Float_t, Int_t, Int_t) {}
233void TGeant3::Gsord(const char*, Int_t) {}
234void TGeant3::Gspos(const char*, Int_t, const char*, Float_t, Float_t, Float_t, Int_t, const char*) {}
235void TGeant3::Gsposp(const char*, Int_t, const char*, Float_t, Float_t, Float_t, Int_t, const char*, Float_t*, Int_t) {}
236void TGeant3::Gsrotm(Int_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t) {}
237void TGeant3::Gprotm(Int_t) {}
238Int_t TGeant3::Gsvolu(const char*, const char*, Int_t, Float_t*, Int_t){return 0;}
239void TGeant3::Gsatt(const char*, const char*, Int_t) {}
240void TGeant3::Gfpara(const char*, Int_t, Int_t, Int_t&, Int_t&, Float_t*, Float_t*) {}
241void TGeant3::Gckpar(Int_t, Int_t, Float_t*) {}
242void TGeant3::Gckmat(Int_t, char*) {}
243Int_t TGeant3::Glvolu(Int_t, Int_t*, Int_t*) {return 0;}
244void TGeant3::BuildPhysics() {}
245
246//______________________________________________________________________________
247void TGeant3::Streamer(TBuffer &R__b)
248{
249 // Stream an object of class TGeant3.
250
251 if (R__b.IsReading()) {
252 Version_t R__v = R__b.ReadVersion(); if (R__v) { }
253 AliMC::Streamer(R__b);
254 R__b >> fNextVol;
255 } else {
256 R__b.WriteVersion(TGeant3::IsA());
257 AliMC::Streamer(R__b);
258 R__b << fNextVol;
259 }
260}
261
262//=======================DRAW functions
263//____________________________________
264void TGeant3::InitHIGZ() {}
265void TGeant3::Gdopen(Int_t) {}
266void TGeant3::Gdclose() {}
267void TGeant3::Gdelete(Int_t) {}
268void TGeant3::Gdshow(Int_t) {}
269void TGeant3::Gdopt(const char *,const char *) {}
270void TGeant3::Gdraw(const char *,Float_t, Float_t, Float_t,Float_t,Float_t,Float_t,Float_t) {}
271void TGeant3::Gdrawc(const char *,Int_t, Float_t,Float_t,Float_t,Float_t,Float_t) {}
272void TGeant3::Gdrawx(const char *,Float_t, Float_t, Float_t,
273 Float_t, Float_t,Float_t,Float_t,Float_t,Float_t) {}
274void TGeant3::Gdhead(Int_t, const char *, Float_t) {}
275void TGeant3::Gdman(Float_t, Float_t, const char *) {}
276void TGeant3::Gdspec(const char *) {}
277void TGeant3::DrawOneSpec(const char *) {}
278void TGeant3::Gdtree(const char *,Int_t,Int_t) {}
279void TGeant3::GdtreeParent(const char *,Int_t,Int_t) {}
280
281//=======================Set functions
282//____________________________________
283void TGeant3::SetABAN(Int_t) {}
284void TGeant3::SetANNI(Int_t) {}
285void TGeant3::SetAUTO(Int_t) {}
286void TGeant3::SetBOMB(Float_t) {}
287void TGeant3::SetBREM(Int_t) {}
288void TGeant3::SetCKOV(Int_t) {}
289void TGeant3::SetClipBox(const char *,Float_t,Float_t, Float_t,Float_t,Float_t,Float_t) {}
290void TGeant3::SetCOMP(Int_t) {}
291void TGeant3::SetCUTS(Float_t,Float_t,Float_t,Float_t,
292 Float_t,Float_t,Float_t,Float_t,
293 Float_t,Float_t, Float_t) {}
294void TGeant3::SetDCAY(Int_t) {}
295void TGeant3::SetDEBU(Int_t, Int_t, Int_t) {}
296void TGeant3::SetDRAY(Int_t) {}
297void TGeant3::SetERAN(Float_t, Float_t, Int_t) {}
298void TGeant3::SetHADR(Int_t) {}
299void TGeant3::SetKINE(Int_t, Float_t, Float_t, Float_t, Float_t,
300 Float_t, Float_t, Float_t, Float_t, Float_t,
301 Float_t) {}
302void TGeant3::SetLOSS(Int_t) {}
303void TGeant3::SetMULS(Int_t) {}
304void TGeant3::SetMUNU(Int_t) {}
305void TGeant3::SetOPTI(Int_t) {}
306void TGeant3::SetPAIR(Int_t) {}
307void TGeant3::SetPFIS(Int_t) {}
308void TGeant3::SetPHOT(Int_t) {}
309void TGeant3::SetRAYL(Int_t) {}
310void TGeant3::SetSTRA(Int_t) {}
311void TGeant3::SetSWIT(Int_t , Int_t) {}
312void TGeant3::SetTRIG(Int_t) {}
313void TGeant3::SetUserDecay(Int_t) {}
314void TGeant3::Vname(const char *, char *) {}
315void TGeant3::InitLego() {}
316void TGeant3::Ertrgo() {}
317void TGeant3::Ertrak(const Float_t *const , const Float_t *const ,
318 const Float_t *, const Float_t *,
319 Int_t , Option_t *) {}
320
321
322
323
324#include "AliCallf77.h"
325
326
327extern "C" type_of_call {
328
329 // This is only for ITS
330
331 void type_of_call gsvolu_(){}
332 void type_of_call gspos_(){}
333 void type_of_call gsatt_(){}
334 void type_of_call gsdvn_(){}
335 void type_of_call gsposp_(){}
336 void type_of_call atg_(){}
337 void type_of_call sxsrot_(){}
338
339 // All this for ZDC
340
341 void type_of_call grndm_(){}
342 void type_of_call gphits_(){}
343 void type_of_call gfhits_() {}
344 void type_of_call gsvert_(){}
345 void type_of_call gskine_(){}
346 void type_of_call gfpart_(){}
347 void type_of_call lorenf_(){}
348 void type_of_call gpvert_(){}
349 void type_of_call gpkine_(){}
350 void type_of_call rnorml_(){}
351 void type_of_call gfpath_() {}
352 void type_of_call uctoh_() {}
353 void type_of_call glvolu_() {}
354 void type_of_call gmtod_() {}
355 void type_of_call gfkine_() {}
356 void type_of_call vmod_() {}
357 void type_of_call gsahit_() {}
358 void type_of_call gschit_() {}
359 void type_of_call gdtom_() {}
360 void type_of_call rnpssn_() {}
361 void type_of_call ucopy_() {}
362}