test
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 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  {
22  return (h1.tof() < h2.tof());
23  }
float tof() const
deprecated name for timeOfFlight()
Definition: PSimHit.h:72