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