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