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