CMS 3D CMS Logo

Public Member Functions

FormatBarrelHits Class Reference

#include <MuonSlaveSD.h>

List of all members.

Public Member Functions

bool operator() (const PSimHit &a, const PSimHit &b)
int sortId (const PSimHit &a) const

Detailed Description

Definition at line 50 of file MuonSlaveSD.h.


Member Function Documentation

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

Definition at line 42 of file MuonSlaveSD.cc.

References sortId().

{
  return (sortId(a)<sortId(b));
}
int FormatBarrelHits::sortId ( const PSimHit a) const

Definition at line 47 of file MuonSlaveSD.cc.

References PSimHit::detUnitId().

Referenced by operator()().

{
  return a.detUnitId();
}