LArSoft  v07_13_02
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 933 of file Cluster3D_module.cc.

Constructor & Destructor Documentation

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

Definition at line 936 of file Cluster3D_module.cc.

936 : m_maxRange(maxRange) {}

Member Function Documentation

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

Definition at line 938 of file Cluster3D_module.cc.

References reco::ClusterHit3D::getDocaToAxis().

939  {
940  return hit3D->getDocaToAxis() < m_maxRange;
941  }
float getDocaToAxis() const
Definition: Cluster3D.h:156

Member Data Documentation

float lar_cluster3d::CopyIfInRange::m_maxRange
private

Definition at line 943 of file Cluster3D_module.cc.


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