Public Member Functions | List of all members
lar_cluster3d::SetStartTimeOrder Class Reference

Public Member Functions

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

Detailed Description

Definition at line 511 of file SnippetHit3DBuilder_tool.cc.

Constructor & Destructor Documentation

lar_cluster3d::SetStartTimeOrder::SetStartTimeOrder ( )
inline

Definition at line 514 of file SnippetHit3DBuilder_tool.cc.

514 {}

Member Function Documentation

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

Definition at line 516 of file SnippetHit3DBuilder_tool.cc.

517  {
518  // Special case handling, there is nothing to compare for the left or right
519  if (left.first == left.second) return false;
520  if (right.first == right.second) return true;
521 
522  // de-referencing a bunch of pairs here...
523  return left.first->first.first < right.first->first.first;
524  }

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