#******************************************************************* # 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 # 3) all the other parameters are optional, and all the default # values for flags are false # 4) if set ExperimentFMAFlag or detailedFMAFlag to be true, # FmapFlag must be true # 5) if ThinsextFlag is true, MultipoleFlag must be true # 6) if set ChamberNoU20Flag or ReadChamberFlag to be true, # ChamberFlag must be true #****************************************************************** # #******files******** # relative directory of the files in the script # in_dir /Users/nadolski/codes/tracy/TracyIII/tracy/tools/ #in_dir /home/sources/physmach/nadolski/codes/tracy/maille/soleil/ in_dir /Users/nadolski/codes/tracy/maille/soleil/ # lattice file wihout .lat extension # lat_file soleil_HU36_checkcode lat_file solamor2_reglage_focalisation_chcvqt_thicksextu_LQPintermediaire_QFF # lat_file modele_complet_202_317_ksi_2_2_wiggler_slicing_SX8mod # multipole error file multipole_file multipole_error.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 # vacuum chamber file chamber_file Chamber_example.dat # read vacuum chamber from chamber_file, ChamberFlag must be true, if # ReadChamberFlag is true ReadChamberFlag # GLOBAL PARAMETER PART # Activate quadrupole Fringefield QuadFringeOnFlag # include RF Cavity or not and set # 4D/6D tracking, true=6D, false=4D # CavityOnFlag # tune obtained by tracking TuneTracFlag # chromaticity obtained by tracking ChromTracFlag ### # TUNESHIFT WITH AMPLITUDE ### # tune shift with amplitude and energy # AmplitudeTuneShiftFlag flag Nbx Nby TurnNumber xmax(m) ymax(m) delta # Nbx and Nby Number of amplitude values in H et V planes # TurnNumber number of turns for tracking # xmax ymax maximum amplitude value (sqrt law) # delta energy offset AmplitudeTuneShiftFlag true 31 21 516 0.025 0.005 0.0 # EnergyTuneShiftFlag flag Nb TurnNumber emax # Nb point number # TurnNumber number of turn for tracking # emax maximum energy for tracking EnergyTuneShiftFlag true 31 516 0.06 #### # FMA calculate frequency map #### # FMA calculate frequency map # Nbx Nby number of point in h and v planes # TurnNumber Number of turns for tracking # xmax(m), ymax(m) maximum amplitude # energyoffset # diffusionflag to compute tunediffusion FmapFlag 31 21 516 0.025 0.005 0.0 true # FMA dp calculate frequency map # Nbx Nbe number of point in h and energy planes # TurnNumber Number of turns for tracking # xmax (m), emax maximum amplitude # y-amplitude (m) # diffusionflag to compute tunediffusion FmapdpFlag 101 121 1026 25e-3 0.06 0.3e-3 true # error coupling # flag, random seed number, RMS value of the rotation angle # of the quadrupole ErrorCouplingFlag 0 0.0007 # coupling flag CouplingFlag # calculate momentum acceptance for Touscheck lifetime # Dim istart istop eminp emaxp nstepp eminn emaxn nstepn # Dim: 4D/6D tracking, default value is 6D MomentumAccFlag 4D 1 209 0.01 0.05 100 -0.01 -0.05 100 #### MULTIPOLE FACTORY # read multipole error from a file and set them to the lattice ReadMultipoleFlag ### ### Touschek lifetime ### # calculate Touschek lifetime # name, flag TouschekFlag # Intra Beam Scattering, TouschekFlag must be true IBSFlag # Track momentum acceptance and then get Touschek lifetime, TouschekFlag must be true TousTrackFlag ### ### FITTING FACTORY ### # fit tune # name, flag, tuned quadrople,tuned quadrople,targetnudx targetnudz # FitTuneFlag true q7 q9 18.202 10.317 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.6 ### OTHER # include girder error GirderErrorFlag # plot beam size around the ring SigmaFlag # specific for test PX2Flag # calculate induced amplitude InducedAmplitudeFlag # specific for test CodeComparaisonFlag # calculate Eta function EtaFlag # calculate phase space # PhaseSpaceFlag 6D 1e-6 0.0 1e-6 0.0 0.012 0.0 1000 false #******to be obsoleted************************ # Do not REMOVE # include multipole error into the lattice, the mutipole error # of Horizontal and vertical correctors, and skew quadrupole # is read from the files, the name of which are set at the # beginning of this script. MultipoleFlag # set multipole with thin or thick lens model, # MultipoleFlag must be true if ThinsextFlag is true ThinsextFlag # include vacuum chamber ChamberFlag #**************************************************