CMS 3D CMS Logo

List of all members | Public Member Functions
FormatGemHits Class Reference

#include <MuonSlaveSD.h>

Public Member Functions

bool operator() (const PSimHit &a, const PSimHit &b)
 
int sortId (const PSimHit &a) const
 

Detailed Description

Definition at line 64 of file MuonSlaveSD.h.

Member Function Documentation

◆ operator()()

bool FormatGemHits::operator() ( const PSimHit a,
const PSimHit b 
)

Definition at line 50 of file MuonSlaveSD.cc.

50 { return (sortId(a) < sortId(b)); }

References a, b, and sortId().

◆ sortId()

int FormatGemHits::sortId ( const PSimHit a) const

Definition at line 52 of file MuonSlaveSD.cc.

52 { return a.detUnitId(); }

References a.

Referenced by operator()().

b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119
FormatGemHits::sortId
int sortId(const PSimHit &a) const
Definition: MuonSlaveSD.cc:52