CMS 3D CMS Logo

List of all members | Public Member Functions
cms::CompareTrajChi Class Reference

#include <CosmicTrackFinder.h>

Public Member Functions

bool operator() (Trajectory *t1, Trajectory *t2)
 

Detailed Description

Definition at line 61 of file CosmicTrackFinder.h.

Member Function Documentation

◆ operator()()

bool cms::CompareTrajChi::operator() ( Trajectory t1,
Trajectory t2 
)
inline

Definition at line 63 of file CosmicTrackFinder.h.

63  {
64  if (t1->foundHits() != t2->foundHits())
65  return t1->foundHits() > t2->foundHits();
66  return t1->chiSquared() < t2->chiSquared();
67  }

References RandomServiceHelper::t1, and RandomServiceHelper::t2.

RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256