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