* MOCADI input file for RIBLL2 
* set up for 100Sn still without wedges
*   H. Weick, 29.03.2012
*
* Saves:
* #1 - after target
* #2 - dispersive focal plane 1st half
* #3 - exit 1st half
* #4 - dispersive focal plane 1st half
* #5 - exit 1st half
*
 epax 2
 atima-1.0
 option listmode cwn
*  
 BEAM
 10000
 800.0, 0, 124, 54
 2
 0.001, 10, 0, 0, 0
 2
 0.001, 10, 0, 0, 0
 1
 1.000,  0, 0, 0, 0
*  
TARGET
 9., 4, 1850, 1     Be target
 104,  50,          Set fragment
 5, 1000.          1 g/cm^2 
 1, 1, 1, 1, -1, 0
*Fklwi, Fenstr, Fgold, Fwico, Fkauf, Fspalt
*
 ERWARTUNGSWERTE
 SAVE
***********************************
 DRIFT
    0.000000
 DRIFT
   45.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2001.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   40.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2002.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   60.000004
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 MATRIX                'quadrupole'
 RIBLL2003.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 DRIFT
   35.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2004.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   45.000000
 MATRIX
 RIBLL2005.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.500, 0
 MATRIX               'dipole'
 RIBLL2006.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.500, 0
 MATRIX
 RIBLL2007.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 DRIFT
   55.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2008.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
  125.000000
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 MATRIX                'quadrupole'
 RIBLL2009.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 DRIFT
   25.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2010.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   25.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2011.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   45.000000
***********************************
/*
WEDGE
27, 13, 2700
1000.0, -10, 0
6, 0, 0, 0
1, 1, -1, 1
0, 0, 0, 0          
*/
SAVE #2
ERWARTUNGSWERTE
*
 DRIFT
   45.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2012.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   25.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2013.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   25.000000
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 MATRIX                'quadrupole'
 RIBLL2014.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 DRIFT
  125.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2015.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   55.000000
 MATRIX
 RIBLL2016.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.500, 0
 MATRIX               'dipole'
 RIBLL2017.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.500, 0
 MATRIX
 RIBLL2018.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 DRIFT
   45.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2019.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   35.000000
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 MATRIX                'quadrupole'
 RIBLL2020.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 DRIFT
   60.000004
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2021.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   40.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2022.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   45.000000
***********************************
/*
WEDGE
27, 13, 2700
1000.0, -10, 0
6, 0, 0, 0
1, 1, -1, 1
0, 0, 0, 0          
*/
SAVE #3
ERWARTUNGSWERTE
*
 DRIFT
   45.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2023.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   40.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2024.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   60.000004
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 MATRIX                'quadrupole'
 RIBLL2025.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 DRIFT
   35.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2026.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   45.000000
 MATRIX
 RIBLL2027.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.500, 0
 MATRIX               'dipole'
 RIBLL2028.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.500, 0
 MATRIX
 RIBLL2029.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 DRIFT
   55.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2030.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
  125.000000
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 MATRIX                'quadrupole'
 RIBLL2031.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 DRIFT
   25.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2032.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   25.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2033.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   45.000000
***********************************
SAVE #4
ERWARTUNGSWERTE
*
 DRIFT
   45.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2034.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
   25.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2035.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   25.000000
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 MATRIX                'quadrupole'
 RIBLL2036.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 DRIFT
  125.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2037.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   55.000000
 MATRIX
 RIBLL2038.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.500, 0
 MATRIX               'dipole'
 RIBLL2039.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 1, 0, 0,  20.000,   4.500, 0
 MATRIX
 RIBLL2040.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 DRIFT
   45.000000
 COLL
 3, 0, 0,  16.000,  16.000, 0
 MATRIX
 RIBLL2041.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 3, 0, 0,  16.000,  16.000, 0
 DRIFT
   35.000000
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 MATRIX                'quadrupole'
 RIBLL2042.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,  16.000,  16.000,  16.000
 DRIFT
   70.000000
 DRIFT
   70.000000
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2043.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
  120.000008
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 MATRIX                'quadrupole'
 RIBLL2044.MAT
 103.92, 50, 750.28                          
 3, 3                                    
 COLL
 4, 0, 0,   7.500,   7.500,   7.500
 DRIFT
  190.000000
***********************************
 ERWARTUNGSWERTE
 SAVE #5
*  
 END
