11 |
|
|
12 |
int TrkHitQualCut::Check(PamLevel2 *event) { |
int TrkHitQualCut::Check(PamLevel2 *event) { |
13 |
|
|
14 |
TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack(); |
if(event->GetNTracks(_trkAlg)==0)return 0; |
15 |
|
|
16 |
|
// TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack(); |
17 |
|
ExtTrack *trkTrack = event->GetTrack(0,_trkAlg)->GetExtTrack(); |
18 |
|
|
19 |
if (trkTrack->GetNX() < _xMinHit || // minimum number of X planes included in the track |
if (trkTrack->GetNX() < _xMinHit || // minimum number of X planes included in the track |
20 |
trkTrack->GetNY() < _yMinHit || // minimum number of Y planes included in the track |
trkTrack->GetNY() < _yMinHit || // minimum number of Y planes included in the track |