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