#******************************************************************* # 28 septembre 2010 # File for checking TRacy is running well # # input script to set the file and bool flag # # comments: # 1) Blank line and line starting with "#" (comment) are ignored # 2) Obligatory parameter: lat_file, # lat file name is without the extension of .lat # 3) All the other parameters are optional, and all the default # values for flags are false # 4) Default FMAP values are: # _FmapFlag_nxpoint=31, _FmapFlag_nypoint=21, # _FmapFlag_nturn=516; _FmapFlag_xmax=0.025, # _FmapFlag_ymax=0.005, _FmapFlag_delta=0.0; # _FmapFlag_diffusion = true; # 5) Default values of FMAPdp are the same as FMAP. # 6) if ThinsextFlag is true, MultipoleFlag must be true # 7) if set ChamberNoU20Flag or ReadChamberFlag to be true, # ChamberFlag must be true # # Test version for the development of Tracy 3, always the nearest # input file verison. # # 10/2010 Jianfeng Zhang # #****************************************************************** #******files******** # relative directory of the files in the script # in_dir /home/sources/physmach/brunelle/tracy/tracy3/ in_dir ./ # lattice file must be without .lat extension lat_file reglage_nominal_1_u20 # vacuum chamber file # chamber_file chambre_sous_vide.dat chamber_file chambre_standard.dat # multipole error file multipole_file multipoles.dat # files for looking for the multipole of corrector (Machine current based) fic_hcorr corh.txt fic_vcorr corv.txt fic_skew corqt.txt #*******boolean flag*********** #### VACCUUM CHAMBER PART # read vacuum chamber from chamber_file # ReadChamberFlag #### GLOBAL PARAMETER PART # Activate quadrupole Fringefield # QuadFringeOnFlag # set RF voltage, if false, then use the definition value # of RF cavity in the lattice # name, flag, RF voltage [V] # RFvoltageFlag 4000000 # tune obtained by tracking TuneTracFlag # chromaticity obtained by tracking ChromTracFlag # error coupling # add random rotation error to the two half quadrupoles # delicated for soleil lattice # random seed number, RMS value of the rotation angle of the quadrupole # ErrorCoupling2Flag 0 0.00055 # coupling flag # calcualte the coupling factor in the lattice # CouplingFlag #### MULTIPOLE FACTORY # read multipole error from a file # ReadMultipoleFlag #### FITTING FACTORY # fit tune # name, flag, tuned quadrople,tuned quadrople,targetnudx targetnudz # FitTune4Flag qp7a qp7b qp9a qp9b 18.202 10.317 # fit chromaticity # name,flag, tuned sextupole, tuned sextupole, targetksix targetksiz # FitChromFlag sx9 sx10 2.0 2.0 # FMA calculate frequency map # Nbx Nby number of point in h and v planes # TurnNumber Number of turns for tracking # xmax, ymax maximum amplitude # energyoffset # diffusionflag to compute tunediffusion # FmapFlag 251 101 1026 -0.025 0.0055 0.0 true # FMAPDP calculate frequency map # Nbx: number of point in h planes # Nbe: number of point for the energy # TurnNumber: Number of turns for tracking # xmax: maximum amplitude in the horizontal plane # emax: maximum energyoffset # y: vertical amplitude # diffusionflag to compute tunediffusion # FmapdpFlag 101 121 1026 25e-3 0.06 0.3e-3 true # calculate momentum acceptance for Touscheck lifetime # Dim istart istop eminp emaxp nstepp eminn emaxn nstepn # Dim: 4D/6D tracking, default value is 6D # MomentumAccFlag 6D 1 1296 0.00 0.06 61 0 -0.08 81 # MomentumAccFlag 6D 1 210 0.00 0.06 61 0 -0.08 81