00001
00002
00003
00004 #ifndef STJDIJETCUTTRGBJP_H
00005 #define STJDIJETCUTTRGBJP_H
00006
00007 #include "StjDijetCut.h"
00008
00009 #include "StjJetCutTrgBJP.h"
00010
00011 class StjTrg;
00012 class StjTrgBEMCJetPatchTowerIdMap;
00013
00014 class StjDijetCutTrgBJP : public StjDijetCut {
00015
00016 public:
00017 StjDijetCutTrgBJP(StjTrg* trg, StjTrgBEMCJetPatchTowerIdMap* jetPatchTowerMap)
00018 : _jetCut(trg, jetPatchTowerMap) { }
00019 virtual ~StjDijetCutTrgBJP() { }
00020
00021 bool operator()(const StjDijet& dijet)
00022 {
00023 if(_jetCut(dijet.jet3) && _jetCut(dijet.jet4)) return true;
00024
00025 return false;
00026 }
00027
00028 private:
00029
00030 StjJetCutTrgBJP _jetCut;
00031
00032 ClassDef(StjDijetCutTrgBJP, 1)
00033
00034 };
00035
00036 #endif // STJDIJETCUTTRGBJP_H