17 |
* **/8/2006 modified to store info about CN computation and "showers" |
* **/8/2006 modified to store info about CN computation and "showers" |
18 |
************************************************************************* |
************************************************************************* |
19 |
|
|
20 |
parameter (nclstrmax_view = 50) ! maximum number of clusters per view |
parameter (nclstrmax_view = 200) ! maximum number of clusters per view |
21 |
parameter (nclstrmax = nclstrmax_view * nviews) |
parameter (nclstrmax = nclstrmax_view * nviews) |
22 |
parameter (nclstrp = 20) ! maximum number of stored strips per cluster |
parameter (nclstrp = 20) ! maximum number of stored strips per cluster |
23 |
parameter (maxlength = nclstrmax * nclstrp) |
parameter (maxlength = nclstrmax * nclstrp) |
27 |
|
|
28 |
c CLUSTER block: |
c CLUSTER block: |
29 |
integer nclstr1 !cluster number |
integer nclstr1 !cluster number |
30 |
integer view(nclstrmax) !view the cluster belongs to |
integer view(nclstrmax) !view the cluster belongs to |
31 |
integer ladder(nclstrmax) !ladder the strip carrying the largest signal |
integer ladder(nclstrmax) !ladder the strip carrying the largest signal |
32 |
! value belongs to |
! value belongs to |
33 |
integer maxs(nclstrmax) !cluster strip carrying the largest signal value |
integer maxs(nclstrmax) !cluster strip carrying the largest signal value |
37 |
integer indmax(nclstrmax) !cluster maximum point index in clsignal array |
integer indmax(nclstrmax) !cluster maximum point index in clsignal array |
38 |
integer totCLlength !sum of all clusters length (to assign |
integer totCLlength !sum of all clusters length (to assign |
39 |
! dimension to clsignal array) |
! dimension to clsignal array) |
40 |
real clsignal(maxlength) !signal values of all strips belonging to clusters |
real clsignal(maxlength) !sgnal values of all strips belonging to clusters |
41 |
|
|
42 |
real clsigma(maxlength) |
real clsigma(maxlength) |
43 |
integer cladc(maxlength) |
integer cladc(maxlength) |
49 |
integer cnnev(nviews,nva1_view) !n.strips used for CN computation |
integer cnnev(nviews,nva1_view) !n.strips used for CN computation |
50 |
integer fshower(nviews) !flag to tag views with too many clusters |
integer fshower(nviews) !flag to tag views with too many clusters |
51 |
c !(in this case clusters are not saved) |
c !(in this case clusters are not saved) |
52 |
integer whichtrack(nclstrmax) !flag to relate the cluster to the track it belongs to |
integer whichtrack(nclstrmax) !flag to tag clusters associated to a track |
53 |
common/level1event/good1,nclstr1,view,ladder,maxs |
common/level1event/good1,nclstr1,view,ladder,maxs |
54 |
$ ,mult,dedx,indstart |
$ ,mult,dedx,indstart |
55 |
$ ,indmax,totCLlength,clsignal,clsigma,cladc,clbad |
$ ,indmax,totCLlength,clsignal,clsigma,cladc,clbad |