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

References PSimHit::pabs().

Referenced by CSCSegmentValidation::keyHit().

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