1 |
mocchiut |
1.1 |
************************************************************************* |
2 |
|
|
* |
3 |
|
|
* Common level1.f |
4 |
|
|
* |
5 |
|
|
* contains LEVEL1 ntuple variables definitions |
6 |
|
|
* |
7 |
|
|
************************************************************************* |
8 |
|
|
|
9 |
pam-fi |
1.6 |
parameter (nclstrmax_view = 200) ! maximum number of clusters per view |
10 |
pam-fi |
1.3 |
parameter (nclstrmax = nclstrmax_view * nviews) |
11 |
pam-fi |
1.5 |
parameter (nclstrp = 20) ! maximum number of stored strips per cluster |
12 |
pam-fi |
1.3 |
parameter (maxlength = nclstrmax * nclstrp) |
13 |
|
|
|
14 |
pam-fi |
1.4 |
integer good1(nviews) |
15 |
mocchiut |
1.1 |
|
16 |
|
|
c CLUSTER block: |
17 |
|
|
integer nclstr1 !cluster number |
18 |
pam-fi |
1.8 |
integer view(nclstrmax) !view the cluster belongs to |
19 |
mocchiut |
1.1 |
integer ladder(nclstrmax) !ladder the strip carrying the largest signal |
20 |
|
|
! value belongs to |
21 |
|
|
integer maxs(nclstrmax) !cluster strip carrying the largest signal value |
22 |
|
|
integer mult(nclstrmax) !cluster multiplicity |
23 |
pam-fi |
1.9 |
real sgnl(nclstrmax) !cluster multiplicity |
24 |
mocchiut |
1.1 |
integer indstart(nclstrmax) !cluster starting point index in clsignal array |
25 |
|
|
integer indmax(nclstrmax) !cluster maximum point index in clsignal array |
26 |
|
|
integer totCLlength !sum of all clusters length (to assign |
27 |
|
|
! dimension to clsignal array) |
28 |
pam-fi |
1.7 |
real clsignal(maxlength) !sgnal values of all strips belonging to clusters |
29 |
pam-fi |
1.3 |
real clsigma(maxlength) |
30 |
|
|
integer cladc(maxlength) |
31 |
|
|
integer clbad(maxlength) |
32 |
|
|
|
33 |
pam-fi |
1.2 |
real cnev(nviews,nva1_view) !CN of the event for a certain view and VA1 |
34 |
pam-fi |
1.5 |
real cnrmsev(nviews,nva1_view) !RMS of CN |
35 |
pam-fi |
1.3 |
integer cnnev(nviews,nva1_view) !n.strips used for CN computation |
36 |
|
|
integer fshower(nviews) !flag to tag views with too many clusters |
37 |
|
|
c !(in this case clusters are not saved) |
38 |
pam-fi |
1.8 |
integer whichtrack(nclstrmax) !flag to tag clusters associated to a track |
39 |
mocchiut |
1.1 |
common/level1event/good1,nclstr1,view,ladder,maxs |
40 |
pam-fi |
1.9 |
$ ,mult,sgnl,indstart |
41 |
pam-fi |
1.5 |
$ ,indmax,totCLlength,clsignal,clsigma,cladc,clbad |
42 |
|
|
$ ,cnev,cnnev,cnrmsev,fshower,whichtrack |
43 |
mocchiut |
1.1 |
|
44 |
|
|
SAVE/level1event/ |