Problem 1508 - this->RegisterPhysics( new G4QIonPhysics(ver)); Err: no such ctor: G4QIonPhysics(int)
Summary: this->RegisterPhysics( new G4QIonPhysics(ver)); Err: no such ctor: G4QIonPhys...
Status: RESOLVED WONTFIX
Alias: None
Product: Geant4
Classification: Unclassified
Component: physics_lists (show other problems)
Version: 9.6
Hardware: All All
: P5 normal
Assignee: Gunter.Folger
URL:
Depends on:
Blocks:
 
Reported: 2013-07-26 22:16 CEST by a.ramazani
Modified: 2013-09-10 15:07 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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