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