#include <TrkChi2DeflCut.h>
Public Member Functions | |
TrkChi2DeflCut (const char *cutName, float p0, float p1, float p2) | |
Constructor. | |
~TrkChi2DeflCut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The tracker chi2 vs deflection check. |
Events whose track has been fitted with a chi2 greater than Chi2(eta) are discarded. Chi2(eta) is a function which gives the maximum value of chi2 associated to a certain deflection eta; in current implementation it is parameterized as:
Chi2(eta) = p0 + p1 * eta^2 + p2 * eta ^4
where p0, p1 and p2 are parameters.
TrkChi2DeflCut::TrkChi2DeflCut | ( | const char * | cutName, | |
float | p0, | |||
float | p1, | |||
float | p2 | |||
) | [inline] |
Constructor.
cutName | The cut's name. | |
p0 | The constant term in Chi2(eta). | |
p1 | The coefficient or the quadratic term in Chi2(eta). | |
p2 | The coefficient or the quartic term in Chi2(eta). |
int TrkChi2DeflCut::Check | ( | PamLevel2 * | event | ) | [virtual] |