CMS 3D CMS Logo

List of all members | Public Member Functions
CaloGVHitEqual Class Reference

#include <CaloGVHit.h>

Public Member Functions

bool operator() (const CaloGVHit *a, const CaloGVHit *b)
 

Detailed Description

Definition at line 89 of file CaloGVHit.h.

Member Function Documentation

bool CaloGVHitEqual::operator() ( const CaloGVHit a,
const CaloGVHit b 
)
inline

Definition at line 91 of file CaloGVHit.h.

References CaloGVHit::getDepth(), CaloGVHit::getEventID(), CaloGVHit::getTimeSliceID(), CaloGVHit::getTrackID(), CaloGVHit::getUnitID(), and operator<<().

91  {
92  return (a->getEventID() == b->getEventID() && a->getTrackID() == b->getTrackID() &&
93  a->getUnitID() == b->getUnitID() && a->getDepth() == b->getDepth() &&
94  a->getTimeSliceID() == b->getTimeSliceID());
95  }
int getEventID() const
Definition: CaloGVHit.h:45
uint32_t getUnitID() const
Definition: CaloGVHit.h:49
uint16_t getDepth() const
Definition: CaloGVHit.h:52
int getTrackID() const
Definition: CaloGVHit.h:48
int getTimeSliceID() const
Definition: CaloGVHit.h:51