Message: G4CrossSectionDataStore* G4HadronicProcess::GetCrossSectionDataStore()' is protected Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4CrossSectionDataStore* G4HadronicProcess::GetCrossSectionDataStore()' is protected 

Keywords: Problem with old Physics List
Forum: Physics List
Date: 08 Nov, 2004
From: Chamkaur Ghag <Chamkaur Ghag>

I have some code from a colleague that will not compile due to an error with the physics list:

[s0348065@localhost D2sim]$ gmake
Compiling D2Physics.cc ...
/home/s0348065/geant4/geant4.6.0.p01/include/G4HadronicProcess.hh: In member
   function `virtual void D2Physics::ConstructProcess()':
/home/s0348065/geant4/geant4.6.0.p01/include/G4HadronicProcess.hh:163: `
   G4CrossSectionDataStore* G4HadronicProcess::GetCrossSectionDataStore()' is
   protected
src/D2Physics.cc:180: within this context
gmake: *** [/home/s0348065/geant4/tmp/Linux-g++/D2Nsim/D2Physics.o] Error 1
[s0348065@localhost D2sim]$

I think it may be because my colleague was using an older version of G4. I am using geant4.6.0.p01 Does anybody know how to edit the physics list so that it will work? Or what the problem is?

Thanks!

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

 Add Message Add Message
to: "G4CrossSectionDataStore* G4HadronicProcess::GetCrossSectionDataStore()' is protected"

 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 ]