Message: header of G4VUserPhysicsList Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None header of G4VUserPhysicsList 

Forum: Physics List
Date: 23 Apr, 2009
From: Mariusz <Mariusz>

There is a description in the run/include/G4VUserPhysicsList.hh file of Geant4.9.2.p01: // ------------------------------------------------------------ // GEANT 4 class header file // Class Description: // This class is an abstruct class for // constructing particles and processes. // User must implement following four virtual methods // in his own concrete class derived from this class. // G4VUserPhysicsList::ConstructParticle() // Construct particles // G4VUserPhysicsList::constructPhysics() // Construct procesess and register them to particles // G4VUserPhysicsList::SetCuts() // set cut values in range to all particles // (and rebuilding physics table will be invoked ) // // -------------------------------------------

And I have a question to this description. It says that "User must implement following four virtual methods" and mentioned afterwards are 3 methods. In addition if I understand well the second mentioned method should be ConstructProcess(), not constructPhysics(). Is, what I'm saying, true?

Mariusz

PS. there is also spelling error of in word "abstract".

 Add Message Add Message
to: "header of G4VUserPhysicsList"

 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 ]