381 |
int first_plane = -1; |
int first_plane = -1; |
382 |
int last_plane = -1; |
int last_plane = -1; |
383 |
for(Int_t ip=0; ip<6; ip++){ |
for(Int_t ip=0; ip<6; ip++){ |
384 |
if( XGood(ip)*YGood(ip) && first_plane == -1 )first_plane = ip; |
if( XGood(ip) && YGood(ip) && first_plane == -1 )first_plane = ip; |
385 |
if( XGood(ip)*YGood(ip) && first_plane != -1 )last_plane = ip; |
if( XGood(ip) && YGood(ip) && first_plane != -1 )last_plane = ip; |
386 |
} |
} |
387 |
if( first_plane == -1 || last_plane == -1){ |
if( first_plane == -1 || last_plane == -1){ |
388 |
cout<< "Int_t TrkTrack::GetLeverArmXY() -- XGood(ip)*YGood(ip) always false ??? "<<endl; |
cout<< "Int_t TrkTrack::GetLeverArmXY() -- XGood(ip)*YGood(ip) always false ??? "<<endl; |
1584 |
// |
// |
1585 |
// |
// |
1586 |
//-------------------------------------- |
//-------------------------------------- |
1587 |
|
void TrkLevel2::SetTrackArray(TClonesArray *track){ |
1588 |
|
if(track && strcmp(track->GetClass()->GetName(),"TrkTrack")==0){ |
1589 |
|
if(Track)Track->Clear("C"); |
1590 |
|
Track = track; |
1591 |
|
} |
1592 |
|
} |
1593 |
|
//-------------------------------------- |
1594 |
|
// |
1595 |
|
// |
1596 |
|
//-------------------------------------- |
1597 |
void TrkLevel2::Dump(){ |
void TrkLevel2::Dump(){ |
1598 |
|
|
1599 |
// |
// |