00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef STJ_TRACK_CUT_LAST_POINT_H
00014 #define STJ_TRACK_CUT_LAST_POINT_H
00015
00016 #include "StjTrackCut.h"
00017
00018 class StjTrackCutLastPoint : public StjTrackCut {
00019 public:
00020 StjTrackCutLastPoint(double radius = 125) : _radius(radius) {}
00021
00022 bool operator()(const StjTrack& track) const { return track.lastPoint.Perp() <= _radius; }
00023
00024 private:
00025 double _radius;
00026
00027 ClassDef(StjTrackCutLastPoint,0)
00028 };
00029
00030 #endif // STJ_TRACK_CUT_LAST_POINT_H