| 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; |
| 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){ |
| 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; |
| 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; |
| 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 |
|
|
| 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 |
|
|
| 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; |