/[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.41 by pam-fi, Tue Nov 27 11:43:50 2007 UTC revision 1.42 by pam-fi, Tue Nov 27 15:28:57 2007 UTC
# Line 727  void TrkTrack::SetFromMiniStruct(cMini2t Line 727  void TrkTrack::SetFromMiniStruct(cMini2t
727   */   */
728  Bool_t TrkTrack::EvaluateClusterPositions(){  Bool_t TrkTrack::EvaluateClusterPositions(){
729            
730  //     cout << "void TrkTrack::GetClusterPositions() "<<endl;  //     cout << "void TrkTrack::GetClusterositions() "<<endl;
731    
732      TrkParams::Load( );      TrkParams::Load( );
733      if( !TrkParams::IsLoaded() )return false;      if( !TrkParams::IsLoaded() )return false;
# Line 1485  TRefArray *TrkLevel2::GetTracks_NFitSort Line 1485  TRefArray *TrkLevel2::GetTracks_NFitSort
1485  TrkTrack *TrkLevel2::GetStoredTrack(int is){  TrkTrack *TrkLevel2::GetStoredTrack(int is){
1486    
1487      if(is >= this->ntrk()){      if(is >= this->ntrk()){
1488          cout << "** TrkLevel2 ** Track "<< is << "doen not exits! " << endl;          cout << "TrkTrack *TrkLevel2::GetStoredTrack(int) >> Track "<< is << "doen not exits! " << endl;
1489          cout << "                Stored tracks ntrk() = "<< this->ntrk() << endl;          cout << "Stored tracks ntrk() = "<< this->ntrk() << endl;
1490          return 0;          return 0;
1491      }      }
1492      if(!Track){      if(!Track){
# Line 1507  TrkTrack *TrkLevel2::GetStoredTrack(int Line 1507  TrkTrack *TrkLevel2::GetStoredTrack(int
1507  TrkSinglet *TrkLevel2::GetSingletX(int is){  TrkSinglet *TrkLevel2::GetSingletX(int is){
1508    
1509          if(is >= this->nclsx()){          if(is >= this->nclsx()){
1510                  cout << "** TrkLevel2 ** Singlet "<< is << "doen not exits! " << endl;                  cout << "TrkSinglet *TrkLevel2::GetSingletX(int) >> Singlet "<< is << "doen not exits! " << endl;
1511                  cout << "                Stored x-singlets nclsx() = "<< this->nclsx() << endl;                  cout << "Stored x-singlets nclsx() = "<< this->nclsx() << endl;
1512                  return 0;                  return 0;
1513          }          }
1514          if(!SingletX)return 0;          if(!SingletX)return 0;
# Line 1527  TrkSinglet *TrkLevel2::GetSingletX(int i Line 1527  TrkSinglet *TrkLevel2::GetSingletX(int i
1527  TrkSinglet *TrkLevel2::GetSingletY(int is){  TrkSinglet *TrkLevel2::GetSingletY(int is){
1528    
1529          if(is >= this->nclsy()){          if(is >= this->nclsy()){
1530                  cout << "** TrkLevel2 ** Singlet "<< is << "doen not exits! " << endl;                  cout << "TrkSinglet *TrkLevel2::GetSingletY(int) >> Singlet "<< is << "doen not exits! " << endl;
1531                  cout << "                Stored y-singlets nclsy() = "<< this->nclsx() << endl;                  cout << "Stored y-singlets nclsx() = "<< this->nclsx() << endl;
1532                  return 0;                  return 0;
1533          }          }
1534          if(!SingletY)return 0;          if(!SingletY)return 0;
# Line 1548  TrkSinglet *TrkLevel2::GetSingletY(int i Line 1548  TrkSinglet *TrkLevel2::GetSingletY(int i
1548  TrkTrack *TrkLevel2::GetTrack(int it){  TrkTrack *TrkLevel2::GetTrack(int it){
1549            
1550          if(it >= this->GetNTracks()){          if(it >= this->GetNTracks()){
1551                  cout << "** TrkLevel2 ** Track "<< it << "does not exits! " << endl;                  cout << "TrkTrack *TrkLevel2::GetTrack(int) >> Track "<< it << "does not exits! " << endl;
1552                  cout << "                Physical tracks GetNTracks() = "<< this->ntrk() << endl;                  cout << "Physical tracks GetNTracks() = "<< this->ntrk() << endl;
1553                  return 0;                  return 0;
1554          }          }
1555                    
# Line 1586  Int_t TrkLevel2::GetNTracks(){ Line 1586  Int_t TrkLevel2::GetNTracks(){
1586  TrkTrack *TrkLevel2::GetTrackImage(int it){  TrkTrack *TrkLevel2::GetTrackImage(int it){
1587    
1588      if(it >= this->GetNTracks()){      if(it >= this->GetNTracks()){
1589          cout << "** TrkLevel2 ** Track "<< it << "does not exits! " << endl;          cout << "TrkTrack *TrkLevel2::GetTrackImage(int) >> Track "<< it << "does not exits! " << endl;
1590          cout << "                Physical tracks GetNTracks() = "<< this->ntrk() << endl;          cout << "Physical tracks GetNTracks() = "<< this->ntrk() << endl;
1591          return 0;          return 0;
1592      }      }
1593                    
# Line 1596  TrkTrack *TrkLevel2::GetTrackImage(int i Line 1596  TrkTrack *TrkLevel2::GetTrackImage(int i
1596      TrkTrack *track = (TrkTrack*)sorted->At(it);      TrkTrack *track = (TrkTrack*)sorted->At(it);
1597                    
1598      if(!track->HasImage()){      if(!track->HasImage()){
1599          cout << "** TrkLevel2 ** Track "<< it << "does not have image! " << endl;          cout << "TrkTrack *TrkLevel2::GetTrackImage(int) >> Track "<< it << "does not have image! " << endl;
1600          return 0;          return 0;
1601      }      }
1602      if(!Track)return 0;      if(!Track)return 0;

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

  ViewVC Help
Powered by ViewVC 1.1.23