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
tracks
StjTrackCutChi2.h
1
// -*- mode: c++ -*-
2
3
//
4
// Pibero Djawotho <pibero@tamu.edu>
5
// Texas A&M University
6
// 12 April 2010
7
//
8
9
#ifndef STJ_TRACK_CUT_CHI2_H
10
#define STJ_TRACK_CUT_CHI2_H
11
12
#include "StjTrackCut.h"
13
14
class
StjTrackCutChi2
:
public
StjTrackCut
{
15
public
:
16
StjTrackCutChi2
(
double
chi2min = 0,
double
chi2max = 4)
17
: _chi2min(chi2min)
18
, _chi2max(chi2max)
19
{
20
}
21
22
bool
operator()(
const
StjTrack
&
track
)
const
23
{
24
return
track.chi2 < _chi2min || track.chi2 > _chi2max;
25
}
26
27
private
:
28
double
_chi2min;
29
double
_chi2max;
30
31
ClassDef(
StjTrackCutChi2
,1);
32
};
33
34
#endif // STJ_TRACK_CUT_CHI2_H
track
Definition:
MapTableTest.C:38
StjTrackCutChi2
Definition:
StjTrackCutChi2.h:14
StjTrackCut
Definition:
StjTrackCut.h:11
StjTrack
Definition:
StjTrackList.h:12
Generated by
1.8.5