CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes

AbstractConfFitter Class Reference

#include <AbstractConfFitter.h>

Inheritance diagram for AbstractConfFitter:
VertexFitter< 5 > ConfigurableAdaptiveFitter ConfigurableKalmanFitter

List of all members.

Public Types

typedef CachingVertex
< 5 >::RefCountedVertexTrack 
RefCountedVertexTrack

Public Member Functions

 AbstractConfFitter (const VertexFitter< 5 > &f)
 AbstractConfFitter ()
 AbstractConfFitter (const AbstractConfFitter &)
AbstractConfFitterclone () const =0
virtual void configure (const edm::ParameterSet &)=0
virtual edm::ParameterSet defaults () const =0
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks) const
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &t) const
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &beamSpot) const
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks, const reco::BeamSpot &spot) const
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &linPoint) const
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const
virtual ~AbstractConfFitter ()

Public Attributes

const VertexFitter< 5 > * theFitter

Detailed Description

An abstract configurable reconstructor. must be configurable via ::configure

Definition at line 12 of file AbstractConfFitter.h.


Member Typedef Documentation

Definition at line 16 of file AbstractConfFitter.h.


Constructor & Destructor Documentation

AbstractConfFitter::AbstractConfFitter ( const VertexFitter< 5 > &  f)

The configure method configures the vertex reconstructor. It also should also write all its applied defaults back into the map,

Definition at line 3 of file AbstractConfFitter.cc.

                                                                   :
  theFitter ( f.clone() )
{}
AbstractConfFitter::AbstractConfFitter ( )

Definition at line 7 of file AbstractConfFitter.cc.

                                       : theFitter ( 0 )
{}
AbstractConfFitter::AbstractConfFitter ( const AbstractConfFitter o)

Definition at line 10 of file AbstractConfFitter.cc.

                                                                      :
  theFitter ( o.theFitter->clone() )
{}
AbstractConfFitter::~AbstractConfFitter ( ) [virtual]

Definition at line 14 of file AbstractConfFitter.cc.

References theFitter.

{
  if ( theFitter ) delete theFitter;
}

Member Function Documentation

AbstractConfFitter* AbstractConfFitter::clone ( void  ) const [pure virtual]

Fit vertex out of a VertexSeed

Implements VertexFitter< 5 >.

Implemented in ConfigurableAdaptiveFitter, and ConfigurableKalmanFitter.

virtual void AbstractConfFitter::configure ( const edm::ParameterSet ) [pure virtual]
virtual edm::ParameterSet AbstractConfFitter::defaults ( ) const [pure virtual]
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< reco::TransientTrack > &  tracks,
const GlobalPoint priorPos,
const GlobalError priorError 
) const [virtual]

Fit vertex out of a set of TransientTracks. Uses the specified point as both the linearization point AND as prior estimate of the vertex position. The error is used for the weight of the prior estimate.

Implements VertexFitter< 5 >.

Definition at line 45 of file AbstractConfFitter.cc.

References theFitter, and VertexFitter< N >::vertex().

{
  return theFitter->vertex ( tracks, priorPos, priorError );
}
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< reco::TransientTrack > &  tracks,
const GlobalPoint linPoint 
) const [virtual]

Fit vertex out of a set of TransientTracks. The specified point will be used as linearization point, but will NOT be used as prior.

Implements VertexFitter< 5 >.

Definition at line 39 of file AbstractConfFitter.cc.

References theFitter, and VertexFitter< N >::vertex().

{
  return theFitter->vertex ( tracks, linPoint );
}
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< RefCountedVertexTrack > &  tracks,
const reco::BeamSpot spot 
) const

Definition at line 31 of file AbstractConfFitter.cc.

References theFitter, and VertexFitter< N >::vertex().

{
  return theFitter->vertex ( tracks, spot );
}
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< RefCountedVertexTrack > &  tracks) const

Definition at line 25 of file AbstractConfFitter.cc.

References theFitter, and VertexFitter< N >::vertex().

{
  return theFitter->vertex ( tracks );
}
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< reco::TransientTrack > &  tracks) const [virtual]

Fit vertex out of a set of TransientTracks

Implements VertexFitter< 5 >.

Definition at line 19 of file AbstractConfFitter.cc.

References theFitter, and VertexFitter< N >::vertex().

Referenced by ConfigurableVertexFitter::vertex().

{
  return theFitter->vertex ( t );
}
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< RefCountedVertexTrack > &  tracks,
const GlobalPoint priorPos,
const GlobalError priorError 
) const

Definition at line 58 of file AbstractConfFitter.cc.

References theFitter, and VertexFitter< N >::vertex().

{
  return theFitter->vertex ( tracks, priorPos, priorError );
}
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< reco::TransientTrack > &  tracks,
const reco::BeamSpot beamSpot 
) const [virtual]

Fit vertex out of a set of TransientTracks. The specified BeamSpot will be used as priot, but NOT for the linearization. The specified LinearizationPointFinder will be used to find the linearization point.

Implements VertexFitter< 5 >.

Definition at line 52 of file AbstractConfFitter.cc.

References theFitter, and VertexFitter< N >::vertex().

{
  return theFitter->vertex ( tracks, beamSpot );
}

Member Data Documentation