Changeset 340
- Timestamp:
- 01/20/00 18:22:17 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
r327 r340 21 21 // 22 22 // $RCSfile: camera.cxx,v $ 23 // $Revision: 1. 2$24 // $Author: harald$25 // $Date: 1999-11-19 08:40:42$23 // $Revision: 1.3 $ 24 // $Author: petry $ 25 // $Date: 2000-01-20 18:22:17 $ 26 26 // 27 27 //////////////////////////////////////////////////////////////////////// … … 704 704 705 705 // initalize the ROOT file 706 //707 // erzeuge ein Root file708 706 // 709 707 … … 1172 1170 wl = cphoton.get_wl(); 1173 1171 1174 if ( wl < 1.0 ) 1175 break; 1176 1177 if ( (wl > 600.0) || (wl < 290.0) ) 1178 break; 1179 1180 // check if photon is inside outermost camera radius 1181 1182 if(sqrt(cx*cx + cy*cy) > (cam.dxc[ct_NPixels-1]+1.5*ct_PixelWidth)){ 1172 // check if photon has valid wavelength and is inside outermost camera radius 1173 1174 if( (wl > 800.0) || (wl < 290.0) || 1175 (sqrt(cx*cx + cy*cy) > (cam.dxc[ct_NPixels-1]+1.5*ct_PixelWidth)) ){ 1183 1176 1184 1177 // read next CPhoton … … 2281 2274 perror(funct); 2282 2275 2283 abort();2276 exit(1); 2284 2277 } 2285 2278 //!@} … … 3111 3104 // 3112 3105 // $Log: not supported by cvs2svn $ 3106 // Revision 1.2 1999/11/19 08:40:42 harald 3107 // Now it is possible to compile the camera programm under osf1. 3108 // 3113 3109 // Revision 1.1.1.1 1999/11/05 11:59:31 harald 3114 3110 // This the starting point for CVS controlled further developments of the
Note:
See TracChangeset
for help on using the changeset viewer.