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