Changeset 2335 for trunk/MagicSoft
- Timestamp:
- 09/15/03 11:06:47 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.h
r2287 r2335 19 19 //= 20 20 //= $RCSfile: camera.h,v $ 21 //= $Revision: 1.1 7$21 //= $Revision: 1.18 $ 22 22 //= $Author: blanch $ 23 //= $Date: 2003-0 7-17 18:03:03$23 //= $Date: 2003-09-15 10:06:47 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 114 114 #define RandomNumber drand48() 115 115 116 #define iMAXNUMPIX 595// total maximum possible number of pixels in the camera116 #define iMAXNUMPIX 3500 // total maximum possible number of pixels in the camera 117 117 118 118 #define iMAXNUMPHE 50000 // maximum total number of photoelectrons in one event … … 279 279 int igen_pixel_coordinates(struct camera *cam); 280 280 void read_pixels(struct camera *cam); 281 void read_QE(char fname[256] );281 void read_QE(char fname[256], int ict); 282 282 void read_WC(void); 283 283 void read_ascii( FILE *sp, // the input file … … 286 286 int pixels_are_neig(int pix1, int pix2); 287 287 int bpoint_is_in_pix(double dx, double dy, int ipixnum, 288 MGeomCam Magic*pcamgeom);288 MGeomCam *pcamgeom); 289 289 float dist_r_P(float a, float b, float c, 290 290 float l, float m, float n, … … 293 293 float lin_interpol(float x1, float y1, float x2, float y2, float x); 294 294 int produce_phes( FILE *sp, // the input file 295 class MGeomCam Magic*camgeom, // the camera layout295 class MGeomCam *camgeom, // the camera layout 296 296 float minwl_nm, // the minimum accepted wavelength 297 297 float maxwl_nm, // the maximum accepted wavelength … … 302 302 int *incph, // total number of cph read 303 303 float *tmin_ns, // minimum arrival time of all phes 304 float *tmax_ns // maximum arrival time of all phes 304 float *tmax_ns, // maximum arrival time of all phes 305 int telescope // Telescope that is being analised to get the right QE. 305 306 ); 306 307 307 308 int produce_nsbrates( char *inname, 308 MGeomCamMagic *camgeom, 309 float nsbrate[][iNUMWAVEBANDS] 309 MGeomCam *camgeom, 310 float nsbrate[][iNUMWAVEBANDS], 311 int ict 310 312 ); 311 313 … … 336 338 /* 337 339 *$Log: not supported by cvs2svn $ 340 *Revision 1.17 2003/07/17 18:03:03 blanch 341 *Header file for camera 1.57 342 * 338 343 *Revision 1.15 2003/01/07 16:34:09 blanch 339 344 *Header file for camera.cxx version 1.50.
Note:
See TracChangeset
for help on using the changeset viewer.