CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions
TransientTrackInVertices Class Reference

#include <TransientTrackInVertices.h>

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.

15 {}
TransientTrackInVertices::~TransientTrackInVertices ( )
inline

Definition at line 16 of file TransientTrackInVertices.h.

16 {}

Member Function Documentation

static bool TransientTrackInVertices::isInVertex ( const reco::TransientTrack aTrack,
const TransientVertex aVertex 
)
inlinestatic

Definition at line 18 of file TransientTrackInVertices.h.

References TransientTrackInGroupOfTracks::isInGroup(), and TransientVertex::originalTracks().

Referenced by isInVertex(), PvSvFilter::operator()(), and ConfigurableTertiaryTracksVertexFinder::reconstruct().

19  {
20  return TransientTrackInGroupOfTracks::isInGroup ( aTrack , aVertex.originalTracks() );
21  }
static bool isInGroup(const reco::TransientTrack &aTrack, const std::vector< reco::TransientTrack > groupOfTracks)
std::vector< reco::TransientTrack > originalTracks() const
static bool TransientTrackInVertices::isInVertex ( const reco::TransientTrack aTrack,
const std::vector< TransientVertex vertices 
)
inlinestatic

Definition at line 23 of file TransientTrackInVertices.h.

References funct::false, and isInVertex().

24  {
25  bool isInVertices = false ;
26  for(std::vector<TransientVertex>::const_iterator itV = vertices.begin();
27  itV != vertices.end() ; itV++ ) {
28  if ( isInVertex ( aTrack , *itV ) ) isInVertices = true ;
29  }
30  return isInVertices ;
31  }
static bool isInVertex(const reco::TransientTrack &aTrack, const TransientVertex &aVertex)