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