Public Member Functions | Private Attributes | List of all members
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 1014 of file Cluster3D_module.cc.

Constructor & Destructor Documentation

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

Definition at line 1016 of file Cluster3D_module.cc.

1016 : m_maxRange(maxRange) {}

Member Function Documentation

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

Definition at line 1019 of file Cluster3D_module.cc.

1020  {
1021  return hit3D->getDocaToAxis() < m_maxRange;
1022  }
float getDocaToAxis() const
Definition: Cluster3D.h:169

Member Data Documentation

float lar_cluster3d::CopyIfInRange::m_maxRange
private

Definition at line 1025 of file Cluster3D_module.cc.


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