#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. | |
Private Attributes | |
| unsigned int | _previousRun |
| float | _LT |
| float | _timeout |
Definition at line 24 of file LTQualCut.h.
| 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). |
Definition at line 34 of file LTQualCut.h.
| LTQualCut::~LTQualCut | ( | ) | [inline] |
| 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.
Definition at line 12 of file LTQualCut.cpp.
References _LT, _previousRun, _timeout, CUTOK, LT_INVALID, and LT_NEWRUN.
| float LTQualCut::GetLT | ( | ) | [inline] |
Returns the live time of the last examined event.
Definition at line 54 of file LTQualCut.h.
References _LT.
float LTQualCut::_LT [private] |
unsigned int LTQualCut::_previousRun [private] |
float LTQualCut::_timeout [private] |
1.5.9