CMS 3D CMS Logo

MultiVertexReconstructor Class Reference

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

#include <RecoVertex/MultiVertexFit/interface/MultiVertexReconstructor.h>

Inheritance diagram for MultiVertexReconstructor:

VertexReconstructor

List of all members.

Public Member Functions

MultiVertexReconstructorclone () const
 MultiVertexReconstructor (const MultiVertexReconstructor &)
 MultiVertexReconstructor (const VertexReconstructor &, const AnnealingSchedule &s=DefaultMVFAnnealing(), float revive=-1.)
VertexReconstructorreconstructor () const
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &, const std::vector< reco::TransientTrack > &primaries) const
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &) const
 Reconstruct vertices.
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &, const reco::BeamSpot &) const
 Reconstruct vertices, exploiting the beamspot constraint for the primary vertex.
 ~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().

00069                                                                                 : 
00070     theOldReconstructor ( o.clone() ), theFitter ( 
00071         MultiVertexFitter ( s, DefaultLinearizationPointFinder(), revive ) )
00072 {
00073 }

MultiVertexReconstructor::MultiVertexReconstructor ( const MultiVertexReconstructor o  ) 

Definition at line 85 of file MultiVertexReconstructor.cc.

00086                                          :
00087   theOldReconstructor ( o.theOldReconstructor->clone() ),
00088   theFitter ( o.theFitter )
00089 {}

MultiVertexReconstructor::~MultiVertexReconstructor (  ) 

Definition at line 75 of file MultiVertexReconstructor.cc.

References theOldReconstructor.

00076 {
00077   delete theOldReconstructor;
00078 }


Member Function Documentation

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

Implements VertexReconstructor.

Definition at line 80 of file MultiVertexReconstructor.cc.

References MultiVertexReconstructor().

00081 {
00082   return new MultiVertexReconstructor ( * this );
00083 }

VertexReconstructor * MultiVertexReconstructor::reconstructor (  )  const

Definition at line 186 of file MultiVertexReconstructor.cc.

References theOldReconstructor.

00187 {
00188   return theOldReconstructor;
00189 }

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 > &   )  const [virtual]

Reconstruct vertices.

Implements VertexReconstructor.

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

MultiVertexFitter MultiVertexReconstructor::theFitter [mutable, private]

Definition at line 32 of file MultiVertexReconstructor.h.

VertexReconstructor* MultiVertexReconstructor::theOldReconstructor [private]

Definition at line 31 of file MultiVertexReconstructor.h.

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


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:28:36 2009 for CMSSW by  doxygen 1.5.4