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 221 of file CSCSegmentValidation.cc.

References PSimHit::pabs().

Referenced by CSCSegmentValidation::keyHit().

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