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
jets
StjJetCutRt.h
1
// -*- mode: c++;-*-
2
// $Id: StjJetCutRt.h,v 1.1 2008/09/12 22:32:59 tai Exp $
3
// Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4
#ifndef STJJETCUTRT_H
5
#define STJJETCUTRT_H
6
7
#include "StjJetCut.h"
8
9
class
StjJetCutRt
:
public
StjJetCut
{
10
11
public
:
12
StjJetCutRt
(
double
min = 0.0,
double
max = 1.0) : _min(min), _max(max) { }
13
virtual
~
StjJetCutRt
() { }
14
15
bool
operator()(
const
StjJet
& jet)
16
{
17
if
(jet.neuRt < _min)
return
true
;
18
19
if
(jet.neuRt > _max)
return
true
;
20
21
return
false
;
22
}
23
24
private
:
25
26
double
_min;
27
double
_max;
28
29
ClassDef(
StjJetCutRt
, 1)
30
31
};
32
33
#endif // STJJETCUTRT_H
StjJet
Definition:
StjJetList.h:15
StjJetCut
Definition:
StjJetCut.h:11
StjJetCutRt
Definition:
StjJetCutRt.h:9
Generated by
1.8.5