Changeset 2335 for trunk/MagicSoft


Ignore:
Timestamp:
09/15/03 11:06:47 (21 years ago)
Author:
blanch
Message:
Header file for camera 1.58
Number of CT is passed in some subroutines.
MGeomCam is passed instead of MGeomCam magic to allow diferent camera
geometries.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/camera.h

    r2287 r2335  
    1919//=
    2020//= $RCSfile: camera.h,v $
    21 //= $Revision: 1.17 $
     21//= $Revision: 1.18 $
    2222//= $Author: blanch $
    23 //= $Date: 2003-07-17 18:03:03 $
     23//= $Date: 2003-09-15 10:06:47 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    114114#define RandomNumber  drand48()
    115115
    116 #define iMAXNUMPIX  595 // total maximum possible number of pixels in the camera
     116#define iMAXNUMPIX  3500 // total maximum possible number of pixels in the camera
    117117
    118118#define iMAXNUMPHE 50000 // maximum total number of photoelectrons in one event
     
    279279int igen_pixel_coordinates(struct camera *cam);
    280280void read_pixels(struct camera *cam);
    281 void read_QE(char fname[256]);
     281void read_QE(char fname[256], int ict);
    282282void read_WC(void);
    283283void read_ascii( FILE *sp, // the input file
     
    286286int pixels_are_neig(int pix1, int pix2);
    287287int bpoint_is_in_pix(double dx, double dy, int ipixnum,
    288                       MGeomCamMagic *pcamgeom);
     288                      MGeomCam *pcamgeom);
    289289float  dist_r_P(float a, float b, float c,
    290290                float l, float m, float n,
     
    293293float lin_interpol(float x1, float y1, float x2, float y2, float x);
    294294int produce_phes( FILE *sp, // the input file
    295                   class MGeomCamMagic *camgeom, // the camera layout
     295                  class MGeomCam *camgeom, // the camera layout
    296296                  float minwl_nm, // the minimum accepted wavelength
    297297                  float maxwl_nm, // the maximum accepted wavelength
     
    302302                  int *incph,    // total number of cph read
    303303                  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.
    305306                  );
    306307
    307308int produce_nsbrates( char *inname,
    308                       MGeomCamMagic *camgeom,
    309                       float nsbrate[][iNUMWAVEBANDS]
     309                      MGeomCam *camgeom,
     310                      float nsbrate[][iNUMWAVEBANDS],
     311                      int ict
    310312                      );
    311313
     
    336338/*
    337339 *$Log: not supported by cvs2svn $
     340 *Revision 1.17  2003/07/17 18:03:03  blanch
     341 *Header file for camera 1.57
     342 *
    338343 *Revision 1.15  2003/01/07 16:34:09  blanch
    339344 *Header file for camera.cxx version 1.50.
Note: See TracChangeset for help on using the changeset viewer.