CMS 3D CMS Logo

Public Member Functions | Private Attributes

Crystal::crystalEqual Class Reference

#include <Crystal.h>

List of all members.

Public Member Functions

 crystalEqual (const DetId &cell)
bool operator() (const Crystal &xtal) const
 ~crystalEqual ()

Private Attributes

const DetIdref_

Detailed Description

Definition at line 123 of file Crystal.h.


Constructor & Destructor Documentation

Crystal::crystalEqual::crystalEqual ( const DetId cell) [inline]

Definition at line 126 of file Crystal.h.

                                      :ref_(cell)
        {;};
Crystal::crystalEqual::~crystalEqual ( ) [inline]

Definition at line 128 of file Crystal.h.

{;};

Member Function Documentation

bool Crystal::crystalEqual::operator() ( const Crystal xtal) const [inline]

Definition at line 129 of file Crystal.h.

References Crystal::getDetId(), and ref_.

        {
          return (ref_==xtal.getDetId());
        }

Member Data Documentation

Definition at line 134 of file Crystal.h.

Referenced by operator()().