* MOCADI input file by GICOSY2MOCADI 
* TSR at MPI Heidelberg, 
* optics in MAD from Manfred Grieser May 2009
* GICOSY and MOCADI files by Helmut Weick, 4.June 2000 
* please adjust quadrupole apertures
*  
epax 2
atima-1.0
option listmode cwn
*  
BEAM
10000
4.0, 0, 13, 6
2
0.234, 0.427, 0, 0, 0
2
0.134, 0.746, 0, 0, 0
1
0.001,  0, 0, 0, 0
*
*------------ inelastic scattering --------------------     
* two body kinematics for alpha(13C,16O)n
* mass2[u], mass3[u], mass4[u], switch 3 or 4, Z-exit[e]
* variable tof() is in this case theta_CM [deg
*
*CALL inelastic.so ext_beam
*4.00151 15.995 1.00866 0 8     * to look at 16O
*parameters  
*
***********************************
ERWARTUNGSWERTE
SAVE
***********************************
 DRIFT
  260.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1001.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
   50.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1002.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  115.000000
 MATRIX
 TSR1003.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX               'dipole'
 TSR1004.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX
 TSR1005.MAT
 13, 6, 4.00                          
 3, 3                                    
 DRIFT
   86.000000
************************************************
ERWARTUNGSWERTE    approximate_detector_position 
SAVE
************************************************  
 DRIFT
   29.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1006.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  115.000000
 MATRIX
 TSR1007.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX               'dipole'
 TSR1008.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX
 TSR1009.MAT
 13, 6, 4.00                          
 3, 3                                    
 DRIFT
  115.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1010.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
   50.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1011.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  260.000000
*************************************
ERWARTUNGSWERTE  after_one_quarter
SAVE
*************************************  
 DRIFT
  260.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1011.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
   50.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1010.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  115.000000
 MATRIX
 TSR1009.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX               'dipole'
 TSR1008.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX
 TSR1007.MAT
 13, 6, 4.00                          
 3, 3                                    
 DRIFT
  115.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1006.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  115.000000
 MATRIX
 TSR1005.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX               'dipole'
 TSR1004.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX
 TSR1003.MAT
 13, 6, 4.00                          
 3, 3                                    
 DRIFT
  115.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1002.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
   50.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1001.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  260.000000
*************************************
ERWARTUNGSWERTE  after_one_half
SAVE
*************************************  
 DRIFT
  260.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1001.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
   50.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1002.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  115.000000
 MATRIX
 TSR1003.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX               'dipole'
 TSR1004.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX
 TSR1005.MAT
 13, 6, 4.00                          
 3, 3                                    
 DRIFT
  115.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1006.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  115.000000
 MATRIX
 TSR1007.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX               'dipole'
 TSR1008.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX
 TSR1009.MAT
 13, 6, 4.00                          
 3, 3                                    
 DRIFT
  115.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1010.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
   50.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1011.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  260.000000
*************************************
ERWARTUNGSWERTE  after_three_quarters
SAVE
*************************************  
 DRIFT
  260.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1011.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
   50.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1010.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  115.000000
 MATRIX
 TSR1009.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX               'dipole'
 TSR1008.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX
 TSR1007.MAT
 13, 6, 4.00                          
 3, 3                                    
 DRIFT
  115.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1006.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  115.000000
 MATRIX
 TSR1005.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX               'dipole'
 TSR1004.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.000, 0
 MATRIX
 TSR1003.MAT
 13, 6, 4.00                          
 3, 3                                    
 DRIFT
  115.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1002.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
   50.000000
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 MATRIX                'quadrupole'
 TSR1001.MAT
 13, 6, 4.00                          
 3, 3                                    
 COLL
 4, 0, 0,  12.500,  12.500,  12.500
 DRIFT
  260.000000
*************************************
ERWARTUNGSWERTE  after_full_turn
SAVE
************************************* 
*
END
