stephenbrooks.orgWork-Related ThingsTechnical Reports and Papers2004-7

PhaseRotB.txt

{
PhaseRotB/~270
SolenoidsOnly (i.e. decay channel 30m long) plus 31.4MHz phase rotation for cooling ring insertion
Solenoids now allowed up to 90cm long
Bugfix of PhaseRotA
May 21, 2004
}

!MINVER 4.41

{Parameter Value}
t_max 500e-9
n_decays 3

{RodSource Timespread Axial File X Y Z RodAngle}
TantalumRod 3 1 'pi_plus_2G2eV.csv' 0 0 [0,0.45] [0,0.5]

{Synchronous-particle t_start Energy Z}
SyncMuon #TantalumRod.Timespread?+5:0#ns 180MeV #TantalumRod.Z#

#z=0; ok=1;
#for (n=1;ok;n++)
#{
        {Solenoid Length Radius Field}
#        if (n==1) #S1 [0.2,0.45] 0.1 [0,20];#;
#        else {S[n]# [0.2,0.9] [0.1,0.4] #if (n<=4) #[-5,5];#; else #[-4,4];#;}
#        z+=S[n].Length;
#        if (z>=30) ok=0;
#        if (ok)
#        {
                {Drift Length Bore}
                #D[n]# [0.5,1] 0.5
#                z+=D[n].Length;
#        }
#}
#MaxSol=n-1;

DecayChannel: #for (n=1;n<=MaxSol;n++) {S[n] if (n<MaxSol) {#,#D[n]#,#}}#;

{
Compare with File ..\PARMILA_PhaseRot31.4_befcool.txt translated from PARMILA format
N.B. Cooling ring central energy (and hence energy for this) is 180MeV
2004-Apr-02 14:28:45
}

{Parameter Value}
PhaseRotCells [20,40]; #// 30 in original
#PhaseRotCells=int(PhaseRotCells);

#for (n=1;n<=PhaseRotCells;n++)
#{
        {Parameter Value}
        PD#n# [0.5,1]
        {Drift Length Bore}
        PD#n#a #n==1?PD[n]*2/3-0.25:PD[n]*2/3# 0.15
        PD#n#b #PD[n]/3# 0.15
        {Solenoid Length Radius Field}
        #PS[n]# [0.2,0.9] 0.15 [-4,4]
        {RF Frequency/MHz Radius Voltage/MV Phase}
        #PRF[n]# 31.4285 0.15 [0,#(PD[n]+PS[n].Length)*2.25/1.4#] [-180°,+180°]
#}

PhaseRot: #for (n=1;n<=PhaseRotCells;n++) {
PD#n#a,PRF#n#,PD#n#b,PS#n if (n<PhaseRotCells) #,#;
#}#;

{Finish-aperture radius MinEnergy MaxEnergy}
END 0.5 #180-23#MeV #180+23#MeV

TantalumRod,SyncMuon,DecayChannel,PhaseRot,END;
: contact : - - -
E-mail: sbstrudel characterstephenbrooks.org
Yahoo: scrutney_mallard
Jabber: stephenbrooksstrudel characterjabber.org
Twitter: stephenjbrooks 9.86millionaccesses