CMS 3D CMS Logo

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 191 of file Vertex.h.

Constructor & Destructor Documentation

◆ TrackEqual()

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

Definition at line 193 of file Vertex.h.

193 : track_(t) {}

Member Function Documentation

◆ operator()()

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

Definition at line 194 of file Vertex.h.

194 { return t.pt() == track_.pt(); }

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

Member Data Documentation

◆ track_

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

Definition at line 197 of file Vertex.h.

Referenced by operator()().

reco::Vertex::TrackEqual::track_
const Track & track_
Definition: Vertex.h:197
reco::TrackBase::pt
double pt() const
track transverse momentum
Definition: TrackBase.h:608
reco::Vertex::t
double t() const
t coordinate
Definition: Vertex.h:122