Message: Using G4EmPenelopePhysics.cc Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Using G4EmPenelopePhysics.cc 

Forum: Physics List
Date: 28 Oct, 2015
From: Tanjil <Tanjil>

Hi!

I am doing a comparison between Fluka and GEANT and would like to change my physics list and use the Penelope EM Constructor and compare my results.

I inside my src directory I have the following as my Physics list file: http://www-geant4.kek.jp/lxr/source/physics_lists/builders/src/G4EmPenelopePhysics.cc?v=9.6.p4

During compile, I am getting the following error:

: In function ‘int main(int, char**)’:
: error: expected type-specifier before ‘G4EmPenelopePhysics’
: error: expected ‘)’ before ‘G4EmPenelopePhysics’
: error: no matching function for call to 'G4RunManager::SetUserInitialization(int*)’

I believe I am initializing it in my main.cc file incorrectly. Any advice on how to use the constructor file above correctly? Thanks!

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

1 None: Re: Using G4EmPenelopePhysics.cc   (John Allison - 29 Oct, 2015)
2 None: Re: Using G4EmPenelopePhysics.cc   (Tanjil - 29 Oct, 2015)
1 Idea: Re: Using G4EmPenelopePhysics.cc   (Vladimir Ivanchenko - 06 Mar, 2016)
 Add Message Add Message
to: "Using G4EmPenelopePhysics.cc"

 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 ]