LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
lar_cluster3d::CopyIfInRange Class Reference

Public Member Functions

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

Private Attributes

float m_maxRange
 

Detailed Description

Definition at line 910 of file Cluster3D_module.cc.

Constructor & Destructor Documentation

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

Definition at line 913 of file Cluster3D_module.cc.

913 : m_maxRange(maxRange) {}

Member Function Documentation

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

Definition at line 915 of file Cluster3D_module.cc.

References reco::ClusterHit3D::getDocaToAxis().

916  {
917  return hit3D->getDocaToAxis() < m_maxRange;
918  }
float getDocaToAxis() const
Definition: Cluster3D.h:154

Member Data Documentation

float lar_cluster3d::CopyIfInRange::m_maxRange
private

Definition at line 920 of file Cluster3D_module.cc.


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