CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions

TransientTrackInVertices Class Reference

#include <TransientTrackInVertices.h>

List of all members.

Public Member Functions

 TransientTrackInVertices ()
 ~TransientTrackInVertices ()

Static Public Member Functions

static bool isInVertex (const reco::TransientTrack &aTrack, const TransientVertex &aVertex)
static bool isInVertex (const reco::TransientTrack &aTrack, const std::vector< TransientVertex > vertices)

Detailed Description

Definition at line 11 of file TransientTrackInVertices.h.


Constructor & Destructor Documentation

TransientTrackInVertices::TransientTrackInVertices ( ) [inline]

Definition at line 15 of file TransientTrackInVertices.h.

{}
TransientTrackInVertices::~TransientTrackInVertices ( ) [inline]

Definition at line 16 of file TransientTrackInVertices.h.

{}

Member Function Documentation

static bool TransientTrackInVertices::isInVertex ( const reco::TransientTrack aTrack,
const TransientVertex aVertex 
) [inline, static]
static bool TransientTrackInVertices::isInVertex ( const reco::TransientTrack aTrack,
const std::vector< TransientVertex vertices 
) [inline, static]

Definition at line 23 of file TransientTrackInVertices.h.

References funct::false, and isInVertex().

                                                {
    bool isInVertices = false ;
    for(std::vector<TransientVertex>::const_iterator itV = vertices.begin(); 
      itV != vertices.end() ; itV++ ) {
      if ( isInVertex ( aTrack , *itV ) ) isInVertices = true ;
    }
    return isInVertices ;
  }