00001
00002
00003
00004 #ifndef STJFOURVECCUTTRGBJP_H
00005 #define STJFOURVECCUTTRGBJP_H
00006
00007 #include "StjFourVecCut.h"
00008
00009 #include <vector>
00010
00011 class StjTrg;
00012 class StjTrgBEMCJetPatchTowerIdMap;
00013
00014 class StjFourVecCutTrgBJP : public StjFourVecCut {
00015
00016 public:
00017 StjFourVecCutTrgBJP(StjTrg* trg, StjTrgBEMCJetPatchTowerIdMap* jetPatchTowerMap)
00018 : _trg(trg), _jetPatchTowerMap(jetPatchTowerMap) { }
00019 virtual ~StjFourVecCutTrgBJP() { }
00020
00021 bool operator()(const StjFourVec& p4);
00022
00023 private:
00024
00025 std::vector<int> getTowersFor(const std::vector<int>& jetPatches);
00026
00027 StjTrg* _trg;
00028
00029 StjTrgBEMCJetPatchTowerIdMap* _jetPatchTowerMap;
00030
00031 ClassDef(StjFourVecCutTrgBJP, 1)
00032
00033 };
00034
00035 #endif // STJFOURVECCUTTRGBJP_H