CMS 3D CMS Logo

List of all members | Public Member Functions
FormatRpcHits 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 58 of file MuonSlaveSD.h.

Member Function Documentation

◆ operator()()

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

Definition at line 46 of file MuonSlaveSD.cc.

References a, b, and sortId().

46 { return (sortId(a) < sortId(b)); }
int sortId(const PSimHit &a) const
Definition: MuonSlaveSD.cc:48
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

◆ sortId()

int FormatRpcHits::sortId ( const PSimHit a) const

Definition at line 48 of file MuonSlaveSD.cc.

References a.

Referenced by operator()().

48 { return a.detUnitId(); }
double a
Definition: hdecay.h:121