CMS 3D CMS Logo

Public Member Functions

reco::PFDisplacedVertexSeed::Compare Struct Reference

#include <PFDisplacedVertexSeed.h>

List of all members.

Public Member Functions

bool operator() (const TrackBaseRef &s1, const TrackBaseRef &s2) const

Detailed Description

A function necessary to use a set format to store the tracks Refs. The set is the most appropriate in that case to avoid the double counting of the tracks durring the build up procedure. The position of the tracks in the Collection is used as a classification parameter.

Definition at line 41 of file PFDisplacedVertexSeed.h.


Member Function Documentation

bool reco::PFDisplacedVertexSeed::Compare::operator() ( const TrackBaseRef s1,
const TrackBaseRef s2 
) const [inline]

Definition at line 42 of file PFDisplacedVertexSeed.h.

References edm::RefToBase< T >::key().

      {return s1.key() < s2.key();}