CMS 3D CMS Logo

FormatEndcapHits Class Reference

#include <SimG4CMS/Muon/interface/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 56 of file MuonSlaveSD.h.


Member Function Documentation

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

Definition at line 52 of file MuonSlaveSD.cc.

References sortId().

00053 {
00054   return (sortId(a)<sortId(b));
00055 }

int FormatEndcapHits::sortId ( const PSimHit a  )  const

Definition at line 57 of file MuonSlaveSD.cc.

References PSimHit::detUnitId().

Referenced by operator()().

00058 {
00059   return a.detUnitId();
00060 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:20:59 2009 for CMSSW by  doxygen 1.5.4