Problem 2615 - lQMD Option for Shielding physics list not selectable using the physics list factory
Summary: lQMD Option for Shielding physics list not selectable using the physics list ...
Status: ASSIGNED
Alias: None
Product: Geant4
Classification: Unclassified
Component: physics_lists (show other problems)
Version: 11.2
Hardware: All All
: P4 normal
Assignee: Alberto.Ribon
URL:
Depends on:
Blocks:
 
Reported: 2024-06-05 08:41 CEST by Hermann
Modified: 2024-06-10 16:11 CEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Hermann 2024-06-05 08:41:55 CEST
In Geant4.11.2 a new hadronic option lQMD was made available in the physics list shielding.

It can be selected using an additional boolean parameter
Shielding::Shielding(G4int verbose,const G4String&n_model, const G4String& HadrPhysVariant, G4bool useLightIonQMD)

In Shielding.cc
175  // Ion Physics
176  RegisterPhysics( new G4IonElasticPhysics(verbose) );
177  if (useLightIonQMD){
178    RegisterPhysics( new G4LightIonQMDPhysics(verbose) );
179  } else {
180    RegisterPhysics( new G4IonQMDPhysics(verbose) );
181  }

Unfortunately, in the physics list factory (G4PhysListFactory.cc), there is not yet a possibility to use it, requiring workarounds such as not using the recommended physics list factory.

Perhaps one could introduce Shielding_LQMD or similar in the physics list factory?

A suitable place could be next to the other Shielding options
In G4PhysListFactory.cc)

182  else if(had_name == "Shielding")      {p = new Shielding(verbose);}
183  else if(had_name == "ShieldingLEND")  {p = new ShieldingLEND(verbose);}
184  else if(had_name == "ShieldingM")     {p = new Shielding(verbose,"HP","M");}
Comment 1 Alberto.Ribon 2024-06-10 16:11:05 CEST
Thanks for reporting this.
For the coming beta-release, 11.3.beta, scheduled for June 28th, and for the next patch 11.2.p02 (not yet scheduled, but likely to appear sometimes this summer), there will be the physics list ShieldingLIQMD (and its variant, ShieldingLIQMD_HPT, with a special treatment of thermal neutrons) available from the physics list factory. As the name suggests, this physics list is similar to Shielding, except that it uses the new G4LightIonQMDReaction model for ions with kinetic energies between 30 MeV/u and 500 MeV/u.