LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_cluster3d::CopyIfInRange Class Reference

Public Member Functions

 CopyIfInRange (float maxRange)
 
bool operator() (const reco::ClusterHit3D *hit3D) const
 

Private Attributes

float m_maxRange
 

Detailed Description

Definition at line 810 of file Cluster3D_module.cc.

Constructor & Destructor Documentation

lar_cluster3d::CopyIfInRange::CopyIfInRange ( float  maxRange)
inline

Definition at line 812 of file Cluster3D_module.cc.

812 : m_maxRange(maxRange) {}

Member Function Documentation

bool lar_cluster3d::CopyIfInRange::operator() ( const reco::ClusterHit3D hit3D) const
inline

Definition at line 814 of file Cluster3D_module.cc.

References reco::ClusterHit3D::getDocaToAxis().

815  {
816  return hit3D->getDocaToAxis() < m_maxRange;
817  }
float getDocaToAxis() const
Definition: Cluster3D.h:166

Member Data Documentation

float lar_cluster3d::CopyIfInRange::m_maxRange
private

Definition at line 820 of file Cluster3D_module.cc.


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