test
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
Crystal::crystalEqual Class Reference

#include <Crystal.h>

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.

126  :ref_(cell)
127  {;};
const DetId & ref_
Definition: Crystal.h:134
Crystal::crystalEqual::~crystalEqual ( )
inline

Definition at line 128 of file Crystal.h.

128 {;};

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

130  {
131  return (ref_==xtal.getDetId());
132  }
const DetId & ref_
Definition: Crystal.h:134
const DetId & getDetId() const
get the DetId
Definition: Crystal.h:49

Member Data Documentation

const DetId& Crystal::crystalEqual::ref_
private

Definition at line 134 of file Crystal.h.

Referenced by operator()().