CMS 3D CMS Logo

List of all members | Public Member Functions
SortByTime Class Reference

Public Member Functions

bool operator() (const PSimHit &h1, const PSimHit &h2)
 

Detailed Description

Definition at line 19 of file SubsystemNeutronWriter.cc.

Member Function Documentation

bool SortByTime::operator() ( const PSimHit h1,
const PSimHit h2 
)
inline

Definition at line 21 of file SubsystemNeutronWriter.cc.

References PSimHit::tof().

21 { return (h1.tof() < h2.tof()); }
float tof() const
deprecated name for timeOfFlight()
Definition: PSimHit.h:76