CMS 3D CMS Logo

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

Member Function Documentation

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

Definition at line 42 of file MuonSlaveSD.cc.

42 { return (sortId(a) < sortId(b)); }
int sortId(const PSimHit &a) const
Definition: MuonSlaveSD.cc:44
int FormatEndcapHits::sortId ( const PSimHit a) const

Definition at line 44 of file MuonSlaveSD.cc.

References PSimHit::detUnitId().

44 { return a.detUnitId(); }
unsigned int detUnitId() const
Definition: PSimHit.h:97