Problem 1508

Summary: this->RegisterPhysics( new G4QIonPhysics(ver)); Err: no such ctor: G4QIonPhysics(int)
Product: Geant4 Reporter: a.ramazani
Component: physics_listsAssignee: Gunter.Folger
Status: RESOLVED WONTFIX    
Severity: normal CC: Vladimir.Ivantchenko
Priority: P5    
Version: 9.6   
Hardware: All   
OS: All   

Description a.ramazani 2013-07-26 22:16:27 CEST
inside template<class T> TCHIPS<T>::TCHIPS(G4int ver):  T()


  // Ion Physics
  this->RegisterPhysics( new G4QIonPhysics(ver));


Err: no such ctor: G4QIonPhysics(int)
in 
class G4QIonPhysics
Comment 1 Gunter.Folger 2013-09-10 15:07:31 CEST
The CHIPS physics list is deprecated in 9.6, and will not be available in any further release of Geant4. Note, we do not support deprecated lists.

The bug you find is trivial, simply remove the argument in the ctor.

Regards, Gunter