LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_cluster3d::SetStartTimeOrder Struct Reference

Public Member Functions

bool operator() (const SnippetHitMapItrPair &left, const SnippetHitMapItrPair &right) const
 

Detailed Description

Definition at line 527 of file SnippetHit3DBuilder_tool.cc.

Member Function Documentation

bool lar_cluster3d::SetStartTimeOrder::operator() ( const SnippetHitMapItrPair left,
const SnippetHitMapItrPair right 
) const
inline

Definition at line 528 of file SnippetHit3DBuilder_tool.cc.

529  {
530  // Special case handling, there is nothing to compare for the left or right
531  if (left.first == left.second) return false;
532  if (right.first == right.second) return true;
533 
534  // de-referencing a bunch of pairs here...
535  return left.first->first.first < right.first->first.first;
536  }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:102
constexpr auto const & left(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:94

The documentation for this struct was generated from the following file: