(file) Return to hms_geometry.cmn CVS log (file) (dir) Up to [HallC] / Analyzer / INCLUDE

  1 cdaq  1.1 *     hms_geometry.cmn
  2           *
  3           *     This include file has all the geometrical coefficients for the
  4           *     HMS wire chambers.
  5           *
  6           *     d.f. geesaman        1 September 1993
  7           *     modifed    dfg       14 Feb 1994
  8           *                change HPLANE_PARAM(2,)  to hdc_zpos
  9           *                change HPLANE_PARAM(3,)  to hdc_alpha_angle
 10           *                change HPLANE_PARAM(4,)  to hdc_beta_angle
 11           *                change HPLANE_PARAM(5,)  to hdc_gamma_angle
 12           *                change HPLANE_PARAM(6,)  to hdc_pitch
 13           *                change HPLANE_PARAM(7,)  to hdc_nrwire
 14           *                change HPLANE_PARAM(8,)  to hdc_central_wire
 15           *                change HPLANE_PARAM(9,)  to hdc_sigma
 16           *                change HPLANE_LABEL      to hdc_plane_name
 17           *                add     hdc_xcenter
 18           *                        hdc_ycenter
 19 cdaq  1.2 * $Log: hms_geometry.cmn,v $
 20 cdaq  1.5 * Revision 1.4  1994/06/14  03:21:25  cdaq
 21           * (DFG) Added hdc_tdc_time_zero
 22           *
 23 cdaq  1.4 * Revision 1.3  1994/04/13  17:33:06  cdaq
 24           * (DFG) Added dummy and dmytst
 25           *
 26 cdaq  1.3 * Revision 1.2  1994/03/24  18:36:06  cdaq
 27           * (DFG) Additional parameters
 28           *
 29 cdaq  1.2 * Revision 1.1  1994/02/22  14:46:27  cdaq
 30           * Initial revision
 31           *                    
 32 cdaq  1.1 *
 33           *
 34           *
 35                 real*4 hzchi,hzpsi       ! geometrical coefficients defining z-z0
 36                 real*4 hxchi,hxpsi       ! x and y for each wire plane. 
 37                 real*4 hychi,hypsi
 38           *
 39                 real*4 hz0               ! z coordinate of intersection of chamber with
 40                                          ! z axis
 41                 real*4 hpsi0,hchi0,hphi0 ! psi, chi and phi  coordinates  where a 
 42                                          ! chamber normal passing through the origin
 43                                          ! intersects the chamber. Used in stub fits
 44                 
 45                 real*4 hstubcoef         ! coefficents used in stub fits
 46                                          ! note these contain one power of sigma
 47           
 48                 real*4 htanbeta,hsinbeta,hcosbeta
 49           *
 50                 real*4 hxsp              ! coefficents used in space point fits.
 51                 real*4 hysp
 52           *
 53 cdaq  1.1       real*8 hplane_coeff      ! coefficients used in final track fit
 54           *
 55                 integer*4 HNUM_PLANE_COEFF   ! number of plane track fit coefficients
 56                 parameter (HNUM_PLANE_COEFF=9)
 57                 integer*4 HNUM_RAY_PARAM     ! number of ray parameters
 58                 parameter (HNUM_RAY_PARAM=4)
 59           *
 60                 common/HMS_GEOMETRY/
 61 cdaq  1.2      &     hplane_coeff(HNUM_PLANE_COEFF,HMAX_NUM_DC_PLANES),
 62                &     hzpsi(HMAX_NUM_DC_PLANES),hzchi(HMAX_NUM_DC_PLANES),
 63                &     hxpsi(HMAX_NUM_DC_PLANES),hxchi(HMAX_NUM_DC_PLANES),
 64                &     hypsi(HMAX_NUM_DC_PLANES),hychi(HMAX_NUM_DC_PLANES),
 65                &     hz0(HMAX_NUM_DC_PLANES),hpsi0(HMAX_NUM_DC_PLANES),
 66                &     hchi0(HMAX_NUM_DC_PLANES),hphi0(HMAX_NUM_DC_PLANES),
 67                &     hstubcoef(HMAX_NUM_DC_PLANES,HNUM_RAY_PARAM),
 68                &     hxsp(HMAX_NUM_DC_PLANES),hysp(HMAX_NUM_DC_PLANES),
 69                &     htanbeta(HMAX_NUM_DC_PLANES),hsinbeta(HMAX_NUM_DC_PLANES),
 70                &     hcosbeta(HMAX_NUM_DC_PLANES)
 71 cdaq  1.1 *
 72                 real*4    hdc_zpos
 73                 real*4    hdc_alpha_angle
 74                 real*4    hdc_beta_angle
 75                 real*4    hdc_gamma_angle
 76                 real*4    hdc_pitch
 77                 real*4    hdc_nrwire
 78                 real*4    hdc_central_wire
 79                 real*4    hdc_sigma
 80                 real*4    hdc_xcenter
 81                 real*4    hdc_ycenter
 82                 integer*4 hdc_chamber_planes
 83                 character*16 hdc_plane_name
 84                 common/HMS_PLANE_PARAMETERS/
 85 cdaq  1.2      &     hdc_zpos(HMAX_NUM_DC_PLANES),
 86                &     hdc_alpha_angle(HMAX_NUM_DC_PLANES),
 87                &     hdc_beta_angle(HMAX_NUM_DC_PLANES),
 88                &     hdc_gamma_angle(HMAX_NUM_DC_PLANES),
 89                &     hdc_pitch(HMAX_NUM_DC_PLANES),
 90                &     hdc_central_wire(HMAX_NUM_DC_PLANES),
 91                &     hdc_nrwire(HMAX_NUM_DC_PLANES),
 92                &     hdc_sigma(HMAX_NUM_DC_PLANES),
 93                &     hdc_xcenter(HMAX_NUM_DC_PLANES),
 94                &     hdc_ycenter(HMAX_NUM_DC_PLANES),
 95                &     hdc_chamber_planes(HMAX_NUM_DC_PLANES),
 96                &     hdc_plane_name(HMAX_NUM_DC_PLANES) 
 97 cdaq  1.1 *
 98           *
 99                 real*4 hlocrayzt
100                 parameter (hlocrayzt=0.)
101           *
102           *
103 cdaq  1.2 *     parameter file variables. Separate by type to make it easy to add
104           *     at the end
105           *     REAL*4
106           *
107 cdaq  1.1       real*4 hdrift_velocity        ! hms drift velocity in cm/ns
108 cdaq  1.2       real*4 hdc_tdc_time_per_channel ! hms drift chamber tdc calibration
109                 real*4 hdc_1_zpos
110                 real*4 hdc_2_zpos
111 cdaq  1.3       real*4 dummy
112 cdaq  1.4       real*4 hdc_plane_time_zero        ! zero time for drift chamber planes
113 cdaq  1.5       real*4 hdrift_t0_break            ! start of linear drift region in t
114                 real*4 hdrift_x0_break            ! start of linear drift region in x
115 cdaq  1.2       common/HMS_CHAMBER_READOUT_REAL/
116                &     hdrift_velocity,
117                &     hdc_tdc_time_per_channel,
118                &     hdc_1_zpos,
119 cdaq  1.3      &     hdc_2_zpos,
120 cdaq  1.4      &     dummy,
121 cdaq  1.5      &     hdc_plane_time_zero(HMAX_NUM_DC_PLANES),
122                &     hdrift_t0_break(HMAX_NUM_DC_PLANES),
123                &     hdrift_x0_break(HMAX_NUM_DC_PLANES)
124 cdaq  1.2 *
125 cdaq  1.3 *    INTEGER*4
126                 integer*4 hdc_wire_counting     ! readout numbering order
127                 integer*4 dmytst
128 cdaq  1.2 *
129                 common/HMS_CHAMBER_READOUT_INT/
130 cdaq  1.3      &     hdc_wire_counting(HMAX_NUM_DC_PLANES),
131                &     dmytst
132           
133           

Analyzer/Replay: Mark Jones, Documents: Stephen Wood
Powered by
ViewCVS 0.9.2-cvsgraph-1.4.0