CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
AbstractConfFitter Class Referenceabstract

#include <AbstractConfFitter.h>

Inheritance diagram for AbstractConfFitter:
VertexFitter< 5 > ConfigurableAdaptiveFitter ConfigurableKalmanFitter

Public Types

typedef CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
 

Public Member Functions

 AbstractConfFitter (const VertexFitter< 5 > &f)
 
 AbstractConfFitter ()
 
 AbstractConfFitter (const AbstractConfFitter &)
 
AbstractConfFitterclone () const override=0
 
virtual void configure (const edm::ParameterSet &)=0
 
virtual edm::ParameterSet defaults () const =0
 
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &t) const override
 
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks) const override
 
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks, const reco::BeamSpot &spot) const override
 
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &linPoint) const override
 
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const override
 
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &beamSpot) const override
 
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const override
 
 ~AbstractConfFitter () override
 
- Public Member Functions inherited from VertexFitter< 5 >
virtual CachingVertex< Nvertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks) const =0
 
virtual CachingVertex< Nvertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks, const reco::BeamSpot &spot) const =0
 
virtual CachingVertex< Nvertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const =0
 
 VertexFitter ()
 
virtual ~VertexFitter ()
 

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.

3  :
4  theFitter ( f.clone() )
5 {}
virtual VertexFitter * clone() const =0
const VertexFitter< 5 > * theFitter
AbstractConfFitter::AbstractConfFitter ( )

Definition at line 7 of file AbstractConfFitter.cc.

7  : theFitter ( nullptr )
8 {}
const VertexFitter< 5 > * theFitter
AbstractConfFitter::AbstractConfFitter ( const AbstractConfFitter o)

Definition at line 10 of file AbstractConfFitter.cc.

10  :
11  theFitter ( o.theFitter->clone() )
12 {}
virtual VertexFitter * clone() const =0
const VertexFitter< 5 > * theFitter
AbstractConfFitter::~AbstractConfFitter ( )
override

Definition at line 14 of file AbstractConfFitter.cc.

References theFitter.

15 {
16  if ( theFitter ) delete theFitter;
17 }
const VertexFitter< 5 > * theFitter

Member Function Documentation

AbstractConfFitter* AbstractConfFitter::clone ( void  ) const
overridepure 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
overridevirtual

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 Tau.Tau::dxy(), ConfigurableVertexFitter::vertex(), and ReconstructorFromFitter::vertices().

21 {
22  return theFitter->vertex ( t );
23 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< RefCountedVertexTrack > &  tracks) const
override

Definition at line 25 of file AbstractConfFitter.cc.

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

Referenced by Tau.Tau::dxy().

27 {
28  return theFitter->vertex ( tracks );
29 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< RefCountedVertexTrack > &  tracks,
const reco::BeamSpot spot 
) const
override

Definition at line 31 of file AbstractConfFitter.cc.

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

Referenced by Tau.Tau::dxy().

34 {
35  return theFitter->vertex ( tracks, spot );
36 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< reco::TransientTrack > &  tracks,
const GlobalPoint linPoint 
) const
overridevirtual

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().

Referenced by Tau.Tau::dxy().

41 {
42  return theFitter->vertex ( tracks, linPoint );
43 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< reco::TransientTrack > &  tracks,
const GlobalPoint priorPos,
const GlobalError priorError 
) const
overridevirtual

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().

Referenced by Tau.Tau::dxy().

48 {
49  return theFitter->vertex ( tracks, priorPos, priorError );
50 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< reco::TransientTrack > &  tracks,
const reco::BeamSpot beamSpot 
) const
overridevirtual

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().

Referenced by Tau.Tau::dxy().

54 {
55  return theFitter->vertex ( tracks, beamSpot );
56 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter
CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< RefCountedVertexTrack > &  tracks,
const GlobalPoint priorPos,
const GlobalError priorError 
) const
override

Definition at line 58 of file AbstractConfFitter.cc.

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

Referenced by Tau.Tau::dxy().

60 {
61  return theFitter->vertex ( tracks, priorPos, priorError );
62 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter

Member Data Documentation

const VertexFitter<5>* AbstractConfFitter::theFitter