1 //////////////////////////////////////////////////////
2 // C++ dummy interface to Geant3 basic routines //
3 //////////////////////////////////////////////////////
7 //---------------------------------------------------------
11 //___________________________________________
14 //___________________________________________
15 TGeant3::TGeant3(const char *title, Int_t)
16 :AliMC("TGeant3",title){}
18 //___________________________________________
19 void TGeant3::DefaultRange() {}
21 //___________________________________________
22 void TGeant3::LoadAddress() {}
24 //=======================functions from GBASE
26 //___________________________________________
27 void TGeant3::Gfile(const char*, const char*) {}
28 void TGeant3::GeomIter() {}
29 Int_t TGeant3::CurrentMaterial(Float_t &, Float_t &, Float_t &, Float_t &, Float_t &) const {return 0;}
30 Int_t TGeant3::NextVolUp(Text_t*, Int_t&) {return 0;}
31 Int_t TGeant3::CurrentVolID(Int_t&) const {return 0;}
32 const char* TGeant3::CurrentVolName() const {return 0;}
33 Int_t TGeant3::NofVolumes() const {return 0;}
34 Int_t TGeant3::CurrentVolOffID(Int_t, Int_t&) const {return 0;}
35 const char *TGeant3::CurrentVolOffName(Int_t) const {return 0;}
36 void TGeant3::TrackPosition(TLorentzVector&) const {}
37 void TGeant3::TrackMomentum(TLorentzVector&) const {}
38 Int_t TGeant3::IdFromPDG(Int_t) const {return -1;}
39 Int_t TGeant3::PDGFromId(Int_t) const {return -1;}
40 void TGeant3::DefineParticles() {}
41 Int_t TGeant3::VolId(Text_t*) const {return 0;}
42 const char* TGeant3::VolName(Int_t ) const {return 0;}
43 Float_t TGeant3::TrackCharge() const {return 0;}
44 Float_t TGeant3::TrackMass() const {return 0;}
45 Bool_t TGeant3::IsTrackInside() const {return 0;}
46 Bool_t TGeant3::IsTrackEntering() const {return 0;}
47 Bool_t TGeant3::IsTrackExiting() const {return 0;}
48 Bool_t TGeant3::IsTrackOut() const {return 0;}
49 Bool_t TGeant3::IsTrackDisappeared() const {return 0;}
50 Bool_t TGeant3::IsTrackStop() const {return 0;}
51 Int_t TGeant3::NSecondaries() const {return 0;}
52 void TGeant3::ProdProcess(char*) const {}
53 void TGeant3::GetSecondary(Int_t, Int_t&, Float_t*, Float_t*){}
54 Float_t TGeant3::MaxStep() const {return 0;}
55 void TGeant3::SetMaxStep(Float_t ) {}
56 void TGeant3::GetParticle(const Int_t, char*, Float_t&) const {}
57 Int_t TGeant3::CurrentEvent() const {return 0;}
58 Int_t TGeant3::GetMedium() const {return 0;}
59 Float_t TGeant3::Edep() const {return 0;}
60 Float_t TGeant3::Etot() const {return 0;}
61 void TGeant3::Rndm(Float_t*, const Int_t) const {}
62 Float_t TGeant3::TrackStep() const {return 0;}
63 Float_t TGeant3::TrackLength() const {return 0;}
64 Float_t TGeant3::TrackTime() const {return 0;}
65 Int_t TGeant3::TrackPid() const {return 0;}
66 Bool_t TGeant3::IsTrackAlive() const {return 0;}
67 void TGeant3::StopTrack() {}
68 void TGeant3::StopEvent() {}
69 void TGeant3::SetMaxNStep(Int_t) {}
70 void TGeant3::SetColors() {}
71 Int_t TGeant3::GetMaxNStep() const {return 0;}
72 void TGeant3::Material(Int_t&, const char*, Float_t, Float_t, Float_t, Float_t,
73 Float_t, Float_t*, Int_t){}
74 void TGeant3::Mixture(Int_t&, const char*, Float_t*, Float_t*, Float_t, Int_t, Float_t*){}
75 void TGeant3::Medium(Int_t&, const char*, Int_t, Int_t, Int_t, Float_t, Float_t,
76 Float_t, Float_t, Float_t, Float_t, Float_t*, Int_t){}
77 void TGeant3::Matrix(Int_t&, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t){}
78 void TGeant3::WriteEuclid(const char*, const char*, Int_t, Int_t) {}
81 void TGeant3::Gpcxyz() {}
82 void TGeant3::Ggclos() {}
83 void TGeant3::Glast() {}
84 void TGeant3::Gprint(const char*) {}
85 void TGeant3::Grun() {}
86 void TGeant3::Gtrig() {}
87 void TGeant3::Gtrigc() {}
88 void TGeant3::Gtrigi() {}
89 void TGeant3::Gwork(Int_t) {}
90 void TGeant3::Gzinit() {}
93 //=======================functions from GCONS
94 //___________________________________________
95 void TGeant3::Gfmate(Int_t, char*, Float_t&, Float_t&, Float_t&, Float_t&,
96 Float_t&, Float_t*, Int_t&){}
98 //___________________________________________
99 void TGeant3::Gfpart(Int_t, char*, Int_t&, Float_t&, Float_t&, Float_t&){}
101 //___________________________________________
102 void TGeant3::Gftmed(Int_t, char*, Int_t&, Int_t&, Int_t&, Float_t&, Float_t&,
103 Float_t&, Float_t&, Float_t&, Float_t&, Float_t*, Int_t*){}
105 //___________________________________________
106 void TGeant3::Gmate() {}
107 void TGeant3::Gpart() {}
108 void TGeant3::Gsdk(Int_t, Float_t*, Int_t*) {}
109 void TGeant3::Gsmate(Int_t, const char*, Float_t, Float_t, Float_t, Float_t, Float_t) {}
110 void TGeant3::Gsmixt(Int_t, const char*, Float_t*, Float_t*, Float_t, Int_t, Float_t*) {}
111 void TGeant3::Gspart(Int_t, const char*, Int_t, Float_t, Float_t, Float_t) {}
112 void TGeant3::Gstmed(Int_t, const char*, Int_t, Int_t,
113 Int_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t) {}
114 void TGeant3::Gstpar(Int_t, const char*, Float_t) {}
115 void TGeant3::Gsckov(Int_t, Int_t, Float_t *, Float_t *, Float_t *, Float_t *) {}
118 //=======================functions from GKINE
119 //___________________________________________
120 void TGeant3::Gfkine(Int_t, Float_t*, Float_t*, Int_t&, Int_t&) {}
121 void TGeant3::Gfvert(Int_t, Float_t*, Int_t&, Int_t&, Float_t&) {}
122 Int_t TGeant3::Gskine(Float_t*, Int_t, Int_t, Float_t*, Int_t){return 0;}
124 //___________________________________________
125 Int_t TGeant3::Gsvert(Float_t*, Int_t, Int_t, Float_t*, Int_t){return 0;}
127 //=======================functions from GPHYS
128 //___________________________________________
129 void TGeant3::Gphysi() {}
132 //=======================functions from GTRAK
133 //___________________________________________
134 void TGeant3::Gdebug() {}
135 void TGeant3::Gekbin() {}
136 void TGeant3::Gfinds() {}
137 void TGeant3::Gsking(Int_t) {}
138 void TGeant3::Gskpho(Int_t) {}
139 void TGeant3::Gsstak(Int_t) {}
140 void TGeant3::Gsxyz() {}
141 void TGeant3::Gtrack() {}
142 void TGeant3::Gtreve() {}
143 void TGeant3::Gtreve_root() {}
144 void TGeant3::Grndm(Float_t*, const Int_t) const {}
145 void TGeant3::Grndmq(Int_t&, Int_t&, const Int_t, const Text_t*) {}
147 //=======================functions from GDRAW
148 //___________________________________________
149 void TGeant3::Gdxyz(Int_t ) {}
150 void TGeant3::Gdcxyz() {}
153 //=======================functions from GGEOM
154 //___________________________________________
155 void TGeant3::Gdtom(Float_t*, Float_t*, Int_t) {}
156 void TGeant3::Glmoth(const char*, Int_t, Int_t&, Int_t*, Int_t*) {}
157 void TGeant3::Gmedia(Float_t*, Int_t&) {}
158 void TGeant3::Gmtod(Float_t*, Float_t*, Int_t) {}
159 void TGeant3::Gsdvn(const char*, const char*, Int_t, Int_t) {}
160 void TGeant3::Gsdvn2(const char*, const char*, Int_t, Int_t, Float_t, Int_t) {}
161 void TGeant3::Gsdvs(const char*, const char*, Float_t, Int_t, Int_t) {}
162 void TGeant3::Gsdvs2(const char*, const char*, Float_t, Int_t, Float_t, Int_t) {}
163 void TGeant3::Gsdvt(const char*, const char*, Float_t, Int_t, Int_t, Int_t) {}
164 void TGeant3::Gsdvt2(const char *, const char *, Float_t, Int_t, Float_t, Int_t, Int_t) {}
165 void TGeant3::Gsord(const char*, Int_t) {}
166 void TGeant3::Gspos(const char*, Int_t, const char*, Float_t, Float_t, Float_t, Int_t, const char*) {}
167 void TGeant3::Gsposp(const char*, Int_t, const char*, Float_t, Float_t, Float_t, Int_t, const char*, Float_t*, Int_t) {}
168 void TGeant3::Gsrotm(Int_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t) {}
169 void TGeant3::Gprotm(Int_t) {}
170 Int_t TGeant3::Gsvolu(const char*, const char*, Int_t, Float_t*, Int_t){return 0;}
171 void TGeant3::Gsatt(const char*, const char*, Int_t) {}
172 void TGeant3::Gfpara(const char*, Int_t, Int_t, Int_t&, Int_t&, Float_t*, Float_t*) {}
173 void TGeant3::Gckpar(Int_t, Int_t, Float_t*) {}
174 void TGeant3::Gckmat(Int_t, char*) {}
176 //______________________________________________________________________________
177 void TGeant3::Streamer(TBuffer &R__b)
179 // Stream an object of class TGeant3.
181 if (R__b.IsReading()) {
182 Version_t R__v = R__b.ReadVersion(); if (R__v) { }
183 AliMC::Streamer(R__b);
186 R__b.WriteVersion(TGeant3::IsA());
187 AliMC::Streamer(R__b);
192 //=======================DRAW functions
193 //____________________________________
194 void TGeant3::InitHIGZ() {}
195 void TGeant3::Gdopen(Int_t) {}
196 void TGeant3::Gdclose() {}
197 void TGeant3::Gdelete(Int_t) {}
198 void TGeant3::Gdshow(Int_t) {}
199 void TGeant3::Gdopt(const char *,const char *) {}
200 void TGeant3::Gdraw(const char *,Float_t, Float_t, Float_t,Float_t,Float_t,Float_t,Float_t) {}
201 void TGeant3::Gdrawc(const char *,Int_t, Float_t,Float_t,Float_t,Float_t,Float_t) {}
202 void TGeant3::Gdrawx(const char *,Float_t, Float_t, Float_t,
203 Float_t, Float_t,Float_t,Float_t,Float_t,Float_t) {}
204 void TGeant3::Gdhead(Int_t, const char *, Float_t) {}
205 void TGeant3::Gdman(Float_t, Float_t, const char *) {}
206 void TGeant3::Gdspec(const char *) {}
207 void TGeant3::DrawOneSpec(const char *) {}
208 void TGeant3::Gdtree(const char *,Int_t,Int_t) {}
209 void TGeant3::GdtreeParent(const char *,Int_t,Int_t) {}
211 //=======================Set functions
212 //____________________________________
213 void TGeant3::SetABAN(Int_t) {}
214 void TGeant3::SetANNI(Int_t) {}
215 void TGeant3::SetAUTO(Int_t) {}
216 void TGeant3::SetBOMB(Float_t) {}
217 void TGeant3::SetBREM(Int_t) {}
218 void TGeant3::SetCKOV(Int_t) {}
219 void TGeant3::SetClipBox(const char *,Float_t,Float_t, Float_t,Float_t,Float_t,Float_t) {}
220 void TGeant3::SetCOMP(Int_t) {}
221 void TGeant3::SetCUTS(Float_t,Float_t,Float_t,Float_t,
222 Float_t,Float_t,Float_t,Float_t,
223 Float_t,Float_t, Float_t) {}
224 void TGeant3::SetDCAY(Int_t) {}
225 void TGeant3::SetDEBU(Int_t, Int_t, Int_t) {}
226 void TGeant3::SetDRAY(Int_t) {}
227 void TGeant3::SetHADR(Int_t) {}
228 void TGeant3::SetKINE(Int_t, Float_t, Float_t, Float_t, Float_t,
229 Float_t, Float_t, Float_t, Float_t, Float_t,
231 void TGeant3::SetLOSS(Int_t) {}
232 void TGeant3::SetMULS(Int_t) {}
233 void TGeant3::SetMUNU(Int_t) {}
234 void TGeant3::SetOPTI(Int_t) {}
235 void TGeant3::SetPAIR(Int_t) {}
236 void TGeant3::SetPFIS(Int_t) {}
237 void TGeant3::SetPHOT(Int_t) {}
238 void TGeant3::SetRAYL(Int_t) {}
239 void TGeant3::SetSWIT(Int_t , Int_t) {}
240 void TGeant3::SetTRIG(Int_t) {}
241 void TGeant3::SetUserDecay(Int_t) {}
242 void TGeant3::Vname(const char *, char *) {}
243 void TGeant3::InitLego() {}
246 #include "AliCallf77.h"
249 extern "C" type_of_call {
251 // This is only for ITS
253 void type_of_call gsvolu_(){}
254 void type_of_call gspos_(){}
255 void type_of_call gsatt_(){}
256 void type_of_call gsdvn_(){}
257 void type_of_call gsposp_(){}
258 void type_of_call atg_(){}
259 void type_of_call sxsrot_(){}
263 void type_of_call grndm_(){}
264 void type_of_call gphits_(){}
265 void type_of_call gfhits_() {}
266 void type_of_call gsvert_(){}
267 void type_of_call gskine_(){}
268 void type_of_call gfpart_(){}
269 void type_of_call lorenf_(){}
270 void type_of_call gpvert_(){}
271 void type_of_call gpkine_(){}
272 void type_of_call rnorml_(){}
273 void type_of_call gfpath_() {}
274 void type_of_call uctoh_() {}
275 void type_of_call glvolu_() {}
276 void type_of_call gmtod_() {}
277 void type_of_call gfkine_() {}
278 void type_of_call vmod_() {}
279 void type_of_call gsahit_() {}
280 void type_of_call gschit_() {}
281 void type_of_call gdtom_() {}
282 void type_of_call rnpssn_() {}
283 void type_of_call ucopy_() {}