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

#include <IDiffusion.h>

Public Member Functions

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

Detailed Description

Definition at line 58 of file IDiffusion.h.

Member Function Documentation

bool WireCell::IDiffusionCompareLbegin::operator() ( const IDiffusion::pointer lhs,
const IDiffusion::pointer rhs 
) const
inline

Definition at line 59 of file IDiffusion.h.

59  {
60  if (lhs->lbegin() == rhs->lbegin()) {
61  return lhs.get() < rhs.get(); // break tie with pointer
62  }
63  return lhs->lbegin() < rhs->lbegin();
64  }

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