7 |
|
|
8 |
#include "TrkChi2DeflTimeCut.h" |
#include "TrkChi2DeflTimeCut.h" |
9 |
|
|
10 |
|
double TrkChi2DeflTimeCut::_GetChi2(PamLevel2 *event){ |
11 |
|
return event->GetTrack(0)->GetTrkTrack()->chi2; |
12 |
|
} |
13 |
|
|
14 |
int TrkChi2DeflTimeCut::Check(PamLevel2 *event) { |
int TrkChi2DeflTimeCut::Check(PamLevel2 *event) { |
15 |
|
|
16 |
Double_t chi2 = event->GetTrack(0)->GetTrkTrack()->chi2; |
double chi2 = _GetChi2(event); |
17 |
if (chi2 < 0.) |
if (chi2 < 0.) |
18 |
return 0; |
return 0; |
19 |
Double_t eta2 = event->GetTrack(0)->GetTrkTrack()->GetDeflection(); //Sign doesn't matter |
Double_t eta2 = event->GetTrack(0)->GetTrkTrack()->GetDeflection(); //Sign doesn't matter |