CMS 3D CMS Logo

ReconstructorFromFitter Class Reference

Wrap any VertexFitter into the VertexReconstructor interface. More...

#include <RecoVertex/ConfigurableVertexReco/interface/ReconstructorFromFitter.h>

Inheritance diagram for ReconstructorFromFitter:

AbstractConfReconstructor VertexReconstructor

List of all members.

Public Member Functions

ReconstructorFromFitterclone () const
void configure (const edm::ParameterSet &)
 The configure method configures the vertex reconstructor.
edm::ParameterSet defaults () const
 ReconstructorFromFitter (const ReconstructorFromFitter &o)
 ReconstructorFromFitter (const AbstractConfFitter &)
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &, const reco::BeamSpot &) const
 Reconstruct vertices, exploiting the beamspot constraint for the primary vertex.
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &) const
 Reconstruct vertices.
 ~ReconstructorFromFitter ()

Private Attributes

const AbstractConfFittertheFitter


Detailed Description

Wrap any VertexFitter into the VertexReconstructor interface.

Definition at line 11 of file ReconstructorFromFitter.h.


Constructor & Destructor Documentation

ReconstructorFromFitter::ReconstructorFromFitter ( const AbstractConfFitter f  ) 

Definition at line 6 of file ReconstructorFromFitter.cc.

Referenced by clone().

00006                                                                                 :
00007   theFitter ( f.clone() )
00008 {}

ReconstructorFromFitter::ReconstructorFromFitter ( const ReconstructorFromFitter o  ) 

Definition at line 54 of file ReconstructorFromFitter.cc.

00054                                                                                      :
00055   theFitter ( o.theFitter->clone() )
00056 {}

ReconstructorFromFitter::~ReconstructorFromFitter (  ) 

Definition at line 49 of file ReconstructorFromFitter.cc.

References theFitter.

00050 {
00051   delete theFitter;
00052 }


Member Function Documentation

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

Implements AbstractConfReconstructor.

Definition at line 68 of file ReconstructorFromFitter.cc.

References ReconstructorFromFitter().

00069 {
00070   return new ReconstructorFromFitter ( *this );
00071 }

void ReconstructorFromFitter::configure ( const edm::ParameterSet  )  [virtual]

The configure method configures the vertex reconstructor.

It also should also write all its applied defaults back into the map,

Implements AbstractConfReconstructor.

Definition at line 63 of file ReconstructorFromFitter.cc.

References theFitter.

00064 {
00065   const_cast < AbstractConfFitter *> (theFitter)->configure (s );
00066 }

edm::ParameterSet ReconstructorFromFitter::defaults (  )  const [virtual]

Implements AbstractConfReconstructor.

Definition at line 58 of file ReconstructorFromFitter.cc.

References AbstractConfFitter::defaults(), and theFitter.

00059 {
00060   return theFitter->defaults();
00061 }

std::vector< TransientVertex > ReconstructorFromFitter::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.

std::vector< TransientVertex > ReconstructorFromFitter::vertices ( const std::vector< reco::TransientTrack > &   )  const [virtual]

Reconstruct vertices.

Implements VertexReconstructor.


Member Data Documentation

const AbstractConfFitter* ReconstructorFromFitter::theFitter [private]

Definition at line 26 of file ReconstructorFromFitter.h.

Referenced by configure(), defaults(), and ~ReconstructorFromFitter().


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