BOSS
6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkStoreHypo.cxx
Go to the documentation of this file.
1
// ------------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkStoreHypo.cxx,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4
//
5
// Description: TrkStoreHypo
6
//
7
// Copyright Information:
8
// Copyright (C) 2000 Lawrence Berkeley Laboratory
9
//
10
// Authors: Dave Brown, 11/20/00
11
//------------------------------------------------------------------------------
12
13
//#include "BaBar/BaBar.hh"
14
#include "
TrkBase/TrkStoreHypo.h
"
15
#include <math.h>
16
17
double
18
TrkStoreHypo::_flttol(1.0);
// call requests within this equivalent
19
20
bool
21
TrkStoreHypo::operator ==
(
const
TrkStoreHypo
& other)
const
{
22
return
_hypo == other._hypo && fabs(_fltlen-other._fltlen) < _flttol;
23
}
24
25
26
bool
27
TrkStoreHypo::operator <
(
const
TrkStoreHypo
& other)
const
{
28
if
(!
operator
==(other)){
29
if
(_hypo != other._hypo)
30
return
_hypo < other._hypo;
31
else
32
return
_fltlen < other._fltlen;
33
}
else
34
return
false
;
35
}
TrkStoreHypo.h
TrkStoreHypo
Definition:
TrkStoreHypo.h:19
TrkStoreHypo::operator<
bool operator<(const TrkStoreHypo &other) const
Definition:
TrkStoreHypo.cxx:27
TrkStoreHypo::operator==
bool operator==(const TrkStoreHypo &other) const
Definition:
TrkStoreHypo.cxx:21
source
Reconstruction
MdcPatRec
TrkBase
TrkBase-00-01-11
src
TrkStoreHypo.cxx
Generated by
1.9.6