Public Member Functions | List of all members
WireCell::IWireCompareSegment Struct Reference

#include <IWire.h>

Public Member Functions

bool operator() (const IWire::pointer &lhs, const IWire::pointer &rhs) const
 

Detailed Description

Definition at line 81 of file IWire.h.

Member Function Documentation

bool WireCell::IWireCompareSegment::operator() ( const IWire::pointer lhs,
const IWire::pointer rhs 
) const
inline

Definition at line 82 of file IWire.h.

82  {
83  if (lhs->segment() == rhs->segment()) {
84  return lhs.get() < rhs.get(); // break tie with pointer
85  }
86  return lhs->segment() < rhs->segment();
87  }

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