CMS 3D CMS Logo

Public Member Functions | Private Attributes

ReconstructorFromFitter Class Reference

#include <ReconstructorFromFitter.h>

Inheritance diagram for ReconstructorFromFitter:
AbstractConfReconstructor VertexReconstructor

List of all members.

Public Member Functions

ReconstructorFromFitterclone () const
void configure (const edm::ParameterSet &)
edm::ParameterSet defaults () const
 ReconstructorFromFitter (const ReconstructorFromFitter &o)
 ReconstructorFromFitter (const AbstractConfFitter &)
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &, const reco::BeamSpot &) const
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &) const
 ~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().

                                                                                :
  theFitter ( f.clone() )
{}
ReconstructorFromFitter::ReconstructorFromFitter ( const ReconstructorFromFitter o)

Definition at line 46 of file ReconstructorFromFitter.cc.

                                                                                     :
  theFitter ( o.theFitter->clone() )
{}
ReconstructorFromFitter::~ReconstructorFromFitter ( )

Definition at line 41 of file ReconstructorFromFitter.cc.

References theFitter.

{
  delete theFitter;
}

Member Function Documentation

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

Implements AbstractConfReconstructor.

Definition at line 60 of file ReconstructorFromFitter.cc.

References ReconstructorFromFitter().

{
  return new ReconstructorFromFitter ( *this );
}
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 55 of file ReconstructorFromFitter.cc.

References theFitter.

{
  const_cast < AbstractConfFitter *> (theFitter)->configure (s );
}
edm::ParameterSet ReconstructorFromFitter::defaults ( ) const [virtual]

Implements AbstractConfReconstructor.

Definition at line 50 of file ReconstructorFromFitter.cc.

References AbstractConfFitter::defaults(), and theFitter.

{
  return theFitter->defaults();
}
std::vector< TransientVertex > ReconstructorFromFitter::vertices ( const std::vector< reco::TransientTrack > &  ) const [virtual]

Reconstruct vertices

Implements VertexReconstructor.

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.


Member Data Documentation

Definition at line 26 of file ReconstructorFromFitter.h.

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