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

◆ operator()()

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

Definition at line 21 of file SubsystemNeutronWriter.cc.

21 { return (h1.tof() < h2.tof()); }

References PSimHit::tof().

PSimHit::tof
float tof() const
deprecated name for timeOfFlight()
Definition: PSimHit.h:76