Message: Change in G4EmStandardPhysics interface Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Change in G4EmStandardPhysics interface 

Forum: Physics List
Date: 17 Oct, 2007
From: Emanuele Leonardi <Emanuele Leonardi>

I just noticed that the initialization method for class G4EmStandardPhysics changed between version 8.3 and 9.0:


 G4EmStandardPhysics(const G4String& name = "G4standard", G4int ver = 0);


 G4EmStandardPhysics(G4int ver = 0, const G4String& name = "G4EmStandard");

This is different from other physics_lists classes (e.g. G4HadronElasticPhysics) and creates a problem when writing applications that may be used under both v.8.3 and v.9.0. Also, I could not find any note about this change in the Release Notes nor in physics_lists/History or G4EmStandardPhysics.hh

What is the reason for this change?

How can I write code that uses G4EmStandardPhysics and can be compiled both on 8.3 and 9.0?


                  Emanuele Leonardi

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

1 None: Re: Change in G4EmStandardPhysics interface   (Vladimir IVANTCHENKO - 17 Oct, 2007)
 Add Message Add Message
to: "Change in G4EmStandardPhysics interface"

 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 ]