| 12 |
int LTQualCut::Check(PamLevel2 *event) { |
int LTQualCut::Check(PamLevel2 *event) { |
| 13 |
// NOTE: run_id is not generally increasing with time. |
// NOTE: run_id is not generally increasing with time. |
| 14 |
|
|
| 15 |
if (event->GetRunInfo()->ID != _previousRun) { |
// if (event->GetRunInfo()->ID != _previousRun) { |
| 16 |
_previousRun = event->GetRunInfo()->ID; |
// _previousRun = event->GetRunInfo()->ID; |
| 17 |
_LT = -1.; |
// _LT = -1.; |
| 18 |
return LT_NEWRUN; |
// return LT_NEWRUN; |
| 19 |
} |
// } |
| 20 |
|
|
| 21 |
_LT = 0.16 * (float) (event->GetTrigLevel2()->dltime[0]); // this gives LT in ms |
_LT = 0.16 * (float) (event->GetTrigLevel2()->dltime[0]); // this gives LT in ms |
| 22 |
|
|