/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkLevel2.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkLevel2.cpp

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

revision 1.11 by pam-fi, Wed Oct 11 06:53:01 2006 UTC revision 1.12 by mocchiut, Tue Oct 24 07:28:38 2006 UTC
# Line 732  Int_t TrkLevel2::GetNTracks(){ Line 732  Int_t TrkLevel2::GetNTracks(){
732                                    
733          Float_t ntot=0;          Float_t ntot=0;
734          TClonesArray &t = *Track;          TClonesArray &t = *Track;
735          for(int i=0; i<ntrk(); i++) {          for(int i=0; i<ntrk(); i++) {    
736                  if( ((TrkTrack *)t[i])->GetImageSeqNo() == -1 ) ntot+=1.;                  if( ((TrkTrack *)t[i])->GetImageSeqNo() == -1 ) ntot+=1.;
737                  else ntot+=0.5;                  else ntot+=0.5;
738          }          }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.23