CMS 3D CMS Logo

Public Member Functions | Private Attributes

CrystalPad::padEqual Class Reference

equality operator More...

#include <CrystalPad.h>

List of all members.

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.

                               :ref_(cell) 
          {
            //      std::cout << " quadEqual " << ref_ << std::endl;
          };
CrystalPad::padEqual::~padEqual ( ) [inline]

Definition at line 132 of file CrystalPad.h.

{;};

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_.

          {
            return (ref_==quad.getNumber());
          }

Member Data Documentation

unsigned CrystalPad::padEqual::ref_ [private]

Definition at line 138 of file CrystalPad.h.

Referenced by operator()().