CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 125 of file CrystalPad.h.

Constructor & Destructor Documentation

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

Definition at line 128 of file CrystalPad.h.

128  :ref_(cell)
129  {
130  // std::cout << " quadEqual " << ref_ << std::endl;
131  };
CrystalPad::padEqual::~padEqual ( )
inline

Definition at line 132 of file CrystalPad.h.

132 {;};

Member Function Documentation

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

Definition at line 133 of file CrystalPad.h.

References CrystalPad::getNumber(), and ref_.

134  {
135  return (ref_==quad.getNumber());
136  }
unsigned getNumber() const
access to the number
Definition: CrystalPad.h:75

Member Data Documentation

unsigned CrystalPad::padEqual::ref_
private

Definition at line 138 of file CrystalPad.h.

Referenced by operator()().