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