CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
reco::Vertex::TrackEqual Class Reference

#include <Vertex.h>

Public Member Functions

bool operator() (const Track &t) const
 
 TrackEqual (const Track &t)
 

Private Attributes

const Tracktrack_
 

Detailed Description

Definition at line 157 of file Vertex.h.

Constructor & Destructor Documentation

reco::Vertex::TrackEqual::TrackEqual ( const Track t)
inline

Definition at line 159 of file Vertex.h.

159 : track_( t ) { }
const Track & track_
Definition: Vertex.h:162

Member Function Documentation

bool reco::Vertex::TrackEqual::operator() ( const Track t) const
inline

Definition at line 160 of file Vertex.h.

References reco::TrackBase::pt(), and track_.

160 { return t.pt()==track_.pt();}
const Track & track_
Definition: Vertex.h:162
double pt() const
track transverse momentum
Definition: TrackBase.h:129

Member Data Documentation

const Track& reco::Vertex::TrackEqual::track_
private

Definition at line 162 of file Vertex.h.

Referenced by operator()().