CMS 3D CMS Logo

CrystalPad::padEqual Class Reference

equality operator More...

#include <FastSimulation/CaloGeometryTools/interface/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.

00128                                :ref_(cell) 
00129           {
00130             //      std::cout << " quadEqual " << ref_ << std::endl;
00131           };

CrystalPad::padEqual::~padEqual (  )  [inline]

Definition at line 132 of file CrystalPad.h.

00132 {;};


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

00134           {
00135             return (ref_==quad.getNumber());
00136           }


Member Data Documentation

unsigned CrystalPad::padEqual::ref_ [private]

Definition at line 138 of file CrystalPad.h.

Referenced by operator()().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:17:00 2009 for CMSSW by  doxygen 1.5.4