Index: trunk/MagicSoft/Simulation/Detector/Reflector/reflector.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Reflector/reflector.cxx	(revision 345)
+++ trunk/MagicSoft/Simulation/Detector/Reflector/reflector.cxx	(revision 346)
@@ -20,7 +20,7 @@
 //
 // $RCSfile: reflector.cxx,v $
-// $Revision: 1.6 $
+// $Revision: 1.7 $
 // $Author: blanch $ 
-// $Date: 2000-01-14 16:39:50 $
+// $Date: 2000-01-25 16:25:09 $
 //
 ////////////////////////////////////////////////////////////////////////
@@ -3499,6 +3499,7 @@
   int i;
 
-  //Random position of the CT. Theta distribution 
-  //follows sin(theta) and ohi distribution is flat
+  //Random position of the CT. It is the distance
+  //between shower axis and CT position and its  
+  //distribution follows sin(it).
 
   range_aux=1.0-sin(M_PI/2-range);
@@ -3510,5 +3511,5 @@
   cos_theta = cos(theta);
 
-  cos_newtheta = cos_theta*cos(it) + sin_theta*sin(it)*cos(ip);
+  cos_newtheta = cos_theta*cos(it) - sin_theta*sin(it)*cos(ip);
   *newtheta = acos( cos_newtheta );
   sin_newtheta = sin( *newtheta );
