CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 119 of file Crystal.h.

Constructor & Destructor Documentation

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

Definition at line 121 of file Crystal.h.

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

Definition at line 122 of file Crystal.h.

122 { ; };

Member Function Documentation

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

Definition at line 123 of file Crystal.h.

References Crystal::getDetId(), and ref_.

123 { return (ref_ == xtal.getDetId()); }
const DetId & ref_
Definition: Crystal.h:126
const DetId & getDetId() const
get the DetId
Definition: Crystal.h:46

Member Data Documentation

const DetId& Crystal::crystalEqual::ref_
private

Definition at line 126 of file Crystal.h.

Referenced by operator()().