CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 18 of file SubsystemNeutronWriter.cc.

Member Function Documentation

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

Definition at line 20 of file SubsystemNeutronWriter.cc.

References PSimHit::tof().

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