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

What follows are several highly useful typedefs which we want to expose to the outside world. More...

Public Member Functions

bool operator() (const reco::ClusterHit2D *, const reco::ClusterHit2D *) const
 
bool operator() (const reco::ClusterHit2D *, const reco::ClusterHit2D *) const
 

Detailed Description

What follows are several highly useful typedefs which we want to expose to the outside world.

Definition at line 59 of file SnippetHit3DBuilder_tool.cc.

Member Function Documentation

bool lar_cluster3d::Hit2DSetCompare::operator() ( const reco::ClusterHit2D ,
const reco::ClusterHit2D  
) const
bool lar_cluster3d::Hit2DSetCompare::operator() ( const reco::ClusterHit2D left,
const reco::ClusterHit2D right 
) const

Definition at line 1580 of file SnippetHit3DBuilder_tool.cc.

References reco::ClusterHit2D::getHit(), and recob::Hit::PeakTime().

Referenced by lar_cluster3d::StandardHit3DBuilder::DistanceFromPointToHitWire().

1582  {
1583  return left->getHit()->PeakTime() < right->getHit()->PeakTime();
1584  }
const recob::Hit * getHit() const
Definition: Cluster3D.h:77
float PeakTime() const
Time of the signal peak, in tick units.
Definition: Hit.h:220

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