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