Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TRACY3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PA
Optics
TRACY3
Commits
41a3dbb2
Commit
41a3dbb2
authored
May 19, 2011
by
zhang
Browse files
Options
Downloads
Patches
Plain Diff
19/05/2011
Add features to print the tracking coordinates at each element
parent
493a0c48
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tracy/tools/Input_test.prm
+142
-66
142 additions, 66 deletions
tracy/tools/Input_test.prm
with
142 additions
and
66 deletions
tracy/tools/Input_test.prm
+
142
−
66
View file @
41a3dbb2
#*******************************************************************
#*******************************************************************
#
28 septembre
2010
#
15 March
2010
# File for checking TRacy is running well
# File for checking TRacy is running well
#
#
# input script to set the file and bool flag
# input script to set the file and bool flag
...
@@ -11,32 +11,46 @@
...
@@ -11,32 +11,46 @@
# 3) All the other parameters are optional, and all the default
# 3) All the other parameters are optional, and all the default
# values for flags are false
# values for flags are false
# 4) Default FMAP values are:
# 4) Default FMAP values are:
# _FmapFlag_nxpoint=31
L
, _FmapFlag_nypoint=21
L
,
# _FmapFlag_nxpoint=31, _FmapFlag_nypoint=21,
# _FmapFlag_nturn=516
L
; _FmapFlag_xmax=0.025,
# _FmapFlag_nturn=516; _FmapFlag_xmax=0.025,
# _FmapFlag_ymax=0.005, _FmapFlag_delta=0.0;
# _FmapFlag_ymax=0.005, _FmapFlag_delta=0.0;
# _FmapFlag_diffusion = true;
# _FmapFlag_diffusion = true;
# 5) Default values of FMAPdp are the same as FMAP.
# 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 verison for the development of Tracy 3, always the nearest
# Test verison for the development of Tracy 3, always the nearest
# input file verison.
# input file verison.
#
#
#
1
0/201
0
Jianfeng Zhang
# 0
3
/201
1
Jianfeng Zhang
#
#
#******************************************************************
#******************************************************************
#******files********
#******files********
# relative directory of the files in the script
# relative directory of the files in the script
# in_dir /home/zhang/codes/TracyIII/lattice/
in_dir /home/zhang/codes/TracyIII/lattice/
in_dir /Users/nadolski/codes/tracy/maille/soleil/
# lattice file must be wihout .lat extension
# lattice file must be wihout .lat extension
lat_file solamor2_reglage_focalisation_chcvqt_thicksextu_LQPintermediaire_QFF
lat_file soleil_120cor
# lat_file solamor2_reglage_focalisation_chcvqt_thicksextu_LQPintermediaire_QFF_FullQuad
# H-corrector name in lattice file
h_corr HCM
#V-corrector name in lattice file
v_corr VCM
#girder start symbol
gs GS
#girder end symbol
ge GE
# BPM name in lattice file
bpm_name BPM
# skew quadrupole in the lattice file
qt QT
#turn on the quadrupole fringe field
QuadFringeOnFlag
# vacuum chamber file
# vacuum chamber file
chamber_file
Chamber_example.dat
chamber_file
example_Chamber.dat
# multipole error file
# multipole error file
multipole_file multipole_error.dat
multipole_file multipole_error.dat
...
@@ -47,39 +61,89 @@
...
@@ -47,39 +61,89 @@
fic_skew corqt.txt
fic_skew corqt.txt
#####################
# Read the field error, and replacement the corresponding components
# in the element.
# Generic features
####################
ReadfefileFlag dip.fe
##############################
#specific for soleil lattice
##############################
# multipole_file multipole_error_fullquad.dat
# fic_hcorr corh.txt
# fic_vcorr corv.txt
# fic_skew corqt.txt
#ReadMultipoleFlag
# FitTune4Flag qp7a qp7b qp9a qp9b 18.202 10.317
# FitChromFlag sx9 sx10 2.0 2.0
#PrintGirderFlag testgirder.out
######################
# alignment error file, after read the misalignment, the orbit is corrected
#####################
ReadaefileFlag soleil1.ae
#####################
# orbit correction
#####################
hcorr_file hcorr_56nom.state
vcorr_file vcorr_56nom.state
#number of statistics (seeds) --> N flat-files
n_stat 2
#number of times to scale the errors
n_scale 1
#number of iterations for orb. cors
n_orbit 0
#number of singular values in H-plane, must be the same as the correctors used for orbit correction
nwh 60
#number of singular values in V-plane, must be the same as the correctors used for orbit correction
nwv 60
#*******boolean flag***********
#*******boolean flag***********
# VACCUUM CHAMBER PART
#print the twiss paramters to a file
# include vacuum chamber
PrintTwissFlag twisstest.out
ChamberFlag true
# read vacuum chamber from chamber_file, ChamberFlag must be true, if
#print close orbit to a file
# ReadChamberFlag is true
PrintCODFlag testcod.out
ReadChamberFlag true
# include vacuum chamber but no U20, ChamberFlag must be true, if
#print coordinates tracking around COD at each element
# ChamberNoU20Flag is true
PrintTrackFlag track.out 0.001 0.000 0.0 0.0 0.0 0.0 50
ChamberNoU20Flag false
#
GLOBAL PARAMET
ER PART
#
VACCUUM CHAMB
ER PART
#
Activate quadrupole Fringefield
#
read vacuum chamber from chamber_file
globval.quad_fringe true
ReadChamberFlag
#
include RF Cavity or not and set
#
GLOBAL PARAMETER PART
#
4D/6D tracking, true=6D, false=4D
#
Activate quadrupole Fringefield
globval.Cavity_on false
QuadFringeOnFlag
# set RF voltage, if false, then use the definition value
# set RF voltage, if false, then use the definition value
# of RF cavity in the lattice
# of RF cavity in the lattice
# name, flag, RF voltage [V]
# name, flag, RF voltage [V]
RFvoltageFlag
false
3
000000
RFvoltageFlag
4
000000
# tune obtained by tracking
# tune obtained by tracking
TuneTracFlag
true
TuneTracFlag
# chromaticity obtained by tracking
# chromaticity obtained by tracking
ChromTracFlag
true
ChromTracFlag
# TUNESHIFT WITH AMPLITUDE
# TUNESHIFT WITH AMPLITUDE
...
@@ -89,13 +153,16 @@
...
@@ -89,13 +153,16 @@
# TurnNumber number of turns for tracking
# TurnNumber number of turns for tracking
# xmax ymax maximum amplitude value (sqrt law)
# xmax ymax maximum amplitude value (sqrt law)
# delta energy offset
# delta energy offset
AmplitudeTuneShiftFlag false 50 30 516 0.035 0.02 0.0
# AmplitudeTuneShiftFlag 50 30 516 0.035 0.02 0.0
# EnergyTuneShiftFlag flag Nb TurnNumber emax
# EnergyTuneShiftFlag flag Nb TurnNumber emax
# Nb point number
# Nb point number
# TurnNumber number of turn for tracking
# TurnNumber number of turn for tracking
# emax maximum energy for tracking
# emax maximum energy for tracking
EnergyTuneShiftFlag false 31 1026 0.06
EnergyTuneShiftFlag 31 1026 0.06
# FMA calculate frequency map
# FMA calculate frequency map
...
@@ -104,44 +171,53 @@
...
@@ -104,44 +171,53 @@
# xmax, ymax maximum amplitude
# xmax, ymax maximum amplitude
# energyoffset
# energyoffset
# diffusionflag to compute tunediffusion
# diffusionflag to compute tunediffusion
FmapFlag false 31 21 516 0.025 0.005 0.0 true
FmapFlag 31 21 516 0.025 0.005 0.0 true
# FMA dp calculate frequency map
# FMA dp calculate frequency map
# Nbx Nby number of point in h and v planes
# Nbx: number of point in h planes
# TurnNumber Number of turns for tracking
# Nbe: number of point for the energy
# xmax, ymax maximum amplitude
# TurnNumber: Number of turns for tracking
# energyoffset
# xmax: maximum amplitude in the horizontal plane
# emax: maximum energyoffset
# y: vertical amplitude
# diffusionflag to compute tunediffusion
# diffusionflag to compute tunediffusion
FmapdpFlag
false
101 121 1026 25e-3 0.06 0.3e-3 true
FmapdpFlag 101 121 1026 25e-3 0.06 0.3e-3 true
# error coupling
# error coupling
# add random rotation error to the two half quadrupoles
#delicated for soleil lattice
# flag, random seed number, RMS value of the rotation angle
# flag, random seed number, RMS value of the rotation angle
# of the quadrupole
# of the quadrupole
ErrorCouplingFlag false 0 0.0007
ErrorCoupling2Flag 0 0.0007
# coupling flag
# coupling flag
# calcualte the coupling factor in the lattice
# calcualte the coupling factor in the lattice
CouplingFlag
false
CouplingFlag
# calculate momentum acceptance for Touscheck lifetime
# calculate momentum acceptance for Touscheck lifetime
# Dim istart istop eminp emaxp nstepp eminn emaxn nstepn
# Dim istart istop eminp emaxp nstepp eminn emaxn nstepn
nturns
# Dim: 4D/6D tracking, default value is 6D
# Dim: 4D/6D tracking, default value is 6D
MomentumAccFlag true 4D 1 209 0.01 0.05 100 -0.01 -0.05 100
MomentumAccFlag 6D 1 209 0.01 0.05 100 -0.01 -0.05 100 1026
#### MULTIPOLE FACTORY
#### MULTIPOLE FACTORY
# read multipole error from a file and set them to the lattice
# read multipole error from a file
ReadMultipoleFlag true
ReadMultipoleFlag
#******to be obsoleted************************
#******to be obsoleted************************
# include multipole error into the lattice, the mutipole error
# include multipole error into the lattice, the mutipole error
# of Horizontal and vertical correctors, and skew quadrupole
# of Horizontal and vertical correctors, and skew quadrupole
# is read from the files, the name of which are set at the
# is read from the files, the name of which are set at the
# beginning of this script.
# beginning of this script.
MultipoleFlag
false
#
MultipoleFlag
# set multipole with thin or thick lens model,
# set multipole with thin or thick lens model,
# MultipoleFlag must be true if ThinsextFlag is true
# MultipoleFlag must be true if ThinsextFlag is true
ThinsextFlag
false
#
ThinsextFlag
#**************************************************
#**************************************************
###
###
...
@@ -149,12 +225,11 @@
...
@@ -149,12 +225,11 @@
###
###
# fit tune
# fit tune
# name, flag, tuned quadrople,tuned quadrople,targetnudx targetnudz
# 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
FitTune4Flag true qp7a qp7b qp9a qp9b 18.202 10.317
# fit chromaticity
# fit chromaticity
# name,flag, tuned sextupole, tuned sextupole, targetksix targetksiz
# name,flag, tuned sextupole, tuned sextupole, targetksix targetksiz
FitChromFlag
true
sx9 sx10 2.0 2.6
FitChromFlag sx9 sx10 2.0 2.6
###
###
...
@@ -162,27 +237,28 @@
...
@@ -162,27 +237,28 @@
###
###
# calculate Touschek lifetime
# calculate Touschek lifetime
# name, flag
# name, flag
TouschekFlag
false
TouschekFlag
# Intra Beam Scattering
, TouschekFlag must be true
# Intra Beam Scattering
IBSFlag
false
IBSFlag
# Track momentum acceptance and then get Touschek lifetime
, TouschekFlag must be true
# Track momentum acceptance and then get Touschek lifetime
TousTrackFlag
false
TousTrackFlag
### OTHER
### OTHER
# include girder error
GirderErrorFlag false
# plot beam size around the ring
SigmaFlag false
# specific for test
PX2Flag false
# calculate induced amplitude
# calculate induced amplitude
InducedAmplitudeFlag
false
InducedAmplitudeFlag
# specific for test
# specific for test
CodeComparaisonFlag
false
CodeComparaisonFlag
# calculate Eta function
# calculate Eta function
EtaFlag false
EtaFlag
# calculate phase space
# parameters are:
# 4D/6D dimension to track the phase space;
# x[m],x',y[m],y',delta,c*tau, Number of turns, flag to turn on/off
# damping during the tracking
PhaseSpaceFlag 6D 1e-6 0.0 1e-6 0.0 0.012 0.0 1000 false
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment