00001
00002
00003
00004 #ifndef STJJETCUTDETECTORETA_H
00005 #define STJJETCUTDETECTORETA_H
00006
00007 #include "StjJetCut.h"
00008
00009 class StjJetCutDetectorEta : public StjJetCut {
00010
00011 public:
00012 StjJetCutDetectorEta(double min = -10.0, double max = 10.0) :_min(min), _max(max) { }
00013 virtual ~StjJetCutDetectorEta() { }
00014
00015 bool operator()(const StjJet& jet)
00016 {
00017 if(jet.detectorEta < _min) return true;
00018
00019 if(jet.detectorEta > _max) return true;
00020
00021 return false;
00022 }
00023
00024 private:
00025
00026 double _min;
00027 double _max;
00028
00029 ClassDef(StjJetCutDetectorEta, 1)
00030
00031 };
00032
00033 #endif // STJJETCUTDETECTORETA_H