Re: RunConfiguration problem

From: Ivana Hrivnacova <Ivana.Hrivnacova_at_cern.ch>
Date: Thu, 6 Nov 2008 17:52:58 +0100


Dear Dmitry,

The protection was added because the hadronic physics lists already instantiate electromagnetic processes, so with your selection "emStandard+LHEP", you would set the EM processes to particles twice.
So if you want to use LHEP physics list, you need just to specify the option "LHEP".
You can find more details about the changes in Geant4 VMC related to physics list selection at the presentation which is linked on the VMC web page:
http://root.cern.ch/root/vmc/VirtualMC.html#Documents Here is also explained why the rules changed :)

Best regards,

Ivana

Dmitry V.Naumov wrote:
> Dear VMC team,
> I upgraded my geant4 vmc to svn version and found that the rules are
> changed again :-)
> Why we can not now combine Em physics and hadron physics lists?
> There is clearly a protection in
> //_____________________________________________________________________________
> G4VUserPhysicsList* TG4RunConfiguration::CreatePhysicsList()
> <skip>
> if ( emSelection != "" && hadronSelection != "" ) {
> TG4Globals::Exception(
> "TG4RunConfiguration", "TG4RunConfiguration",
> "Physics list selection " + fPhysicsListSelection + " is not valid."
> + TG4Globals::Endl() +
> "The EM selections cannot be combined with Hadron selections."
> + TG4Globals::Endl());
> }
>
> while in the previous version it was possible to make a call like:
> TG4RunConfiguration* runConfiguration = new
> TG4RunConfiguration(geom,"emStandard+LHEP");
> now not. What is the recommended way now?
>
> Thanks, Dmitry
>

-- 
==============================================================
e-mail:  Ivana.Hrivnacova_at_cern.ch
address: Institut Physique Nucleaire, 91406 Orsay, France
phone:   (33) 01 69 15 65 94
==============================================================
Received on Thu Nov 06 2008 - 17:52:50 CET

This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 23:25:02 CET