00001
00002
00003
00004 #ifndef STJJETLISTCUT_H
00005 #define STJJETLISTCUT_H
00006
00007 #include <TObject.h>
00008
00009 #include "StjJetCut.h"
00010
00011 #include "StjJetList.h"
00012
00013 class StjJetListCut : public TObject {
00014
00015 public:
00016 StjJetListCut() { }
00017 virtual ~StjJetListCut() { }
00018
00019 StjJetList operator()(const StjJetList& fourList);
00020
00021 void addCut(StjJetCut* cut) {
00022 _cutList.push_back(cut);
00023 }
00024
00025 typedef std::vector<StjJetCut*> CutList;
00026 CutList getCutList() { return _cutList; }
00027
00028 private:
00029
00030 bool shouldNotKeep(const StjJet& p4);
00031
00032 CutList _cutList;
00033
00034 ClassDef(StjJetListCut, 1)
00035
00036 };
00037
00038 #endif // STJJETLISTCUT_H