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