Skip to Content.
Sympa Menu

opal - Re: [Opal] Beam line, quadrupole definitions

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Beam line, quadrupole definitions


Chronological Thread 
  • From: Andy Rusanov <arusanov AT hadronmedical.com>
  • To: <opal AT lists.psi.ch>
  • Subject: Re: [Opal] Beam line, quadrupole definitions
  • Date: Tue, 18 Jun 2013 10:56:12 +0800
  • List-archive: <https://lists.web.psi.ch/pipermail/opal/>
  • List-id: The OPAL Discussion Forum <opal.lists.psi.ch>

Dear Dr. Adelmann,

thanks a lot for the exhaustive explanation. This makes things clear.

Andy


On Mon, Jun 17, 2013 at 7:03 PM, Andreas Adelmann <andreas.adelmann AT psi.ch> wrote:
Hi Andy here a translation between OPAL, MADX and TRANSPORT
for the quadrupole. I will update the manual asap.


Bfieldf   =  0.593;                // B-field in T
Bfieldd  = -0.702;
apperture  =  0.125                 // m


OPAL

QP1: Quadrupole, L= 0.644, ELEMEDGE= ...., K1= Bfieldf / apperture;
QP2: Quadrupole, L= 0.644, ELEMEDGE= ...., K1= Bfieldd / apperture;
QP3: Quadrupole, L= 0.644, ELEMEDGE= .., K1= Bfieldf / apperture;

MADX

brho = GAMMA*BETA*(PMASS)*1E9/CLIGHT;


kf  = Bfieldf / length;          // focusing strength [T/m]
kd = Bfieldd / length;          // focusing strength [T/m]      

vk1   := kf/brho;                       // focusing strength 1
vk2   := kd/brho;                       // focusing strength 2  

qf: quadrupole, k1:=vk1, l:=0.644;    // Quadrupole 1
qd: quadrupole, k1:=vk2, l:=0.644;    // Quadrupole 2 


TRANSPORT

5. 0.644 5.93 125.0 /QG21/ ;
5. 0.644 -7.02 125.0 /QG22/ ;
5. 0.644 5.93 125.0 /QG23/ ;


Andreas 



Archive powered by MHonArc 2.6.19.

Top of Page