#include <RecoVertex/TertiaryTracksVertexFinder/interface/TransientTrackInVertices.h>
Public Member Functions | |
TransientTrackInVertices () | |
~TransientTrackInVertices () | |
Static Public Member Functions | |
static bool | isInVertex (const reco::TransientTrack &aTrack, const std::vector< TransientVertex > vertices) |
static bool | isInVertex (const reco::TransientTrack &aTrack, const TransientVertex &aVertex) |
Definition at line 11 of file TransientTrackInVertices.h.
TransientTrackInVertices::TransientTrackInVertices | ( | ) | [inline] |
TransientTrackInVertices::~TransientTrackInVertices | ( | ) | [inline] |
static bool TransientTrackInVertices::isInVertex | ( | const reco::TransientTrack & | aTrack, | |
const std::vector< TransientVertex > | vertices | |||
) | [inline, static] |
Definition at line 23 of file TransientTrackInVertices.h.
References false, and isInVertex().
00024 { 00025 bool isInVertices = false ; 00026 for(std::vector<TransientVertex>::const_iterator itV = vertices.begin(); 00027 itV != vertices.end() ; itV++ ) { 00028 if ( isInVertex ( aTrack , *itV ) ) isInVertices = true ; 00029 } 00030 return isInVertices ; 00031 }
static bool TransientTrackInVertices::isInVertex | ( | const reco::TransientTrack & | aTrack, | |
const TransientVertex & | aVertex | |||
) | [inline, static] |
Definition at line 18 of file TransientTrackInVertices.h.
References TransientTrackInGroupOfTracks::isInGroup(), and TransientVertex::originalTracks().
Referenced by isInVertex(), and PvSvFilter::operator()().
00019 { 00020 return TransientTrackInGroupOfTracks::isInGroup ( aTrack , aVertex.originalTracks() ); 00021 }