Newer
Older
#*******************************************************************
# 28 septembre 2010
#
# 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/
# 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
# read vacuum chamber from chamber_file, ChamberFlag must be true, if
# GLOBAL PARAMETER PART
# Activate quadrupole Fringefield
# include RF Cavity or not and set
# 4D/6D tracking, true=6D, false=4D
###
# 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
# 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
# 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
# flag, random seed number, RMS value of the rotation angle
# of the quadrupole
# 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
# read multipole error from a file and set them to the lattice
###
### Touschek lifetime
###
# calculate Touschek lifetime
# name, flag
# Track momentum acceptance and then get Touschek lifetime, TouschekFlag must be true
###
### FITTING FACTORY
###
# fit tune
# name, flag, tuned quadrople,tuned quadrople,targetnudx targetnudz
# FitTuneFlag true q7 q9 18.202 10.317
# name,flag, tuned sextupole, tuned sextupole, targetksix targetksiz
#******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.
# set multipole with thin or thick lens model,
# MultipoleFlag must be true if ThinsextFlag is true