Message: LHEP_PRECO physic list Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None LHEP_PRECO physic list 

Keywords: LHEP_PRECO,
Forum: Hadronic Processes
Date: 11 May, 2006
From: habib <habibovich@hotmail.com>

i tried to use the LHEP_PRECO physic list in my simulation so

in my main (simu.cc) i added

#include "LHEP_PRECO_HP.hh" and

runManager->SetUserInitialization(new LHEP_PRECO_HP); before runManager->Initialize();

and i also added #include "LHEP_PRECO_HP.hh" in my physic list

and yet the program compile properly but an error message appears while linking

the error msg is :

Using global libraries ... Linking simuG4 ... /home/hckaram/geant4//tmp/Linux-g++/simuG4/exe/simuG4.o(.gnu.linkonce.t._ZN14TLHEP_PRECO_HPI21G4VModularPhysicsListEC1Ev+0x10f): In function `TLHEP_PRECO_HP<G4VModularPhysicsList>::TLHEP_PRECO_HP[in-charge]()':

: undefined reference to `GeneralPhysics::GeneralPhysics[in-charge](G4String const&)'
/home/hckaram/geant4//tmp/Linux-g++/simuG4/exe/simuG4.o(.gnu.linkonce.t._ZN14TLHEP_PRECO_HPI21G4VModularPhysicsListEC1Ev+0x196): In function `TLHEP_PRECO_HP<G4VModularPhysicsList>::TLHEP_PRECO_HP[in-charge]()':
: undefined reference to `EMPhysics::EMPhysics[in-charge](G4String const&)'
/home/hckaram/geant4//tmp/Linux-g++/simuG4/exe/simuG4.o(.gnu.linkonce.t._ZN14TLHEP_PRECO_HPI21G4VModularPhysicsListEC1Ev+0x21d): In function `TLHEP_PRECO_HP<G4VModularPhysicsList>::TLHEP_PRECO_HP[in-charge]()':
: undefined reference to `MuonPhysics::MuonPhysics[in-charge](G4String const&)'
/home/hckaram/geant4//tmp/Linux-g++/simuG4/exe/simuG4.o(.gnu.linkonce.t._ZN14TLHEP_PRECO_HPI21G4VModularPhysicsListEC1Ev+0x2a4): In function `TLHEP_PRECO_HP<G4VModularPhysicsList>::TLHEP_PRECO_HP[in-charge]()':
: undefined reference to `HadronPhysicsLHEP_PRECO_HP::HadronPhysicsLHEP_PRECO_HP[in-charge](G4String const&)'
/home/hckaram/geant4//tmp/Linux-g++/simuG4/exe/simuG4.o(.gnu.linkonce.t._ZN14TLHEP_PRECO_HPI21G4VModularPhysicsListEC1Ev+0x32e): In function `TLHEP_PRECO_HP<G4VModularPhysicsList>::TLHEP_PRECO_HP[in-charge]()':
: undefined reference to `IonPhysics::IonPhysics[in-charge](G4String const&)'
collect2: ld returned 1 exit status
make: *** [/home/hckaram/geant4//bin/Linux-g++/simuG4] Error 1

does someone has any idea or tell me what s missing

thanks in advance

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: LHEP_PRECO physic list   (Dennis H. Wright - 29 May, 2006)
 Add Message Add Message
to: "LHEP_PRECO physic list"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]