X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TGeant3%2FTGeant3Dummy.cxx;h=b20350e2c465a4ccf2d4ccafd9a2aac0da678b93;hb=7e7a7f04da9310d736c91651034e25bf10870dd8;hp=979b3f8b8de400f5cef4608e2593b17c0c2a00f7;hpb=01a7ece842ec531ddffd5542f0ab8264ac190f2c;p=u%2Fmrichter%2FAliRoot.git diff --git a/TGeant3/TGeant3Dummy.cxx b/TGeant3/TGeant3Dummy.cxx index 979b3f8b8de..b20350e2c46 100644 --- a/TGeant3/TGeant3Dummy.cxx +++ b/TGeant3/TGeant3Dummy.cxx @@ -1,3 +1,59 @@ +/************************************************************************** + * 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.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,6 +80,7 @@ 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;} @@ -39,10 +96,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;} @@ -50,8 +110,9 @@ 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*){} +const char* TGeant3::ProdProcess() 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;} @@ -67,7 +128,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){} @@ -101,6 +161,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() {} @@ -140,7 +205,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*) {} @@ -172,6 +237,7 @@ 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*) {} +void TGeant3::BuildPhysics() {} //______________________________________________________________________________ void TGeant3::Streamer(TBuffer &R__b) @@ -224,6 +290,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, @@ -236,6 +303,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) {}