/[PAMELA software]/DarthVader/TrackerLevel2/inc/F77/common_momanhough.f
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/inc/F77/common_momanhough.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by pam-fi, Fri Oct 27 16:08:18 2006 UTC revision 1.10 by pam-fi, Mon May 14 11:03:05 2007 UTC
# Line 19  c     * charge correlation Line 19  c     * charge correlation
19  c      c    
20  c------------------------------------------------------------------------  c------------------------------------------------------------------------
21    
22  *     maximum (total) number of stored clusters  *     maximum (total) number of STORED clusters
23        parameter (nclstrmax_level2 = nclstrmax)        parameter (nclstrmax_level2 = nclstrmax) ! same as level1
 c      parameter (nclstrmax_level2=10*nplanes)  
 c      parameter (nclstrmax_level2=5*nplanes)  
24    
25  *     -----------------------------------------------------------  *     -----------------------------------------------------------
26  *     maximum number of cluster (per view) required to perform  *     maximum number of cluster (per view) required to perform
27  *     track serching with full Hough transform  *     track serching with full Hough transform
28        parameter (nclustermax=6)  *     (singlets recovered during track refinement)
29          parameter (nclusterlimit=6)
30    *     -----------------------------------------------------------
31    *     maximum number of couples (per plane) required to perform
32    *     track serching with full Hough transform
33    *     (couples recovered during track refinement)
34          parameter (ncouplelimit=8)
35    
36  *     -----------------------------------------------------------  *     -----------------------------------------------------------
37  *     maximum number of couples per plane and total  *     maximum number of STORED couples, per plane and total
38  *     (only to dimension the vectors)  *     (to dimension the vectors)
39  c      parameter (ncouplemax=2*(nclstrmax_level2/nplanes)**2)  c      parameter (ncouplemax=2*(nclstrmax_level2/nplanes)**2)
40  c      parameter (ncouplemaxtot=ncouplemax*nplanes)  c      parameter (ncouplemaxtot=ncouplemax*nplanes)
41         parameter (ncouplemax=nclustermax*nclustermax)         parameter (ncouplemax    = nclusterlimit*nclusterlimit)
42         parameter (ncouplemaxtot=ncouplemax*nplanes)         parameter (ncouplemaxtot = ncouplemax*nplanes)
43  *     -----------------------------------------------------------  *     -----------------------------------------------------------
44  *     maximum number of STORED couples  *     maximum number of STORED couples
45  *     (if the identified couples exceeds this number the  *     (if the identified couples exceeds this number the
# Line 43  c      parameter (ncouplemaxtot=ncouplem Line 47  c      parameter (ncouplemaxtot=ncouplem
47  *     tagged as not good)  *     tagged as not good)
48  c      parameter (ncp_max=10*nplanes)  c      parameter (ncp_max=10*nplanes)
49  c      parameter (ncp_max=10*nplanes)  c      parameter (ncp_max=10*nplanes)
50        parameter (ncp_max=ncouplemaxtot)  c      parameter (ncp_max        = ncouplemaxtot)
51    
52    
53    
54  *     -----------------------------------------------------------  *     -----------------------------------------------------------
55  *     mask of views  *     mask of views
56  *     0 = ok  *     0 = ok
57  *     1 = n.clusters > nclustermax  *     1 = n.clusters > nclusterlimit    
58    *     8 = n.couples  > ncouplelimit
59    *     2 = n.couples  > ncouplemax
60    *     3 = n.doublets > ndblt_max
61    *     4 = n.triplets > ntrpt_max
62    *     5 = n.clouds yz > ncloyz_max
63    *     6 = n.clouds xz > ncloxz_max
64    *     7 = n.track candidates > NTRACKSMAX
65        integer mask_view(nviews)        integer mask_view(nviews)
66        common/maskview/mask_view        common/maskview/mask_view
67    
# Line 269  c--------------------------------------- Line 280  c---------------------------------------
280        REAL YGOOD_STORE(NPLANES,NTRACKSMAX)        REAL YGOOD_STORE(NPLANES,NTRACKSMAX)
281        INTEGER CP_STORE(NPLANES,NTRACKSMAX)        INTEGER CP_STORE(NPLANES,NTRACKSMAX)
282        INTEGER CLS_STORE(NPLANES,NTRACKSMAX)        INTEGER CLS_STORE(NPLANES,NTRACKSMAX)
283          INTEGER SENSOR_STORE(NPLANES,NTRACKSMAX)
284          INTEGER LADDER_STORE(NPLANES,NTRACKSMAX)
285          REAL BX_STORE(NPLANES,NTRACKSMAX)
286          REAL BY_STORE(NPLANES,NTRACKSMAX)
287        REAL RCHI2_STORE(NTRACKSMAX)        REAL RCHI2_STORE(NTRACKSMAX)
288        common/track_candidates/NTRACKS,AL_STORE        common/track_candidates/NTRACKS,AL_STORE
289       $     ,XV_STORE,YV_STORE,ZV_STORE       $     ,XV_STORE,YV_STORE,ZV_STORE
# Line 276  c--------------------------------------- Line 291  c---------------------------------------
291       $     ,RESX_STORE,RESY_STORE       $     ,RESX_STORE,RESY_STORE
292       $     ,AXV_STORE,AYV_STORE       $     ,AXV_STORE,AYV_STORE
293       $     ,XGOOD_STORE,YGOOD_STORE       $     ,XGOOD_STORE,YGOOD_STORE
294       $     ,CP_STORE,CLS_STORE,RCHI2_STORE       $     ,CP_STORE,CLS_STORE
295         $     ,SENSOR_STORE,LADDER_STORE
296         $     ,BX_STORE,BY_STORE
297         $     ,RCHI2_STORE
298    
299    
300  *     best-candidate selection  *     best-candidate selection
# Line 338  c$$$ Line 356  c$$$
356  *     Parameter normalization constants, needed to evaluate  *     Parameter normalization constants, needed to evaluate
357  *     distances in parameter space  *     distances in parameter space
358  *     -----------------------------------------------------  *     -----------------------------------------------------
359        parameter (Dalfaxz3=1.)  
360        parameter (Dalfayz1=0.8864e-1)  *     --- David ground
361        parameter (Dalfayz2=0.6204e-3)  c$$$      parameter (Dalfayz1=0.8864e-1)
362        parameter (Dalfaxz1=0.2909e-1)  c$$$      parameter (Dalfayz2=0.6204e-3)
363        parameter (Dalfaxz2=0.2759e-2)  c$$$      parameter (Dalfaxz1=0.2909e-1)
364    c$$$      parameter (Dalfaxz2=0.2759e-2)
365    *     --- David flight
366          parameter (Dalfayz1=0.64e-3)
367          parameter (Dalfayz2=0.54e-3)
368          parameter (Dalfaxz1=0.50e-3)
369          parameter (Dalfaxz2=0.12e-3)
370          parameter (Dalfaxz3=0.86e-5)
371    
372    
373  *     -----------------------------------------------------  *     -----------------------------------------------------
374  *     Cut on normalized distances in parameter space.  *     Cut on normalized distances in parameter space.
375  *     Doublets/triplets are recursively included in a cloud  *     Doublets/triplets are recursively included in a cloud
376  *     if the distance from any of the points already included  *     if the distance from any of the points already included
377  *     is less than this cut.  *     is less than this cut.
378  *     -----------------------------------------------------  *     -----------------------------------------------------
379        parameter(cutystart=0.3)    *     --- David ground
380        parameter(cutystep=0.3)      c$$$      parameter(cutystart=0.3)  
381        parameter(cutxstart=1.)  c$$$      parameter(cutystep=0.3)    
382        parameter(cutxstep=1.)    c$$$      parameter(cutxstart=1.)
383        parameter(maxcuty=100.)  c$$$      parameter(cutxstep=1.)  
384        parameter(maxcutx=150.)  c$$$      parameter(maxcuty=100.)
385    c$$$      parameter(maxcutx=150.)
386    c$$$      parameter(nstepx=50)     !inclusion-cut increasing steps
387    c$$$      parameter(nstepy=50)
388    *     --- David flight (preliminary)
389    c$$$      parameter(cutystart=7.)  
390    c$$$      parameter(cutystep=5.)              
391    c$$$      parameter(cutxstart=5.)
392    c$$$      parameter(cutxstep=2.)  
393    c$$$      parameter(maxcuty=200.)
394    c$$$      parameter(maxcutx=150.)  
395    c$$$      parameter(nstepx=5)       !inclusion-cut increasing steps
396    c$$$      parameter(nstepy=5)      
397    *     --- David flight
398          parameter(cutystart=30.)  
399          parameter(cutystep=10.)              !buoni???
400          parameter(cutxstart=5.)
401          parameter(cutxstep=2.)  
402          parameter(maxcuty=1000.)
403          parameter(maxcutx=1000.)  
404          parameter(nstepx=10)     !inclusion-cut increasing steps
405          parameter(nstepy=30)
406    
       parameter(nstepx=50)     !inclusion-cut increasing steps  
       parameter(nstepy=50)  
407    
408        real cutdistyz            !y0 / tg theta_yz space          real cutdistyz            !y0 / tg theta_yz space  
409        real cutdistxz            !x0 / tg theta_xz space          real cutdistxz            !x0 / tg theta_xz space  
# Line 393  c$$$ Line 439  c$$$
439  *     maximum value of deflection from Hough transform  *     maximum value of deflection from Hough transform
440  *     accepted in order to perform the track fit  *     accepted in order to perform the track fit
441  *     -----------------------------------------------------  *     -----------------------------------------------------
442        parameter (defmax=10000.) !GV-1  c      parameter (defmax=10000.) !GV-1
443          parameter (defmax=100.) !GV-1
444    
445  *     -----------------------------------------------------  *     -----------------------------------------------------
446  *     cut to include new couple or single clusters in the  *     cut to include new couple or single clusters in the
447  *     track fitting, after the first fit  *     track fitting, after the first fit
448  *     -----------------------------------------------------  *     -----------------------------------------------------
449        parameter (clinc=10)  c      parameter (clinc=3)
450          parameter (clinc=7)
451    
452    
453    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.23