]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TGeant3/TGeant3Dummy.cxx
Bug in calculation of number of volume divisions and number of positionings corrected
[u/mrichter/AliRoot.git] / TGeant3 / TGeant3Dummy.cxx
CommitLineData
4c039060 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$
9e7a32d1 18Revision 1.14 1999/11/03 16:31:36 fca
19Dummy ProdProcess should return a value
20
3476b83b 21Revision 1.13 1999/11/03 13:17:08 fca
22Have ProdProcess return const char*
23
6a935c13 24Revision 1.12 1999/11/02 17:05:06 fca
25Update GetSecondary arguments
26
41982d56 27Revision 1.11 1999/09/29 09:24:31 fca
28Introduction of the Copyright and cvs Log
29
4c039060 30*/
31
fe4da5cc 32//////////////////////////////////////////////////////
33// C++ dummy interface to Geant3 basic routines //
34//////////////////////////////////////////////////////
35
36#include "TGeant3.h"
37
38//---------------------------------------------------------
39
40ClassImp(TGeant3)
41
42//___________________________________________
43TGeant3::TGeant3(){}
44
45//___________________________________________
46TGeant3::TGeant3(const char *title, Int_t)
47 :AliMC("TGeant3",title){}
48
49//___________________________________________
50void TGeant3::DefaultRange() {}
51
52//___________________________________________
53void TGeant3::LoadAddress() {}
54
55//=======================functions from GBASE
56
57//___________________________________________
58void TGeant3::Gfile(const char*, const char*) {}
59void TGeant3::GeomIter() {}
60Int_t TGeant3::CurrentMaterial(Float_t &, Float_t &, Float_t &, Float_t &, Float_t &) const {return 0;}
61Int_t TGeant3::NextVolUp(Text_t*, Int_t&) {return 0;}
0a6d8768 62Int_t TGeant3::CurrentVolID(Int_t&) const {return 0;}
63const char* TGeant3::CurrentVolName() const {return 0;}
01a7ece8 64Float_t TGeant3::Xsec(char*, Float_t, Int_t, Int_t) {return 0;}
1f97a957 65Int_t TGeant3::NofVolumes() const {return 0;}
0a6d8768 66Int_t TGeant3::CurrentVolOffID(Int_t, Int_t&) const {return 0;}
67const char *TGeant3::CurrentVolOffName(Int_t) const {return 0;}
68void TGeant3::TrackPosition(TLorentzVector&) const {}
69void TGeant3::TrackMomentum(TLorentzVector&) const {}
577201de 70Int_t TGeant3::IdFromPDG(Int_t) const {return -1;}
71Int_t TGeant3::PDGFromId(Int_t) const {return -1;}
1578254f 72void TGeant3::DefineParticles() {}
fe4da5cc 73Int_t TGeant3::VolId(Text_t*) const {return 0;}
099385a4 74const char* TGeant3::VolName(Int_t ) const {return 0;}
fe4da5cc 75Float_t TGeant3::TrackCharge() const {return 0;}
76Float_t TGeant3::TrackMass() const {return 0;}
0a6d8768 77Bool_t TGeant3::IsTrackInside() const {return 0;}
78Bool_t TGeant3::IsTrackEntering() const {return 0;}
79Bool_t TGeant3::IsTrackExiting() const {return 0;}
80Bool_t TGeant3::IsTrackOut() const {return 0;}
81Bool_t TGeant3::IsTrackDisappeared() const {return 0;}
82Bool_t TGeant3::IsTrackStop() const {return 0;}
fe4da5cc 83Int_t TGeant3::NSecondaries() const {return 0;}
3476b83b 84const char* TGeant3::ProdProcess() const {return 0;}
41982d56 85void TGeant3::GetSecondary(Int_t, Int_t&,
86 TLorentzVector&, TLorentzVector&){}
fe4da5cc 87Float_t TGeant3::MaxStep() const {return 0;}
88void TGeant3::SetMaxStep(Float_t ) {}
fe4da5cc 89Int_t TGeant3::CurrentEvent() const {return 0;}
90Int_t TGeant3::GetMedium() const {return 0;}
91Float_t TGeant3::Edep() const {return 0;}
92Float_t TGeant3::Etot() const {return 0;}
93void TGeant3::Rndm(Float_t*, const Int_t) const {}
94Float_t TGeant3::TrackStep() const {return 0;}
95Float_t TGeant3::TrackLength() const {return 0;}
96Float_t TGeant3::TrackTime() const {return 0;}
97Int_t TGeant3::TrackPid() const {return 0;}
0a6d8768 98Bool_t TGeant3::IsTrackAlive() const {return 0;}
fe4da5cc 99void TGeant3::StopTrack() {}
100void TGeant3::StopEvent() {}
101void TGeant3::SetMaxNStep(Int_t) {}
102void TGeant3::SetColors() {}
103Int_t TGeant3::GetMaxNStep() const {return 0;}
104void TGeant3::Material(Int_t&, const char*, Float_t, Float_t, Float_t, Float_t,
105 Float_t, Float_t*, Int_t){}
106void TGeant3::Mixture(Int_t&, const char*, Float_t*, Float_t*, Float_t, Int_t, Float_t*){}
107void TGeant3::Medium(Int_t&, const char*, Int_t, Int_t, Int_t, Float_t, Float_t,
108 Float_t, Float_t, Float_t, Float_t, Float_t*, Int_t){}
109void TGeant3::Matrix(Int_t&, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t){}
110void TGeant3::WriteEuclid(const char*, const char*, Int_t, Int_t) {}
111
112
113void TGeant3::Gpcxyz() {}
114void TGeant3::Ggclos() {}
115void TGeant3::Glast() {}
116void TGeant3::Gprint(const char*) {}
117void TGeant3::Grun() {}
118void TGeant3::Gtrig() {}
119void TGeant3::Gtrigc() {}
120void TGeant3::Gtrigi() {}
121void TGeant3::Gwork(Int_t) {}
122void TGeant3::Gzinit() {}
123
124
125//=======================functions from GCONS
126//___________________________________________
127void TGeant3::Gfmate(Int_t, char*, Float_t&, Float_t&, Float_t&, Float_t&,
128 Float_t&, Float_t*, Int_t&){}
129
130//___________________________________________
131void TGeant3::Gfpart(Int_t, char*, Int_t&, Float_t&, Float_t&, Float_t&){}
132
133//___________________________________________
134void TGeant3::Gftmed(Int_t, char*, Int_t&, Int_t&, Int_t&, Float_t&, Float_t&,
135 Float_t&, Float_t&, Float_t&, Float_t&, Float_t*, Int_t*){}
136
137//___________________________________________
138void TGeant3::Gmate() {}
139void TGeant3::Gpart() {}
140void TGeant3::Gsdk(Int_t, Float_t*, Int_t*) {}
141void TGeant3::Gsmate(Int_t, const char*, Float_t, Float_t, Float_t, Float_t, Float_t) {}
142void TGeant3::Gsmixt(Int_t, const char*, Float_t*, Float_t*, Float_t, Int_t, Float_t*) {}
143void TGeant3::Gspart(Int_t, const char*, Int_t, Float_t, Float_t, Float_t) {}
144void TGeant3::Gstmed(Int_t, const char*, Int_t, Int_t,
145 Int_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t) {}
146void TGeant3::Gstpar(Int_t, const char*, Float_t) {}
147void TGeant3::Gsckov(Int_t, Int_t, Float_t *, Float_t *, Float_t *, Float_t *) {}
148
149
150//=======================functions from GKINE
151//___________________________________________
152void TGeant3::Gfkine(Int_t, Float_t*, Float_t*, Int_t&, Int_t&) {}
153void TGeant3::Gfvert(Int_t, Float_t*, Int_t&, Int_t&, Float_t&) {}
154Int_t TGeant3::Gskine(Float_t*, Int_t, Int_t, Float_t*, Int_t){return 0;}
155
156//___________________________________________
157Int_t TGeant3::Gsvert(Float_t*, Int_t, Int_t, Float_t*, Int_t){return 0;}
158
159//=======================functions from GPHYS
160//___________________________________________
161void TGeant3::Gphysi() {}
162
163
164//=======================functions from GTRAK
165//___________________________________________
166void TGeant3::Gdebug() {}
167void TGeant3::Gekbin() {}
168void TGeant3::Gfinds() {}
169void TGeant3::Gsking(Int_t) {}
170void TGeant3::Gskpho(Int_t) {}
171void TGeant3::Gsstak(Int_t) {}
172void TGeant3::Gsxyz() {}
173void TGeant3::Gtrack() {}
174void TGeant3::Gtreve() {}
1578254f 175void TGeant3::Gtreve_root() {}
fe4da5cc 176void TGeant3::Grndm(Float_t*, const Int_t) const {}
177void TGeant3::Grndmq(Int_t&, Int_t&, const Int_t, const Text_t*) {}
178
179//=======================functions from GDRAW
180//___________________________________________
181void TGeant3::Gdxyz(Int_t ) {}
182void TGeant3::Gdcxyz() {}
183
184
185//=======================functions from GGEOM
186//___________________________________________
187void TGeant3::Gdtom(Float_t*, Float_t*, Int_t) {}
188void TGeant3::Glmoth(const char*, Int_t, Int_t&, Int_t*, Int_t*) {}
189void TGeant3::Gmedia(Float_t*, Int_t&) {}
190void TGeant3::Gmtod(Float_t*, Float_t*, Int_t) {}
191void TGeant3::Gsdvn(const char*, const char*, Int_t, Int_t) {}
192void TGeant3::Gsdvn2(const char*, const char*, Int_t, Int_t, Float_t, Int_t) {}
193void TGeant3::Gsdvs(const char*, const char*, Float_t, Int_t, Int_t) {}
194void TGeant3::Gsdvs2(const char*, const char*, Float_t, Int_t, Float_t, Int_t) {}
195void TGeant3::Gsdvt(const char*, const char*, Float_t, Int_t, Int_t, Int_t) {}
196void TGeant3::Gsdvt2(const char *, const char *, Float_t, Int_t, Float_t, Int_t, Int_t) {}
197void TGeant3::Gsord(const char*, Int_t) {}
198void TGeant3::Gspos(const char*, Int_t, const char*, Float_t, Float_t, Float_t, Int_t, const char*) {}
199void TGeant3::Gsposp(const char*, Int_t, const char*, Float_t, Float_t, Float_t, Int_t, const char*, Float_t*, Int_t) {}
200void TGeant3::Gsrotm(Int_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t) {}
201void TGeant3::Gprotm(Int_t) {}
202Int_t TGeant3::Gsvolu(const char*, const char*, Int_t, Float_t*, Int_t){return 0;}
203void TGeant3::Gsatt(const char*, const char*, Int_t) {}
204void TGeant3::Gfpara(const char*, Int_t, Int_t, Int_t&, Int_t&, Float_t*, Float_t*) {}
205void TGeant3::Gckpar(Int_t, Int_t, Float_t*) {}
206void TGeant3::Gckmat(Int_t, char*) {}
207
208//______________________________________________________________________________
209void TGeant3::Streamer(TBuffer &R__b)
210{
211 // Stream an object of class TGeant3.
212
213 if (R__b.IsReading()) {
214 Version_t R__v = R__b.ReadVersion(); if (R__v) { }
215 AliMC::Streamer(R__b);
216 R__b >> fNextVol;
217 } else {
218 R__b.WriteVersion(TGeant3::IsA());
219 AliMC::Streamer(R__b);
220 R__b << fNextVol;
221 }
222}
223
224//=======================DRAW functions
225//____________________________________
226void TGeant3::InitHIGZ() {}
227void TGeant3::Gdopen(Int_t) {}
228void TGeant3::Gdclose() {}
229void TGeant3::Gdelete(Int_t) {}
230void TGeant3::Gdshow(Int_t) {}
231void TGeant3::Gdopt(const char *,const char *) {}
232void TGeant3::Gdraw(const char *,Float_t, Float_t, Float_t,Float_t,Float_t,Float_t,Float_t) {}
233void TGeant3::Gdrawc(const char *,Int_t, Float_t,Float_t,Float_t,Float_t,Float_t) {}
234void TGeant3::Gdrawx(const char *,Float_t, Float_t, Float_t,
235 Float_t, Float_t,Float_t,Float_t,Float_t,Float_t) {}
236void TGeant3::Gdhead(Int_t, const char *, Float_t) {}
237void TGeant3::Gdman(Float_t, Float_t, const char *) {}
238void TGeant3::Gdspec(const char *) {}
239void TGeant3::DrawOneSpec(const char *) {}
240void TGeant3::Gdtree(const char *,Int_t,Int_t) {}
241void TGeant3::GdtreeParent(const char *,Int_t,Int_t) {}
242
243//=======================Set functions
244//____________________________________
245void TGeant3::SetABAN(Int_t) {}
246void TGeant3::SetANNI(Int_t) {}
247void TGeant3::SetAUTO(Int_t) {}
248void TGeant3::SetBOMB(Float_t) {}
249void TGeant3::SetBREM(Int_t) {}
250void TGeant3::SetCKOV(Int_t) {}
251void TGeant3::SetClipBox(const char *,Float_t,Float_t, Float_t,Float_t,Float_t,Float_t) {}
252void TGeant3::SetCOMP(Int_t) {}
253void TGeant3::SetCUTS(Float_t,Float_t,Float_t,Float_t,
254 Float_t,Float_t,Float_t,Float_t,
255 Float_t,Float_t, Float_t) {}
256void TGeant3::SetDCAY(Int_t) {}
257void TGeant3::SetDEBU(Int_t, Int_t, Int_t) {}
258void TGeant3::SetDRAY(Int_t) {}
9e7a32d1 259void TGeant3::SetERAN(Float_t, Float_t, Int_t) {}
fe4da5cc 260void TGeant3::SetHADR(Int_t) {}
261void TGeant3::SetKINE(Int_t, Float_t, Float_t, Float_t, Float_t,
262 Float_t, Float_t, Float_t, Float_t, Float_t,
263 Float_t) {}
264void TGeant3::SetLOSS(Int_t) {}
265void TGeant3::SetMULS(Int_t) {}
266void TGeant3::SetMUNU(Int_t) {}
267void TGeant3::SetOPTI(Int_t) {}
268void TGeant3::SetPAIR(Int_t) {}
269void TGeant3::SetPFIS(Int_t) {}
270void TGeant3::SetPHOT(Int_t) {}
271void TGeant3::SetRAYL(Int_t) {}
272void TGeant3::SetSWIT(Int_t , Int_t) {}
273void TGeant3::SetTRIG(Int_t) {}
7ac3f11b 274void TGeant3::SetUserDecay(Int_t) {}
fe4da5cc 275void TGeant3::Vname(const char *, char *) {}
276void TGeant3::InitLego() {}
6991054d 277void TGeant3::Ertrgo() {}
278void TGeant3::Ertrak(const Float_t *const , const Float_t *const ,
279 const Float_t *, const Float_t *,
280 Int_t , Option_t *) {}
281
282
fe4da5cc 283
284
285#include "AliCallf77.h"
286
287
288extern "C" type_of_call {
289
290 // This is only for ITS
291
292 void type_of_call gsvolu_(){}
293 void type_of_call gspos_(){}
294 void type_of_call gsatt_(){}
295 void type_of_call gsdvn_(){}
296 void type_of_call gsposp_(){}
297 void type_of_call atg_(){}
298 void type_of_call sxsrot_(){}
299
300 // All this for ZDC
301
302 void type_of_call grndm_(){}
303 void type_of_call gphits_(){}
304 void type_of_call gfhits_() {}
305 void type_of_call gsvert_(){}
306 void type_of_call gskine_(){}
307 void type_of_call gfpart_(){}
308 void type_of_call lorenf_(){}
309 void type_of_call gpvert_(){}
310 void type_of_call gpkine_(){}
311 void type_of_call rnorml_(){}
312 void type_of_call gfpath_() {}
313 void type_of_call uctoh_() {}
314 void type_of_call glvolu_() {}
315 void type_of_call gmtod_() {}
316 void type_of_call gfkine_() {}
317 void type_of_call vmod_() {}
318 void type_of_call gsahit_() {}
319 void type_of_call gschit_() {}
320 void type_of_call gdtom_() {}
321 void type_of_call rnpssn_() {}
322 void type_of_call ucopy_() {}
323}