CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
CrystalPad::padEqual Class Reference

equality operator More...

#include <CrystalPad.h>

Public Member Functions

bool operator() (const CrystalPad &quad) const
 
 padEqual (unsigned cell)
 
 ~padEqual ()
 

Private Attributes

unsigned ref_
 

Detailed Description

equality operator

Definition at line 117 of file CrystalPad.h.

Constructor & Destructor Documentation

CrystalPad::padEqual::padEqual ( unsigned  cell)
inline

Definition at line 119 of file CrystalPad.h.

120  : ref_(cell){
121  // std::cout << " quadEqual " << ref_ << std::endl;
122  };
CrystalPad::padEqual::~padEqual ( )
inline

Definition at line 123 of file CrystalPad.h.

123 { ; };

Member Function Documentation

bool CrystalPad::padEqual::operator() ( const CrystalPad quad) const
inline

Definition at line 124 of file CrystalPad.h.

References CrystalPad::getNumber(), and ref_.

124 { return (ref_ == quad.getNumber()); }
unsigned getNumber() const
access to the number
Definition: CrystalPad.h:73

Member Data Documentation

unsigned CrystalPad::padEqual::ref_
private

Definition at line 127 of file CrystalPad.h.

Referenced by operator()().