############################################################# 
# CT1 definition file
# J C Gonzalez, 1998
#############################################################
# @file         ct1.def
# @title        CT1 definition file
# @description  CT1 def. file to be used by {\tt reflector} and {\tt camera}
# @author       J C Gonz\'alez
# @email        gonzalez@mppmu.mpg.de
#
# @maintitle
# @code
#------------------------------------------------------------ 
# CT1 definition file
# J C Gonzalez, 1998
#------------------------------------------------------------
#
# type of definition file  (0: CT1, 1: MAGIC)
#
type  0
#
# focal distance [cm]
#
focal_distance      488.87
#
# std(focal_distance) [cm]
#
focal_std           1.0849
#
# point spread function [cm]
#
point_spread        0.38281
#
# std(point spread function) [cm]
#
point_std           0.13296
#
# std value of adjustment deviation [cm]
#
adjustment_dev      0.5
#
# black spot in the center of the mirror, radius [cm]
#
black_spot          0.5
#
# camera width [cm]
#
camera_width        200.
#
# number of pixels in the camera 
#   PIXELS = 3 x N x (N+1) + 1      (N=number of rings)
#
n_pixels 127 
#
# pixel width (small diameter) [cm] 
#
pixel_width 2.1
#
# number of mirrors
#
n_mirrors 33
#
# radius of a single mirror
#
r_mirror 32.
#
# this entry is followed by the def. of pixels, everything in [radians] or [cm]
#
define_mirrors
  1    60.0000    59.9623     0.0000    59.9623     0.0000     1.8419   0.06138963   0.00000000  -0.06135108  -0.00000000   0.99811625
  2    60.0000    59.9623     1.0472    29.9812    51.9289     1.8419   0.06138968   1.04719710  -0.03067559  -0.05313163   0.99811625
  3    60.0000    59.9623     2.0944   -29.9812    51.9289     1.8419   0.06138968   2.09439564   0.03067559  -0.05313162   0.99811625
  4    60.0000    59.9623     3.1416   -59.9623     0.0000     1.8419   0.06138963   3.14159274   0.06135108   0.00000001   0.99811625
  5    60.0000    59.9623    -2.0944   -29.9812   -51.9289     1.8419   0.06138968   4.18878984   0.03067558   0.05313163   0.99811625
  6    60.0000    59.9623    -1.0472    29.9812   -51.9289     1.8419   0.06138968   5.23598814  -0.03067559   0.05313163   0.99811625
  7   120.0000   119.7006     0.0000   119.7006     0.0000     7.3403   0.12209448   0.00000000  -0.12179136  -0.00000000   0.99255574
  8   103.9230   103.7281     0.5236    89.8312    51.8641     5.5120   0.10593323   0.52359909  -0.09156937  -0.05286764   0.99439430
  9   120.0000   119.7006     1.0472    59.8503   103.6638     7.3403   0.12209452   1.04719770  -0.06089569  -0.10547446   0.99255574
 10   103.9230   103.7281     1.5708     0.0000   103.7281     5.5120   0.10593319   1.57079637   0.00000000  -0.10573518   0.99439430
 11   120.0000   119.7006     2.0944   -59.8503   103.6638     7.3403   0.12209452   2.09439492   0.06089568  -0.10547446   0.99255574
 12   103.9230   103.7281     2.6180   -89.8312    51.8641     5.5120   0.10593323   2.61799359   0.09156937  -0.05286764   0.99439430
 13   120.0000   119.7006     3.1416  -119.7006     0.0000     7.3403   0.12209448   3.14159274   0.12179136   0.00000001   0.99255574
 14   103.9230   103.7281    -2.6180   -89.8312   -51.8641     5.5120   0.10593323   3.66519165   0.09156937   0.05286763   0.99439430
 15   120.0000   119.7006    -2.0944   -59.8503  -103.6638     7.3403   0.12209452   4.18879032   0.06089569   0.10547446   0.99255574
 16   103.9230   103.7281    -1.5708     0.0000  -103.7281     5.5120   0.10593319   4.71238899  -0.00000000   0.10573518   0.99439430
 17   120.0000   119.7006    -1.0472    59.8503  -103.6638     7.3403   0.12209452   5.23598766  -0.06089569   0.10547445   0.99255574
 18   103.9230   103.7281    -0.5236    89.8312   -51.8641     5.5120   0.10593323   5.75958633  -0.09156937   0.05286763   0.99439430
 19   158.7451   158.0569     0.3335   149.3497    51.7363    12.7981   0.16062872   0.33347344  -0.15112801  -0.05235232   0.98712695
 20   158.7451   158.0569     0.7137   119.4798   103.4725    12.7981   0.16062872   0.71372420  -0.12090243  -0.10470454   0.98712695
 21   180.0000   179.0015     1.0472    89.5007   155.0198    16.4147   0.18147679   1.04719770  -0.09024113  -0.15630227   0.98357821
 22   158.7451   158.0569     1.3807    29.8699   155.2088    12.7981   0.16062874   1.38067102  -0.03022556  -0.15705687   0.98712695
 23   158.7451   158.0569     1.7609   -29.8699   155.2088    12.7981   0.16062874   1.76092160   0.03022555  -0.15705687   0.98712695
 24   158.7451   158.0569     2.4279  -119.4798   103.4725    12.7981   0.16062872   2.42786837   0.12090243  -0.10470455   0.98712695
 25   158.7451   158.0569     2.8081  -149.3497    51.7363    12.7981   0.16062872   2.80811930   0.15112801  -0.05235231   0.98712695
 26   180.0000   179.0015     3.1416  -179.0015     0.0000    16.4147   0.18147683   3.14159274   0.18048234   0.00000002   0.98357821
 27   158.7451   158.0569    -2.8081  -149.3497   -51.7363    12.7981   0.16062872   3.47506595   0.15112802   0.05235230   0.98712695
 28   158.7451   158.0569    -2.4279  -119.4798  -103.4725    12.7981   0.16062872   3.85531688   0.12090243   0.10470454   0.98712695
 29   158.7451   158.0569    -1.7609   -29.8699  -155.2088    12.7981   0.16062874   4.52226353   0.03022558   0.15705687   0.98712695
 30   158.7451   158.0569    -1.3807    29.8699  -155.2088    12.7981   0.16062874   4.90251446  -0.03022559   0.15705687   0.98712695
 31   180.0000   179.0015    -1.0472    89.5007  -155.0198    16.4147   0.18147679   5.23598766  -0.09024114   0.15630227   0.98357821
 32   158.7451   158.0569    -0.7137   119.4798  -103.4725    12.7981   0.16062872   5.56946135  -0.12090246   0.10470451   0.98712695
 33   158.7451   158.0569    -0.3335   149.3497   -51.7363    12.7981   0.16062872   5.94971180  -0.15112801   0.05235234   0.98712695
#EOF
#@endcode
