CMS 3D CMS Logo

FormatBarrelHits 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 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().

00043 {
00044   return (sortId(a)<sortId(b));
00045 }

int FormatBarrelHits::sortId ( const PSimHit a  )  const

Definition at line 47 of file MuonSlaveSD.cc.

References PSimHit::detUnitId().

Referenced by operator()().

00048 {
00049   return a.detUnitId();
00050 }


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