CMS 3D CMS Logo

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

Member Function Documentation

◆ operator()()

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

Definition at line 54 of file MuonSlaveSD.cc.

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

References a, b, and sortId().

◆ sortId()

int FormatMe0Hits::sortId ( const PSimHit a) const

Definition at line 56 of file MuonSlaveSD.cc.

56 { return a.detUnitId(); }

References a.

Referenced by operator()().

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