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
StjTrackCutEta.h
1
// -*- mode: c++;-*-
2
// $Id: StjTrackCutEta.h,v 1.2 2010/04/13 13:30:51 pibero Exp $
3
// Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4
#ifndef STJTRACKCUTETA_H
5
#define STJTRACKCUTETA_H
6
7
#include "StjTrackCut.h"
8
9
class
StjTrackCutEta
:
public
StjTrackCut
{
10
11
public
:
12
StjTrackCutEta
(
double
min = -2.0,
double
max = 2.0) :_min(min), _max(max) { }
13
virtual
~
StjTrackCutEta
() { }
14
15
bool
operator()(
const
StjTrack
&
track
)
const
16
{
17
if
(track.eta < _min)
return
true
;
18
19
if
(track.eta > _max)
return
true
;
20
21
return
false
;
22
}
23
24
private
:
25
26
double
_min;
27
double
_max;
28
29
ClassDef(
StjTrackCutEta
, 1)
30
31
};
32
33
#endif // STJTRACKCUTETA_H
StjTrackCutEta
Definition:
StjTrackCutEta.h:9
track
Definition:
MapTableTest.C:38
StjTrackCut
Definition:
StjTrackCut.h:11
StjTrack
Definition:
StjTrackList.h:12
Generated by
1.8.5