CMS 3D CMS Logo

List of all members | Public Member Functions
CaloG4HitEqual Class Reference

#include <CaloG4Hit.h>

Public Member Functions

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

Detailed Description

Definition at line 108 of file CaloG4Hit.h.

Member Function Documentation

◆ operator()()

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

Definition at line 110 of file CaloG4Hit.h.

References a, and b.

110  {
111  return (a->getTrackID() == b->getTrackID() && a->getUnitID() == b->getUnitID() && a->getDepth() == b->getDepth() &&
112  a->getTimeSliceID() == b->getTimeSliceID());
113  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119