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