CMS 3D CMS Logo

List of all members | Public Member Functions
VertexReconstructor Class Referenceabstract

#include <VertexReconstructor.h>

Inheritance diagram for VertexReconstructor:
AbstractConfReconstructor AdaptiveVertexReconstructor ConfigurableTrimmedVertexFinder ConfigurableVertexReconstructor KalmanTrimmedVertexFinder MultiVertexBSeeder MultiVertexReconstructor PrimaryVertexProducerAlgorithm

Public Member Functions

virtual VertexReconstructorclone () const =0
 
 VertexReconstructor ()
 
virtual std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &) const =0
 
virtual std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &t, const reco::BeamSpot &) const
 
virtual std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &primaries, const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &spot) const
 
virtual ~VertexReconstructor ()
 

Detailed Description

Abstract class for vertex reconstructors, i.e. objects reconstructing vertices using a set of TransientTracks

Definition at line 13 of file VertexReconstructor.h.

Constructor & Destructor Documentation

◆ VertexReconstructor()

VertexReconstructor::VertexReconstructor ( )
inline

Definition at line 15 of file VertexReconstructor.h.

15 {}

◆ ~VertexReconstructor()

virtual VertexReconstructor::~VertexReconstructor ( )
inlinevirtual

Definition at line 16 of file VertexReconstructor.h.

16 {}

Member Function Documentation

◆ clone()

virtual VertexReconstructor* VertexReconstructor::clone ( ) const
pure virtual

◆ vertices() [1/3]

virtual std::vector<TransientVertex> VertexReconstructor::vertices ( const std::vector< reco::TransientTrack > &  ) const
pure virtual

◆ vertices() [2/3]

virtual std::vector<TransientVertex> VertexReconstructor::vertices ( const std::vector< reco::TransientTrack > &  t,
const reco::BeamSpot  
) const
inlinevirtual

Reconstruct vertices, exploiting the beamspot constraint for the primary vertex

Reimplemented in ConfigurableTrimmedVertexFinder, AdaptiveVertexReconstructor, ConfigurableMultiVertexFitter, KalmanTrimmedVertexFinder, ConfigurableVertexReconstructor, ReconstructorFromFitter, MultiVertexReconstructor, ConfigurableAdaptiveReconstructor, ConfigurableTrimmedKalmanFinder, and MultiVertexBSeeder.

Definition at line 25 of file VertexReconstructor.h.

References submitPVValidationJobs::t, and vertices().

26  {
27  return vertices(t);
28  }
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const =0

◆ vertices() [3/3]

virtual std::vector<TransientVertex> VertexReconstructor::vertices ( const std::vector< reco::TransientTrack > &  primaries,
const std::vector< reco::TransientTrack > &  tracks,
const reco::BeamSpot spot 
) const
inlinevirtual

Reconstruct vertices, but exploit the fact that you know that some tracks cannot come from a secondary vertex. primaries Tracks that cannot come from a secondary vertex (but can, in principle, be non-primaries, also). tracks These are the tracks that are of unknown origin. These tracks are subjected to pattern recognition. spot A beamspot constraint is mandatory in this method.

Reimplemented in AdaptiveVertexReconstructor, ConfigurableMultiVertexFitter, MultiVertexReconstructor, ConfigurableVertexReconstructor, ConfigurableAdaptiveReconstructor, and ConfigurableTrimmedKalmanFinder.

Definition at line 39 of file VertexReconstructor.h.

References DiMuonV_cfg::tracks, and vertices().

41  {
42  return vertices(tracks, spot);
43  }
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const =0