CMS 3D CMS Logo

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

Member Function Documentation

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

Definition at line 43 of file MuonSlaveSD.cc.

44 {
45  return (sortId(a)<sortId(b));
46 }
int sortId(const PSimHit &a) const
Definition: MuonSlaveSD.cc:48
int FormatBarrelHits::sortId ( const PSimHit a) const

Definition at line 48 of file MuonSlaveSD.cc.

References PSimHit::detUnitId().

49 {
50  return a.detUnitId();
51 }
unsigned int detUnitId() const
Definition: PSimHit.h:93