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