CGEM BOSS 6.6.5.i
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"
15#include <math.h>
16
17double
18TrkStoreHypo::_flttol(1.0); // call requests within this equivalent
19
20bool
22 return _hypo == other._hypo && fabs(_fltlen-other._fltlen) < _flttol;
23}
24
25
26bool
27TrkStoreHypo::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}
bool operator<(const TrkStoreHypo &other) const
bool operator==(const TrkStoreHypo &other) const