test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
reco::PFDisplacedVertexSeed::Compare Struct Reference

#include <PFDisplacedVertexSeed.h>

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().

43  {return s1.key() < s2.key();}
tuple s2
Definition: indexGen.py:106