Message: Quadrupole field in dipole (G4Torus) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Quadrupole field in dipole (G4Torus) 

Forum: Fields: Magnetic and Otherwise
Date: 17 Oct, 2012
From: Lukasz Fulek <Lukasz Fulek>

Hello everybody, I've created a class MyField in order to evaluate field for quadrupoles. It works fine if it evaluate field for G4Tubs object. But I'd like to add quadrupole field to part of the torus. And here is my problem. I have to transfer rotation and center of the object to my field class, where I'm changing global to local coordinate system and evaluate magnetic field. It works fine for G4Tubs but for G4Torus I can't transfer appropriate rotation matrix because it is changing. Anybody knows how I can solve this problem?

 Add Message Add Message
to: "Quadrupole field in dipole (G4Torus)"

 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 ]