Message: Field definition and its relation to geometry Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Field definition and its relation to geometry 

Keywords: GEANT, fields definition, geometry
Forum: Fields: Magnetic and Otherwise
Date: 10 May, 2004
From: Ilya <ilya.kraev@fys.kuleuven.ac.be>

Dear GEANT team, I have a following problem in understanding how the defenition of a magnetic (or any other) field is connected with real detector's geometry. Let's say I have to define a magnetic field from an existing field map. In my MyField class derived from G4MagneticField I create e.g. two arrays (one for axial and one for radial field) that define the particular field. After that I create in MyDetectorGeometry class that field as it's shown in the examples. But where do I define how the field read from field map relates to real geometry? If the reference point is (x=0,y=0,z=0) then how GEANT knows what elements of arrays defined by me in MyField class correspond to the (r,z)-point in real geometry? Or is there some convention of the defining filed maps?

I did not find any explanation in the Documentation and there is no simple example in the GEANT Examples,

Thanks, Ilya

  

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

1 None: Re: Field definition and its relation to geometry   (Vladimir GRICHINE - 11 May, 2004)
 Add Message Add Message
to: "Field definition and its relation to geometry"

 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 ]