StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StJetMaker
tracks
StjTrackCutLastPoint.h
1
// -*- mode:c++ -*-
2
3
//
4
// Pibero Djawotho <pibero@tamu.edu>
5
// Texas A&M University
6
// 27 April 2010
7
//
8
9
//
10
// See http://www.star.bnl.gov/HyperNews-star/protected/get/jetfinding/992/1.html
11
//
12
13
#ifndef STJ_TRACK_CUT_LAST_POINT_H
14
#define STJ_TRACK_CUT_LAST_POINT_H
15
16
#include "StjTrackCut.h"
17
18
class
StjTrackCutLastPoint
:
public
StjTrackCut
{
19
public
:
20
StjTrackCutLastPoint
(
double
radius = 125) : _radius(radius) {}
21
22
bool
operator()(
const
StjTrack
&
track
)
const
{
return
track.lastPoint.Perp() <= _radius; }
23
24
private
:
25
double
_radius;
26
27
ClassDef(
StjTrackCutLastPoint
,0)
28
};
29
30
#endif // STJ_TRACK_CUT_LAST_POINT_H
track
Definition:
MapTableTest.C:38
StjTrackCut
Definition:
StjTrackCut.h:11
StjTrack
Definition:
StjTrackList.h:12
StjTrackCutLastPoint
Definition:
StjTrackCutLastPoint.h:18
Generated by
1.8.5