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
StjTrackCutPt.h
1
// -*- mode:c++ -*-
2
//
3
// Pibero Djawotho <pibero@tamu.edu>
4
// Texas A&M University
5
// 28 May 2010
6
//
7
8
#ifndef STJ_TRACK_CUT_PT_H
9
#define STJ_TRACK_CUT_PT_H
10
11
#include "StjTrackCut.h"
12
13
class
StjTrackCutPt
:
public
StjTrackCut
{
14
public
:
15
StjTrackCutPt
(
double
ptmin,
double
ptmax) : _ptMin(ptmin), _ptMax(ptmax) {}
16
17
bool
operator()(
const
StjTrack
&
track
)
const
18
{
19
return
track.pt <= _ptMin || track.pt >= _ptMax;
20
}
21
22
private
:
23
double
_ptMin;
24
double
_ptMax;
25
26
ClassDef(
StjTrackCutPt
,0);
27
};
28
29
#endif // STJ_TRACK_CUT_PT_H
track
Definition:
MapTableTest.C:38
StjTrackCut
Definition:
StjTrackCut.h:11
StjTrackCutPt
Definition:
StjTrackCutPt.h:13
StjTrack
Definition:
StjTrackList.h:12
Generated by
1.8.5