00001
00002
00003
00004 #ifndef STJDIJETCUTSAMESIDERT_H
00005 #define STJDIJETCUTSAMESIDERT_H
00006
00007 #include "StjDijetCut.h"
00008
00009 #include "StjJetCutRt.h"
00010
00011 class StjDijetCutSameSideRt : public StjDijetCut {
00012
00013 public:
00014 StjDijetCutSameSideRt(double min = 0.0, double max = 1.0)
00015 : _jetcut(min, max) { }
00016 virtual ~StjDijetCutSameSideRt() { }
00017
00018 bool operator()(const StjDijet& dijet)
00019 {
00020 if(_jetcut(dijet.jetSameSide)) return true;
00021
00022 return false;
00023 }
00024
00025 private:
00026
00027 StjJetCutRt _jetcut;
00028
00029 ClassDef(StjDijetCutSameSideRt, 1)
00030
00031 };
00032
00033 #endif // STJDIJETCUTSAMESIDERT_H