CMS 3D CMS Logo

CaloG4HitEqual Class Reference

#include <SimG4CMS/Calo/interface/CaloG4Hit.h>

List of all members.

Public Member Functions

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


Detailed Description

Definition at line 107 of file CaloG4Hit.h.


Member Function Documentation

bool CaloG4HitEqual::operator() ( const CaloG4Hit a,
const CaloG4Hit b 
) [inline]

Definition at line 109 of file CaloG4Hit.h.

References CaloG4Hit::getDepth(), CaloG4Hit::getTimeSliceID(), CaloG4Hit::getTrackID(), and CaloG4Hit::getUnitID().

00109                                                            {
00110     return (a->getTrackID()     == b->getTrackID() && 
00111             a->getUnitID()      == b->getUnitID()  && 
00112             a->getDepth()       == b->getDepth()   &&
00113             a->getTimeSliceID() == b->getTimeSliceID());
00114   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:15:44 2009 for CMSSW by  doxygen 1.5.4