CMS 3D CMS Logo

Public Member Functions | Private Attributes

MultiVertexReconstructor Class Reference

#include <MultiVertexReconstructor.h>

Inheritance diagram for MultiVertexReconstructor:
VertexReconstructor

List of all members.

Public Member Functions

MultiVertexReconstructorclone () const
 MultiVertexReconstructor (const VertexReconstructor &, const AnnealingSchedule &s=DefaultMVFAnnealing(), float revive=-1.)
 MultiVertexReconstructor (const MultiVertexReconstructor &)
VertexReconstructorreconstructor () const
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &, const std::vector< reco::TransientTrack > &primaries, const reco::BeamSpot &spot) const
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &) const
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &, const reco::BeamSpot &) const
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &, const std::vector< reco::TransientTrack > &primaries) const
 ~MultiVertexReconstructor ()

Private Attributes

MultiVertexFitter theFitter
VertexReconstructortheOldReconstructor

Detailed Description

Class that wraps the MultiVertexFitter, together with a user-supplied VertexReconstructor into a VertexReconstructor.

Definition at line 12 of file MultiVertexReconstructor.h.


Constructor & Destructor Documentation

MultiVertexReconstructor::MultiVertexReconstructor ( const VertexReconstructor o,
const AnnealingSchedule s = DefaultMVFAnnealing(),
float  revive = -1. 
)

Definition at line 68 of file MultiVertexReconstructor.cc.

Referenced by clone().

MultiVertexReconstructor::MultiVertexReconstructor ( const MultiVertexReconstructor o)
MultiVertexReconstructor::~MultiVertexReconstructor ( )

Definition at line 75 of file MultiVertexReconstructor.cc.

References theOldReconstructor.

{
  delete theOldReconstructor;
}

Member Function Documentation

MultiVertexReconstructor * MultiVertexReconstructor::clone ( void  ) const [virtual]

Implements VertexReconstructor.

Definition at line 80 of file MultiVertexReconstructor.cc.

References MultiVertexReconstructor().

{
  return new MultiVertexReconstructor ( * this );
}
VertexReconstructor * MultiVertexReconstructor::reconstructor ( ) const

Definition at line 195 of file MultiVertexReconstructor.cc.

References theOldReconstructor.

{
  return theOldReconstructor;
}
std::vector<TransientVertex> MultiVertexReconstructor::vertices ( const std::vector< reco::TransientTrack > &  ) const [virtual]

Reconstruct vertices

Implements VertexReconstructor.

std::vector<TransientVertex> MultiVertexReconstructor::vertices ( const std::vector< reco::TransientTrack > &  primaries,
const std::vector< reco::TransientTrack > &  tracks,
const reco::BeamSpot spot 
) const [virtual]

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 from VertexReconstructor.

std::vector<TransientVertex> MultiVertexReconstructor::vertices ( const std::vector< reco::TransientTrack > &  ,
const std::vector< reco::TransientTrack > &  primaries 
) const
std::vector<TransientVertex> MultiVertexReconstructor::vertices ( const std::vector< reco::TransientTrack > &  t,
const reco::BeamSpot  
) const [virtual]

Reconstruct vertices, exploiting the beamspot constraint for the primary vertex

Reimplemented from VertexReconstructor.

Referenced by ConfigurableMultiVertexFitter::vertices().


Member Data Documentation

Definition at line 37 of file MultiVertexReconstructor.h.

Definition at line 36 of file MultiVertexReconstructor.h.

Referenced by reconstructor(), and ~MultiVertexReconstructor().