Changeset 1754
- Timestamp:
- 02/12/03 11:55:01 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
r1730 r1754 21 21 // 22 22 // $RCSfile: camera.cxx,v $ 23 // $Revision: 1.5 3$23 // $Revision: 1.54 $ 24 24 // $Author: blanch $ 25 // $Date: 2003-0 1-23 18:35:21 $25 // $Date: 2003-02-12 11:55:01 $ 26 26 // 27 27 //////////////////////////////////////////////////////////////////////// … … 3810 3810 cx = photon.get_x(); 3811 3811 cy = photon.get_y(); 3812 3812 3813 3813 // get wavelength 3814 3814 … … 3945 3945 float tmax_ns; // maximum arrival time of all phes 3946 3946 float integtime_ns; // integration time from the starfield generator 3947 char flag_new[4]; 3947 3948 3948 3949 // open input file … … 3985 3986 } 3986 3987 else { // found start of run 3988 3989 if (reflector_file_version > 5){ 3990 3991 fread( flag_new, 4, 1, infile ); 3992 3993 if(!isA( flag_new, FLAG_START_OF_HEADER)){ 3994 3995 // We break the main loop 3996 cout<<"Warning: Expected start of run header flag, but found:"<<flag_new<<endl; 3997 cout<<" We assume no Star Light"<<endl; 3998 return(0); 3999 } 4000 4001 Float_t flag_temp[SIZE_OF_MCRUNHEADER]; 4002 4003 fread( flag_temp, (SIZE_OF_MCRUNHEADER)*sizeof(float), 1, infile ); 4004 4005 } 3987 4006 3988 4007 fread( cflag, SIZE_OF_FLAGS, 1, infile ); 3989 4008 3990 4009 if( isA( cflag, FLAG_START_OF_EVENT )){ // there is a event 4010 fread( flag_new, 4, 1, infile ); 4011 4012 if(!isA( flag_new, FLAG_EVENT_HEADER)){ 4013 4014 // We break while events loop 4015 cout<<"Warning: Expected start of event header flag, but found:"<<flag_new<<endl; 4016 cout<<" We assume no light from Stars"<<endl; 4017 return(0); 4018 } 3991 4019 3992 4020 // get MCEventHeader … … 4211 4239 // 4212 4240 // $Log: not supported by cvs2svn $ 4241 // Revision 1.53 2003/01/23 18:35:21 blanch 4242 // *** empty log message *** 4243 // 4213 4244 // Revision 1.52 2003/01/20 17:19:20 blanch 4214 4245 // It fills the MMcCorsikaRun. … … 4377 4408 // 4378 4409 // $Log: not supported by cvs2svn $ 4410 // Revision 1.53 2003/01/23 18:35:21 blanch 4411 // *** empty log message *** 4412 // 4379 4413 // Revision 1.52 2003/01/20 17:19:20 blanch 4380 4414 // It fills the MMcCorsikaRun.
Note:
See TracChangeset
for help on using the changeset viewer.