00001
00002
00003
00004
00005
00006
00007
00010 #ifndef OBTQUALCUT_H_
00011 #define OBTQUALCUT_H_
00012
00013 #include "../../PamCutBase/PamCutBase.h"
00014
00016 enum OBT_Return {
00017 OBT_NEWRUN,
00018 OBT_INVALID
00019 };
00020
00021 using std::numeric_limits;
00028 class OBTQualCut: public PamCut {
00029
00030 public:
00032 OBTQualCut(const char *cutName) :
00033 PamCut(cutName), _previousOBT(numeric_limits<UInt_t>::max()), _previousRun(numeric_limits<UInt_t>::max()) {
00034 }
00036 ~OBTQualCut() {
00037 }
00038
00046 int Check(PamLevel2 *event);
00047
00048 private:
00049 UInt_t _previousOBT;
00050 UInt_t _previousRun;
00051
00052 };
00053
00054 #endif