#include <TrkCalQualCut.h>
Public Member Functions | |
TrkCalQualCut (const char *cutName) | |
Constructor. | |
~TrkCalQualCut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The tracker calibration quality check. | |
int | GetCalibration () |
Returns the calibration type of the last examined event. | |
Private Attributes | |
int | _calibration |
Definition at line 24 of file TrkCalQualCut.h.
TrkCalQualCut::TrkCalQualCut | ( | const char * | cutName | ) | [inline] |
TrkCalQualCut::~TrkCalQualCut | ( | ) | [inline] |
int TrkCalQualCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The tracker calibration quality check.
This method checks the calibration of the event and updates the calibration information returned by GetCalibration
event | The event to analyze. |
TRKCAL_BAD otherwise.
Implements PamCut.
Definition at line 12 of file TrkCalQualCut.cpp.
References _calibration, CUTOK, TRKCAL_BAD, TRKCAL_DEFAULT, and TRKCAL_ONLINE.
int TrkCalQualCut::GetCalibration | ( | ) | [inline] |
Returns the calibration type of the last examined event.
TRKCAL_ONLINE if the event uses a validated online calibration.
TRKCAL_DEFAULT if the event uses the default calibration.
Definition at line 27 of file TrkCalQualCut.cpp.
References _calibration.
int TrkCalQualCut::_calibration [private] |