#include <LTQualCut.h>

Public Member Functions | |
| LTQualCut (const char *cutName, float threshold=4500) | |
| Constructor. | |
| ~LTQualCut () | |
| Destructor. | |
| int | Check (PamLevel2 *event) |
| The live time quality check. | |
| float | GetLT () |
| Returns the live time of the last examined event. | |
| LTQualCut::LTQualCut | ( | const char * | cutName, | |
| float | threshold = 4500 | |||
| ) | [inline] |
Constructor.
| cutName | The cut's name. | |
| threshold | The live time maximum accepted value in ms. It is the value above which a live time is considered invalid. It must be less than the trigger timeout on IDAQ board, which is ~ 4600 ms. Default is 4500 (use of different values must be justified). |
| int LTQualCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The live time quality check.
| event | The event to analyze. |
LT_INVALID if LT > timeout.
LT_NEWRUN if the event is at the beginning of the run.
Implements PamCut.
| float LTQualCut::GetLT | ( | ) | [inline] |
Returns the live time of the last examined event.
1.5.9