test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 74 of file MuonSlaveSD.h.

Member Function Documentation

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

Definition at line 86 of file MuonSlaveSD.cc.

References sortId().

87 {
88  return (sortId(a)<sortId(b));
89 }
int sortId(const PSimHit &a) const
Definition: MuonSlaveSD.cc:91
int FormatMe0Hits::sortId ( const PSimHit a) const

Definition at line 91 of file MuonSlaveSD.cc.

References PSimHit::detUnitId().

Referenced by operator()().

92 {
93  return a.detUnitId();
94 }
unsigned int detUnitId() const
Definition: PSimHit.h:93