#include <AbsTimeCut.h>

Public Member Functions | |
| AbsTimeCut (const char *cutName, const char *initDate, const char *initTime, const char *endDate, const char *endTime) | |
| Constructor. | |
| ~AbsTimeCut () | |
| Destructor. | |
| int | Check (PamLevel2 *event) |
| The absolute time check. | |
This selection rejects all events recorded outside a certain time interval.
| AbsTimeCut::AbsTimeCut | ( | const char * | cutName, | |
| const char * | initDate, | |||
| const char * | initTime, | |||
| const char * | endDate, | |||
| const char * | endTime | |||
| ) | [inline] |
Constructor.
The parameters define the time interval. They have to be encoded as 6-digits numbers, eg.: 18 March 2008 15:30:00 will be encoded as 080318 for the date and as 153000 for the time.
| cutName | The cut's name | |
| initDate | The initial date (format: YYMMDD). | |
| initTime | The initial time (format: hhmmss). | |
| endDate | The final date (format: YYMMDD);. | |
| endTime | The final time (format: hhmmss). |
| int AbsTimeCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The absolute time check.
| event | The event to analyze. |
ABSTIMECUT_TOOEARLY if the event happened before the begin of the time interval.
ABSTIMECUT_TOOLATE if the event happened after the end of the time interval.
Implements PamCut.
1.5.9