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 61 of file MuonSlaveSD.h.

Member Function Documentation

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

Definition at line 63 of file MuonSlaveSD.cc.

64 {
65  return (sortId(a)<sortId(b));
66 }
int sortId(const PSimHit &a) const
Definition: MuonSlaveSD.cc:68
int FormatRpcHits::sortId ( const PSimHit a) const

Definition at line 68 of file MuonSlaveSD.cc.

References PSimHit::detUnitId().

69 {
70  return a.detUnitId();
71 }
unsigned int detUnitId() const
Definition: PSimHit.h:93