CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 204 of file Vertex.h.

Constructor & Destructor Documentation

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

Definition at line 206 of file Vertex.h.

206 : track_(t) {}
const Track & track_
Definition: Vertex.h:210
double t() const
t coordinate
Definition: Vertex.h:135

Member Function Documentation

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

Definition at line 207 of file Vertex.h.

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

207 { return t.pt() == track_.pt(); }
const Track & track_
Definition: Vertex.h:210
double pt() const
track transverse momentum
Definition: TrackBase.h:637
double t() const
t coordinate
Definition: Vertex.h:135

Member Data Documentation

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

Definition at line 210 of file Vertex.h.

Referenced by operator()().