CMS 3D CMS Logo

List of all members | Public Member Functions
CaloHitIdMore Class Reference

#include <CaloHit.h>

Public Member Functions

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

Detailed Description

Definition at line 40 of file CaloHit.h.

Member Function Documentation

◆ operator()()

bool CaloHitIdMore::operator() ( const CaloHit a,
const CaloHit b 
)
inline

Definition at line 42 of file CaloHit.h.

References a, and b.

42  {
43  if (a->id() < b->id()) {
44  return true;
45  } else if (a->id() > b->id()) {
46  return false;
47  } else {
48  return (a->t() < b->t());
49  }
50  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121