CMS 3D CMS Logo

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

◆ padEqual()

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  };

◆ ~padEqual()

CrystalPad::padEqual::~padEqual ( )
inline

Definition at line 123 of file CrystalPad.h.

123 { ; };

Member Function Documentation

◆ operator()()

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

Definition at line 124 of file CrystalPad.h.

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

References CrystalPad::getNumber(), and ref_.

Member Data Documentation

◆ ref_

unsigned CrystalPad::padEqual::ref_
private

Definition at line 127 of file CrystalPad.h.

Referenced by operator()().

CrystalPad::padEqual::ref_
unsigned ref_
Definition: CrystalPad.h:127
CrystalPad::getNumber
unsigned getNumber() const
access to the number
Definition: CrystalPad.h:73