Message: local vs. global field manager Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question local vs. global field manager 

Forum: Fields: Magnetic and Otherwise
Date: 20 Dec, 2011
From: Neil Fazel <Neil Fazel>

I'm simulating a magnetic spectrometer where a GeV electron is deflected going through the field produced by a magnet placed in a vacuum chamber much larger in size than the magnet. I have implemented this as a global non-uniform field by defining a GetFieldValue() method which returns 1.1 T if the electron is inside the 5x1x5 cm magnet region, and 0 otherwise. I've been thinking that since the region with field is small compared to the surrounding region, maybe I should assign a logical volume to the 5x1x5 cm region of vacuum and then use local uniform field instead. Would this be a better way of simulating deflection in the field of a magnet? The electron only interacts with the field produced by the magnet, not with the magnet itself. I would appreciate any feedback.

Thanks, Neil

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

1 Feedback: Re: local vs. global field manager   (Gumplinger Peter - 12 Jan, 2012)
(_ Question: Re: local vs. global field manager   (Neil Fazel - 12 Jan, 2012)
(_ None: Re: local vs. global field manager   (John Apostolakis - 13 Jan, 2012)
 Add Message Add Message
to: "local vs. global field manager"

 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 ]