| Summary: | G4hLowEnergyIonisation::SetStoppingPowerTableName(const char[13]) | ||
|---|---|---|---|
| Product: | Examples/Advanced | Reporter: | inguimbert |
| Component: | underground_physics | Assignee: | a.s.howard |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 4.0 | ||
| Hardware: | Sun | ||
| OS: | Solaris | ||
This is for Low-E EM category. The correct code to change the model should look like:
ahadronLowEIon->SetNuclearStoppingPowerModel("ICRU_R49") ;
ahadronLowEIon->SetNuclearStoppingOn() ;
ahadronLowEIon->SetElectronicStoppingPowerModel
(G4GenericIon::GenericIonDefinition(), "ICRU_R49p") ;
ahadronLowEIon->SetElectronicStoppingPowerModel
(G4Proton::ProtonDefinition(), "ICRU_R49p")
|
in the advanced example "underground_physics" In the DMXPhysicsList.cc When I add the following line to choose the stopping power table : ahadronLowEIon->SetStoppingPowerTableName("Ziegler1977H") ; or another table, I have during the compilation this error message : Compiling DMXPhysicsList.cc ... src/DMXPhysicsList.cc: In member function `virtual void DMXPhysicsList::ConstructEM()': src/DMXPhysicsList.cc:379: no matching function for call to `G4hLowEnergyIonisation::SetStoppingPowerTableName(const char[13])' gmake: *** [/v/desp/inguimbe/geantwk440/tmp/Linux-g++/DMX/DMXPhysicsList.o] Error 1