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

Member Function Documentation

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

Definition at line 83 of file MuonSlaveSD.cc.

84 {
85  return (sortId(a)<sortId(b));
86 }
int sortId(const PSimHit &a) const
Definition: MuonSlaveSD.cc:88
int FormatMe0Hits::sortId ( const PSimHit a) const

Definition at line 88 of file MuonSlaveSD.cc.

References PSimHit::detUnitId().

89 {
90  return a.detUnitId();
91 }
unsigned int detUnitId() const
Definition: PSimHit.h:93