CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CSCSegmentValidationUtils Namespace Reference

Functions

bool SimHitPabsLessThan (const PSimHit &p1, const PSimHit &p2)
 

Function Documentation

bool CSCSegmentValidationUtils::SimHitPabsLessThan ( const PSimHit p1,
const PSimHit p2 
)

Definition at line 222 of file CSCSegmentValidation.cc.

References PSimHit::pabs().

Referenced by CSCSegmentValidation::keyHit().

223  {
224  return p1.pabs() < p2.pabs();
225  }
float pabs() const
fast and more accurate access to momentumAtEntry().mag()
Definition: PSimHit.h:63