LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
compare_to_value Struct Reference

Public Member Functions

 compare_to_value (int b)
 
bool operator() (int i, int j)
 

Public Attributes

int b
 

Detailed Description

Definition at line 293 of file CornerFinderAlg.cxx.

Constructor & Destructor Documentation

compare_to_value::compare_to_value ( int  b)
inline

Definition at line 295 of file CornerFinderAlg.cxx.

295 {this->b = b;}

Member Function Documentation

bool compare_to_value::operator() ( int  i,
int  j 
)
inline

Definition at line 296 of file CornerFinderAlg.cxx.

296  {
297  return std::abs(b-i)<std::abs(b-j);
298  }

Member Data Documentation

int compare_to_value::b

Definition at line 300 of file CornerFinderAlg.cxx.


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