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