| 1 |
mocchiut |
1.1 |
|
| 2 |
|
|
|
| 3 |
|
|
************************************************************************ |
| 4 |
|
|
* |
| 5 |
|
|
* Common common_reduction.f |
| 6 |
|
|
* |
| 7 |
|
|
* contains variables used only in the execution of reduction |
| 8 |
|
|
* |
| 9 |
|
|
* to be included in: |
| 10 |
|
|
* - reduction.f |
| 11 |
|
|
* |
| 12 |
|
|
* |
| 13 |
|
|
************************************************************************* |
| 14 |
|
|
|
| 15 |
|
|
real adc(nviews,nva1_view,nstrips_va1) |
| 16 |
|
|
common/adc_value/adc |
| 17 |
|
|
|
| 18 |
|
|
c------------------------------------------------------------------------ |
| 19 |
|
|
c |
| 20 |
|
|
c common noise computation |
| 21 |
|
|
c |
| 22 |
|
|
c------------------------------------------------------------------------ |
| 23 |
pam-fi |
1.2 |
parameter (scut=4.)!(scut=3.) |
| 24 |
pam-fi |
1.3 |
parameter (NSTRIPMIN=10)!(NSTRIPMIN=64)!(NSTRIPMIN=10)!TEMPORANEO |
| 25 |
pam-fi |
1.2 |
|
| 26 |
|
|
real cn(nviews,nva1_view) ! common noise values |
| 27 |
pam-fi |
1.5 |
real cnrms(nviews,nva1_view) ! common noise rms |
| 28 |
pam-fi |
1.3 |
integer cnn(nviews,nva1_view) ! >0 = number of strips used for cn computation |
| 29 |
|
|
c 0 = failed (less than NSTRIPMIN strips used) => temporarily masked |
| 30 |
pam-fi |
1.5 |
c -1 = masked a-priori |
| 31 |
pam-fi |
1.2 |
integer mask_vk_ev(nviews,nva1_view) ! mask of VA1s, local to the event (set to 0 if CN computation fails) |
| 32 |
mocchiut |
1.1 |
|
| 33 |
|
|
integer clstr(nviews,nva1_view,nstrips_va1) !flag matrix to mark |
| 34 |
|
|
! strips with signal and exclude them from |
| 35 |
|
|
! common noise computation |
| 36 |
|
|
integer strange(nviews,nva1_view,nstrips_va1) !flag matrix to mark |
| 37 |
|
|
! strips with unusually high or low signal and |
| 38 |
|
|
! exclude them from common noise computation |
| 39 |
|
|
|
| 40 |
pam-fi |
1.5 |
common/cn/cn,cnrms,cnn,mask_vk_ev,clstr,strange |
| 41 |
mocchiut |
1.1 |
|
| 42 |
|
|
c------------------------------------------------------------------------ |
| 43 |
|
|
c |
| 44 |
|
|
c common noise inclusion cut |
| 45 |
|
|
c |
| 46 |
|
|
c------------------------------------------------------------------------ |
| 47 |
|
|
parameter (cnincut=2.) !cut to include strips in cluster definition |
| 48 |
|
|
! during common noise computation |
| 49 |
|
|
c------------------------------------------------------------------------ |
| 50 |
|
|
c |
| 51 |
|
|
c some common for reductionflight |
| 52 |
|
|
c |
| 53 |
|
|
c------------------------------------------------------------------------ |
| 54 |
pam-fi |
1.3 |
|
| 55 |
|
|
c parameter (nclstrmax=1000) !maximum number of clusters per event |
| 56 |
|
|
|
| 57 |
pam-fi |
1.5 |
parameter (nclstrpmin = 5) !minimum number of stored strips |
| 58 |
|
|
parameter (adc_satx = 2960) ! upper (x) saturation limit |
| 59 |
|
|
parameter (adc_saty = 100) ! lower (y) saturation limit |
| 60 |
|
|
|
| 61 |
mocchiut |
1.1 |
integer ind |
| 62 |
|
|
real value(nstrips_view) !per trovare i cluster |
| 63 |
|
|
real clseedcut(nstrips_view) |
| 64 |
|
|
real clinclcut(nstrips_view) |
| 65 |
pam-fi |
1.5 |
integer sat(nstrips_view) !saturation mask |
| 66 |
|
|
common/searchcluster/value,clseedcut,clinclcut,sat,ind |
| 67 |
mocchiut |
1.1 |
|
| 68 |
pam-fi |
1.3 |
c added by Elena (08/2006) |
| 69 |
|
|
integer nclstr_view !number of clusters per view |
| 70 |
|
|
integer ladder_view(nclstrmax) !ladder the strip carrying the largest signal |
| 71 |
|
|
! value belongs to |
| 72 |
|
|
integer maxs_view(nclstrmax) !cluster strip carrying the largest signal value |
| 73 |
|
|
integer mult_view(nclstrmax) !cluster multiplicity |
| 74 |
|
|
integer rmax_view(nclstrmax) |
| 75 |
|
|
integer lmax_view(nclstrmax) |
| 76 |
|
|
common/clustersperview/nclstr_view,ladder_view,maxs_view |
| 77 |
|
|
$ ,mult_view,rmax_view,lmax_view |
| 78 |
|
|
|
| 79 |
mocchiut |
1.1 |
integer nshowers |
| 80 |
|
|
logical flag_shower |
| 81 |
|
|
common/shower/nshowers,flag_shower |
| 82 |
pam-fi |
1.4 |
|
| 83 |
|
|
integer eventn_old(nviews) |
| 84 |
|
|
integer good_old(nviews) |
| 85 |
|
|
common/eventn/eventn_old,good_old |