/[PAMELA software]/PamelaLevel2/src/PamLevel2.cpp
ViewVC logotype

Diff of /PamelaLevel2/src/PamLevel2.cpp

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

revision 1.41 by pam-fi, Thu Aug 2 13:59:47 2007 UTC revision 1.42 by pam-fi, Tue Aug 7 15:37:12 2007 UTC
# Line 732  void PamLevel2::SortTracks(){ Line 732  void PamLevel2::SortTracks(){
732  //      else                 ti_score++;  //      else                 ti_score++;
733                    
734    
735            if( cp->npresh >= ci->npresh) tp_score++;            if( cp->npresh > ci->npresh) tp_score++;
736            else ti_score++;            if( cp->npresh < ci->npresh) ti_score++;
737              else ;//niente
738    
739          //      cout << "CALO "<<tp_score<<ti_score<<endl;          //      cout << "CALO "<<tp_score<<ti_score<<endl;
740    
# Line 913  void PamLevel2::SortTracks(){ Line 914  void PamLevel2::SortTracks(){
914               (nphit_p+nphit_i) !=0 &&                 (nphit_p+nphit_i) !=0 &&  
915               true){               true){
916                                            
917              if( nphit_p >= nphit_i) tp_score++;              if     ( nphit_p > nphit_i) tp_score++;
918              else ti_score++;              else if( nphit_p < nphit_i) ti_score++;
919                else ;//niente
920            };            };
921          };          };
922          //      cout << "TOF "<<tp_score<<ti_score<<endl;          //      cout << "TOF "<<tp_score<<ti_score<<endl;

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.23