#include <TrkSigmaDeflCut.h>
Public Member Functions | |
TrkSigmaDeflCut (const char *cutName, std::vector< float > binning) | |
Constructor. | |
TrkSigmaDeflCut (const char *cutName, const char *rigBinListFileName) | |
Constructor. | |
~TrkSigmaDeflCut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The sigma_deflection check. |
This cut discards an event if its sigma_deflection (defined as sqrt(coval[4][4]), in GV^-1) is not less than the minimum deflection for the bin which contains the event deflection modulus (deflection of the first TRK track).
TrkSigmaDeflCut::TrkSigmaDeflCut | ( | const char * | cutName, | |
std::vector< float > | binning | |||
) | [inline] |
Constructor.
cutName | The cut's name. | |
binning | A vector containing the histogram binning in rigidity. Note that it must contain both the upper and lower limits, and that the elements must be ordered (ie., lowest rigidity value in the first element and so on). |
TrkSigmaDeflCut::TrkSigmaDeflCut | ( | const char * | cutName, | |
const char * | rigBinListFileName | |||
) |
Constructor.
cutName | The cut's name. | |
rigBinListFileName | A text file containing the histogram binning. Note that it must contain both the upper and lower limits, and that the elements must be ordered (ie., lowest rigidity value in the first element and so on). |
int TrkSigmaDeflCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The sigma_deflection check.
The event is discarded if its deflection is less than the lower histogram limit or higher than the upper limit. The event is also discarded if its sigma_deflection is not less than the minimum deflection for the bin which contains the event deflection modulus.
event | The event to analyze. |
0 otherwise.
Implements PamCut.