CMS 3D CMS Logo

TransientTrackInVertices Class Reference

#include <RecoVertex/TertiaryTracksVertexFinder/interface/TransientTrackInVertices.h>

List of all members.

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)


Detailed Description

Definition at line 11 of file TransientTrackInVertices.h.


Constructor & Destructor Documentation

TransientTrackInVertices::TransientTrackInVertices (  )  [inline]

Definition at line 15 of file TransientTrackInVertices.h.

00015 {}

TransientTrackInVertices::~TransientTrackInVertices (  )  [inline]

Definition at line 16 of file TransientTrackInVertices.h.

00016 {}


Member Function Documentation

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   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:34:24 2009 for CMSSW by  doxygen 1.5.4