BOSS
8.0.0
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
TrkStoreHypo::_flttol( 1.0 );
// call requests within this equivalent
18
19
bool
TrkStoreHypo::operator==
(
const
TrkStoreHypo
& other )
const
{
20
return
_hypo == other._hypo && fabs( _fltlen - other._fltlen ) < _flttol;
21
}
22
23
bool
TrkStoreHypo::operator<
(
const
TrkStoreHypo
& other )
const
{
24
if
( !
operator
==( other ) )
25
{
26
if
( _hypo != other._hypo )
return
_hypo < other._hypo;
27
else
return
_fltlen < other._fltlen;
28
}
29
else
return
false
;
30
}
TrkStoreHypo::operator<
bool operator<(const TrkStoreHypo &other) const
Definition
TrkStoreHypo.cxx:23
TrkStoreHypo::operator==
bool operator==(const TrkStoreHypo &other) const
Definition
TrkStoreHypo.cxx:19
TrkStoreHypo::TrkStoreHypo
TrkStoreHypo()
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/TrkBase/TrkStoreHypo.h:22
8.0.0
BOSS_Source
Reconstruction
MdcPatRec
TrkBase
src
TrkStoreHypo.cxx
Generated by
1.16.1