Message: Re: How turn on the magnetic field Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How turn on the magnetic field 

Forum: Fields: Magnetic and Otherwise
Re: Question How turn on the magnetic field (Paul)
Date: 20 Nov, 2009
From: michel maire <michel maire>

On Fri, 20 Nov 2009 14:18:18 GMT, Paul wrote:
> Hi Users,
> Two weeks I try to add magnetic field to my simulation. I used to N03 and in this case it was verry simple. I wrote line /N03/det/setField 3 tesla in file.mac and gave control/execute file.mac in Idle> and it worked. Next I tried to do this same method in TestEm3. When I wrote /testem/det/setField 5 tesla in file.mac and started in Idle> I got the command: COMMAND NOT FOUND.

 I tried TestEm3 with the attached macro.
 The command setField works both in PreInit and Idle state

 Are you sure of the syntax of your commands ?

    Michel 

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/11/20/06.59-82246-paul.txt

 Add Message Add Message
to: "Re: How turn on the magnetic field"

 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 ]