X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=TGeant3%2FTGeant3Dummy.cxx;h=027ca4aad6ad003e381b3812804aa34b293509a1;hp=56f67fdfab01f18905880ae6d9f4a3b6ed67ea78;hb=9579103efdf5fa3cc184e788a701d43d5d285b70;hpb=6991054d7f9a036092f53a81e1312a830152f6f3 diff --git a/TGeant3/TGeant3Dummy.cxx b/TGeant3/TGeant3Dummy.cxx index 56f67fdfab0..027ca4aad6a 100644 --- a/TGeant3/TGeant3Dummy.cxx +++ b/TGeant3/TGeant3Dummy.cxx @@ -1,3 +1,71 @@ +/************************************************************************** + * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * * + * Author: The ALICE Off-line Project. * + * Contributors are mentioned in the code where appropriate. * + * * + * Permission to use, copy, modify and distribute this software and its * + * documentation strictly for non-commercial purposes is hereby granted * + * without fee, provided that the above copyright notice appears in all * + * copies and that both the copyright notice and this permission notice * + * appear in the supporting documentation. The authors make no claims * + * about the suitability of this software for any purpose. It is * + * provided "as is" without express or implied warranty. * + **************************************************************************/ + +/* +$Log$ +Revision 1.26 2000/12/18 11:33:50 alibrary +New call frequence histograms per module and volume + +Revision 1.25 2000/11/30 07:12:54 alibrary +Introducing new Rndm and QA classes + +Revision 1.24 2000/09/14 07:08:42 fca +Introducing glvolu in the interface + +Revision 1.23 2000/07/12 08:56:32 fca +Coding convention correction and warning removal + +Revision 1.22 2000/07/11 18:25:00 fca +Coding convention corrections + few minor bug fixes + +Revision 1.21 2000/06/27 09:26:18 fca +Adding dummy SetSTRA + +Revision 1.20 2000/05/16 13:10:41 fca +New method IsNewTrack and fix for a problem in Father-Daughter relations + +Revision 1.19 2000/04/09 19:00:26 fca +Small corrections left over from removal of AliVMC for G4 compatibility + +Revision 1.18 2000/02/28 21:03:57 fca +Some additions to improve the compatibility with G4 + +Revision 1.17 2000/02/23 16:25:25 fca +AliVMC and AliGeant3 classes introduced +ReadEuclid moved from AliRun to AliModule + +Revision 1.16 2000/01/18 16:27:18 morsch +Dummy definition of Gftmat, Gbrelm and Gprelm added. + +Revision 1.15 2000/01/17 19:41:17 fca +Add SetERAN function + +Revision 1.14 1999/11/03 16:31:36 fca +Dummy ProdProcess should return a value + +Revision 1.13 1999/11/03 13:17:08 fca +Have ProdProcess return const char* + +Revision 1.12 1999/11/02 17:05:06 fca +Update GetSecondary arguments + +Revision 1.11 1999/09/29 09:24:31 fca +Introduction of the Copyright and cvs Log + +*/ + ////////////////////////////////////////////////////// // C++ dummy interface to Geant3 basic routines // ////////////////////////////////////////////////////// @@ -24,13 +92,16 @@ void TGeant3::LoadAddress() {} //=======================functions from GBASE //___________________________________________ +void TGeant3::FinishGeometry() {} void TGeant3::Gfile(const char*, const char*) {} void TGeant3::GeomIter() {} Int_t TGeant3::CurrentMaterial(Float_t &, Float_t &, Float_t &, Float_t &, Float_t &) const {return 0;} Int_t TGeant3::NextVolUp(Text_t*, Int_t&) {return 0;} Int_t TGeant3::CurrentVolID(Int_t&) const {return 0;} const char* TGeant3::CurrentVolName() const {return 0;} +Float_t TGeant3::Xsec(char*, Float_t, Int_t, Int_t) {return 0;} Int_t TGeant3::NofVolumes() const {return 0;} +Int_t TGeant3::VolId2Mate(Int_t id) const {return 0;} Int_t TGeant3::CurrentVolOffID(Int_t, Int_t&) const {return 0;} const char *TGeant3::CurrentVolOffName(Int_t) const {return 0;} void TGeant3::TrackPosition(TLorentzVector&) const {} @@ -38,10 +109,13 @@ void TGeant3::TrackMomentum(TLorentzVector&) const {} Int_t TGeant3::IdFromPDG(Int_t) const {return -1;} Int_t TGeant3::PDGFromId(Int_t) const {return -1;} void TGeant3::DefineParticles() {} -Int_t TGeant3::VolId(Text_t*) const {return 0;} +Int_t TGeant3::VolId(const Text_t*) const {return 0;} +void TGeant3::SetCut(const char* , Float_t ) {} +void TGeant3::SetProcess(const char* , Int_t ) {} const char* TGeant3::VolName(Int_t ) const {return 0;} Float_t TGeant3::TrackCharge() const {return 0;} Float_t TGeant3::TrackMass() const {return 0;} +Bool_t TGeant3::IsNewTrack() const {return 0;} Bool_t TGeant3::IsTrackInside() const {return 0;} Bool_t TGeant3::IsTrackEntering() const {return 0;} Bool_t TGeant3::IsTrackExiting() const {return 0;} @@ -49,15 +123,17 @@ Bool_t TGeant3::IsTrackOut() const {return 0;} Bool_t TGeant3::IsTrackDisappeared() const {return 0;} Bool_t TGeant3::IsTrackStop() const {return 0;} Int_t TGeant3::NSecondaries() const {return 0;} -void TGeant3::ProdProcess(char*) const {} -void TGeant3::GetSecondary(Int_t, Int_t&, Float_t*, Float_t*){} +AliMCProcess TGeant3::ProdProcess(Int_t) const {return kPNoProcess;} +AliMCProcess TGeant3::G3toVMC(Int_t) const {return kPNoProcess;} +Int_t TGeant3::StepProcesses(TArrayI &) const {return 0;} +void TGeant3::GetSecondary(Int_t, Int_t&, + TLorentzVector&, TLorentzVector&){} Float_t TGeant3::MaxStep() const {return 0;} void TGeant3::SetMaxStep(Float_t ) {} Int_t TGeant3::CurrentEvent() const {return 0;} Int_t TGeant3::GetMedium() const {return 0;} Float_t TGeant3::Edep() const {return 0;} Float_t TGeant3::Etot() const {return 0;} -void TGeant3::Rndm(Float_t*, const Int_t) const {} Float_t TGeant3::TrackStep() const {return 0;} Float_t TGeant3::TrackLength() const {return 0;} Float_t TGeant3::TrackTime() const {return 0;} @@ -66,7 +142,6 @@ Bool_t TGeant3::IsTrackAlive() const {return 0;} void TGeant3::StopTrack() {} void TGeant3::StopEvent() {} void TGeant3::SetMaxNStep(Int_t) {} -void TGeant3::SetColors() {} Int_t TGeant3::GetMaxNStep() const {return 0;} void TGeant3::Material(Int_t&, const char*, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t*, Int_t){} @@ -100,6 +175,11 @@ void TGeant3::Gfpart(Int_t, char*, Int_t&, Float_t&, Float_t&, Float_t&){} //___________________________________________ void TGeant3::Gftmed(Int_t, char*, Int_t&, Int_t&, Int_t&, Float_t&, Float_t&, Float_t&, Float_t&, Float_t&, Float_t&, Float_t*, Int_t*){} +void TGeant3::Gftmat(Int_t, Int_t, char*, Int_t, Float_t*, Float_t*, + Float_t*, Int_t&){} +Float_t TGeant3::Gbrelm(Float_t, Float_t, Float_t){return (Float_t) 0;} +Float_t TGeant3::Gprelm(Float_t, Float_t, Float_t){return (Float_t) 0;} + //___________________________________________ void TGeant3::Gmate() {} @@ -110,8 +190,8 @@ void TGeant3::Gsmixt(Int_t, const char*, Float_t*, Float_t*, Float_t, Int_t, Fl void TGeant3::Gspart(Int_t, const char*, Int_t, Float_t, Float_t, Float_t) {} void TGeant3::Gstmed(Int_t, const char*, Int_t, Int_t, Int_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t) {} -void TGeant3::Gstpar(Int_t, const char*, Float_t) {} void TGeant3::Gsckov(Int_t, Int_t, Float_t *, Float_t *, Float_t *, Float_t *) {} +void TGeant3::Gstpar(Int_t, const char*, Float_t) {} //=======================functions from GKINE @@ -126,6 +206,8 @@ Int_t TGeant3::Gsvert(Float_t*, Int_t, Int_t, Float_t*, Int_t){return 0;} //=======================functions from GPHYS //___________________________________________ void TGeant3::Gphysi() {} +void TGeant3::SetCerenkov(Int_t, Int_t, Float_t *, Float_t *, + Float_t *, Float_t *) {} //=======================functions from GTRAK @@ -139,7 +221,7 @@ void TGeant3::Gsstak(Int_t) {} void TGeant3::Gsxyz() {} void TGeant3::Gtrack() {} void TGeant3::Gtreve() {} -void TGeant3::Gtreve_root() {} +void TGeant3::GtreveRoot() {} void TGeant3::Grndm(Float_t*, const Int_t) const {} void TGeant3::Grndmq(Int_t&, Int_t&, const Int_t, const Text_t*) {} @@ -171,6 +253,8 @@ void TGeant3::Gsatt(const char*, const char*, Int_t) {} void TGeant3::Gfpara(const char*, Int_t, Int_t, Int_t&, Int_t&, Float_t*, Float_t*) {} void TGeant3::Gckpar(Int_t, Int_t, Float_t*) {} void TGeant3::Gckmat(Int_t, char*) {} +Int_t TGeant3::Glvolu(Int_t, Int_t*, Int_t*) {return 0;} +void TGeant3::BuildPhysics() {} //______________________________________________________________________________ void TGeant3::Streamer(TBuffer &R__b) @@ -223,6 +307,7 @@ void TGeant3::SetCUTS(Float_t,Float_t,Float_t,Float_t, void TGeant3::SetDCAY(Int_t) {} void TGeant3::SetDEBU(Int_t, Int_t, Int_t) {} void TGeant3::SetDRAY(Int_t) {} +void TGeant3::SetERAN(Float_t, Float_t, Int_t) {} void TGeant3::SetHADR(Int_t) {} void TGeant3::SetKINE(Int_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, @@ -235,6 +320,7 @@ void TGeant3::SetPAIR(Int_t) {} void TGeant3::SetPFIS(Int_t) {} void TGeant3::SetPHOT(Int_t) {} void TGeant3::SetRAYL(Int_t) {} +void TGeant3::SetSTRA(Int_t) {} void TGeant3::SetSWIT(Int_t , Int_t) {} void TGeant3::SetTRIG(Int_t) {} void TGeant3::SetUserDecay(Int_t) {}