/[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.50 by pam-fi, Fri Dec 5 08:26:46 2008 UTC revision 1.52 by pam-fi, Tue Feb 3 10:14:27 2009 UTC
# Line 627  void TrkTrack::SetStudentParam(int flag) Line 627  void TrkTrack::SetStudentParam(int flag)
627                     4.52043,                     4.52043,
628                     4.29926};                     4.29926};
629      int index;      int index;
630      float fact;      float fact=0.;
631      for(int i=0; i<6; i++) {      for(int i=0; i<6; i++) {
632          index = int((fabs(axv[i])+1.)/2.);          index = int((fabs(axv[i])+1.)/2.);
633          if(index>10) index=10;          if(index>10) index=10;
# Line 1848  TRefArray *TrkLevel2::GetTracks_NFitSort Line 1848  TRefArray *TrkLevel2::GetTracks_NFitSort
1848    
1849      if(!Track)return 0;      if(!Track)return 0;
1850    
1851      TRefArray *sorted = new TRefArray();      //    TRefArray *sorted = new TRefArray();
1852        TRefArray *sorted = NULL;
1853                    
1854      TClonesArray &t  = *Track;      TClonesArray &t  = *Track;
1855  //    TClonesArray &ts = *PhysicalTrack;  //    TClonesArray &ts = *PhysicalTrack;
# Line 1886  TRefArray *TrkLevel2::GetTracks_NFitSort Line 1887  TRefArray *TrkLevel2::GetTracks_NFitSort
1887                    
1888  //          cout << "i** "<< ((TrkTrack *)t[indi])->image << " " << nfiti <<" "<<chi2i<<endl;  //          cout << "i** "<< ((TrkTrack *)t[indi])->image << " " << nfiti <<" "<<chi2i<<endl;
1889          };          };
1890            if(!sorted)sorted = new TRefArray( TProcessID::GetProcessWithUID(t[indi]));
1891          sorted->Add( (TrkTrack*)t[indi] );                sorted->Add( (TrkTrack*)t[indi] );      
1892                                    
1893          m[indi] = 0;          m[indi] = 0;

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.52

  ViewVC Help
Powered by ViewVC 1.1.23