Message: Re: adding a command in G4UserPhysicsListMessenger Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: adding a command in G4UserPhysicsListMessenger 

Forum: Run Management
Re: Idea adding a command in G4UserPhysicsListMessenger (Mathieu Trocmé)
Re: Agree Re: adding a command in G4UserPhysicsListMessenger (Gumplinger Peter)
Date: 29 Apr, 2010
From: Mathieu Trocmé <Mathieu Trocmé>

Thanks Peter!

That's a pity I haven't seen your post earlier.
I've been struggling with my old programs until I realized it should have been integrated somehow...

... clumsily unfortunately!
The line "param->SetParameterCandidates("e- e+ gamma proton");" prevents the command from being used with other particles!
> "parameter value is not listed in the candidate List."
> "***** Illegal parameter (0) </run/setCutForAGivenParticle ...>
I don't see the point. 
Why don't test the particle existence in "SetNewValue()" as it is done for a couple of other commands (and as initially proposed)?

Cheers, 
Mathieu

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: adding a command in G4UserPhysicsListMessenger   (Hisaya Kurashige - 29 Apr, 2010)
(_ None: Re: adding a command in G4UserPhysicsListMessenger   (Mathieu Trocmé - 30 Apr, 2010)
(_ Note: Re: adding a command in G4UserPhysicsListMessenger   (Hisaya Kurashige - 30 Apr, 2010)
(_ None: Re: adding a command in G4UserPhysicsListMessenger   (Mathieu Trocmé - 01 May, 2010)
 Add Message Add Message
to: "Re: adding a command in G4UserPhysicsListMessenger"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]