1 |
mocchiut |
1.1 |
************************************************************************* |
2 |
|
|
* |
3 |
|
|
* Common level1.f |
4 |
|
|
* |
5 |
|
|
* contains LEVEL1 ntuple variables definitions |
6 |
|
|
* |
7 |
|
|
* to be included in: |
8 |
|
|
* - ../reduction/reduction.f |
9 |
|
|
* - ../analysis/analysis.f |
10 |
|
|
* - !??? |
11 |
|
|
* |
12 |
|
|
* parameters: |
13 |
|
|
* - nclstrmax |
14 |
|
|
* - nclstrp |
15 |
|
|
* |
16 |
|
|
* 11/9/2005 modified by david fedele to include general variables |
17 |
pam-fi |
1.3 |
* **/8/2006 modified to store info about CN computation and "showers" |
18 |
mocchiut |
1.1 |
************************************************************************* |
19 |
|
|
|
20 |
pam-fi |
1.3 |
parameter (nclstrmax_view = 200) ! maximum number of clusters per view |
21 |
|
|
parameter (nclstrmax = nclstrmax_view * nviews) |
22 |
|
|
parameter (nclstrp = 19) ! maximum number of stored strips per cluster |
23 |
|
|
parameter (maxlength = nclstrmax * nclstrp) |
24 |
|
|
|
25 |
mocchiut |
1.1 |
integer good1 !flag to mark good or noise events |
26 |
|
|
|
27 |
|
|
c CLUSTER block: |
28 |
|
|
integer nclstr1 !cluster number |
29 |
|
|
integer view(nclstrmax) !view the cluster belongs to |
30 |
|
|
integer ladder(nclstrmax) !ladder the strip carrying the largest signal |
31 |
|
|
! value belongs to |
32 |
|
|
integer maxs(nclstrmax) !cluster strip carrying the largest signal value |
33 |
|
|
integer mult(nclstrmax) !cluster multiplicity |
34 |
|
|
real dedx(nclstrmax) !cluster multiplicity |
35 |
|
|
integer indstart(nclstrmax) !cluster starting point index in clsignal array |
36 |
|
|
integer indmax(nclstrmax) !cluster maximum point index in clsignal array |
37 |
|
|
integer totCLlength !sum of all clusters length (to assign |
38 |
|
|
! dimension to clsignal array) |
39 |
|
|
real clsignal(maxlength) !signal values of all strips belonging to clusters |
40 |
|
|
|
41 |
pam-fi |
1.3 |
real clsigma(maxlength) |
42 |
|
|
integer cladc(maxlength) |
43 |
|
|
integer clbad(maxlength) |
44 |
|
|
c real clped(maxlength) |
45 |
|
|
|
46 |
pam-fi |
1.2 |
real cnev(nviews,nva1_view) !CN of the event for a certain view and VA1 |
47 |
pam-fi |
1.3 |
integer cnnev(nviews,nva1_view) !n.strips used for CN computation |
48 |
|
|
integer fshower(nviews) !flag to tag views with too many clusters |
49 |
|
|
c !(in this case clusters are not saved) |
50 |
|
|
integer whichtrack(nclstrmax) !flag to relate the cluster to the track it belongs to |
51 |
mocchiut |
1.1 |
common/level1event/good1,nclstr1,view,ladder,maxs |
52 |
|
|
$ ,mult,dedx,indstart |
53 |
pam-fi |
1.3 |
$ ,indmax,totCLlength,clsignal,clsigma,cladc,clbad!,clped |
54 |
|
|
$ ,cnev,cnnev,fshower,whichtrack |
55 |
mocchiut |
1.1 |
|
56 |
|
|
SAVE/level1event/ |