|
ATLAS Offline Software
|
Go to the documentation of this file.
30 template <
typename T>
bool cmp(
const T&
a,
const T &
b);
36 template <
typename T>
bool vcmp(
37 const std::vector<T> &
a,
const std::vector<T> &
b)
39 return equal(
a.begin(),
a.end(),
b.begin(),cmp<T>);
46 template <
typename T>
bool vvcmp(
47 const std::vector<std::vector<T> > &
a,
48 const std::vector<std::vector<T> > &
b)
50 return equal(
a.begin(),
a.end(),
b.begin(),vcmp<T>);
bool vvcmp(const std::vector< std::vector< T > > &a, const std::vector< std::vector< T > > &b)
Compare vectors using vcmp predicate.
bool cmp(const double &a, const double &b)
bool equal(double a, double b)
Compare two FP numbers, working around x87 precision issues.
The namespace of all packages in PhysicsAnalysis/JetTagging.
bool vcmp(const std::vector< T > &a, const std::vector< T > &b)
Compare vectors using cmp predicate.