ATLAS Offline Software
Loading...
Searching...
No Matches
DataPoint.icc
Go to the documentation of this file.
1//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2// 07.06.2008, AUTHOR: OLIVER KORTNER
3//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4
5//:::::::::::::::::::::::::::::::::::::::::::::::::::
6//:: INLINE METHODS DEFINED IN THE CLASS DataPoint ::
7//:::::::::::::::::::::::::::::::::::::::::::::::::::
8
9//*****************************************************************************
10
11//::::::::::::::::
12//:: OPERATOR < ::
13//::::::::::::::::
14
15inline bool DataPoint::operator < (const DataPoint & point) const {
16
17 return m_vec[m_ref_comp]<point.dataVector()[m_ref_comp];
18
19}
20
21//*****************************************************************************
22
23//::::::::::::::::
24//:: OPERATOR > ::
25//::::::::::::::::
26
27inline bool DataPoint::operator > (const DataPoint & point) const {
28
29 return m_vec[m_ref_comp]>point.dataVector()[m_ref_comp];
30
31}
32
33//*****************************************************************************
34
35//:::::::::::::::::
36//:: OPERATOR <= ::
37//:::::::::::::::::
38
39inline bool DataPoint::operator <= (const DataPoint & point) const {
40
41 return m_vec[m_ref_comp]<=point.dataVector()[m_ref_comp];
42
43}
44
45//*****************************************************************************
46
47//:::::::::::::::::
48//:: OPERATOR >= ::
49//:::::::::::::::::
50
51inline bool DataPoint::operator >= (const DataPoint & point) const {
52
53 return m_vec[m_ref_comp]>=point.dataVector()[m_ref_comp];
54
55}
56
57//*****************************************************************************
58
59//:::::::::::::::::
60//:: OPERATOR == ::
61//:::::::::::::::::
62
63inline bool DataPoint::operator == (const DataPoint & point) const {
64
65 return m_vec[m_ref_comp]==point.dataVector()[m_ref_comp];
66
67}