CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 =0
 
virtual void configure (const edm::ParameterSet &)=0
 
virtual edm::ParameterSet defaults () const =0
 
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &t) const
 
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks) 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< reco::TransientTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const
 
CachingVertex< 5 > vertex (const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &beamSpot) const
 
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const
 
virtual ~AbstractConfFitter ()
 
- 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 ( 0 )
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 ( )
virtual

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

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

Definition at line 25 of file AbstractConfFitter.cc.

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

27 {
28  return theFitter->vertex ( tracks );
29 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
tuple tracks
Definition: testEve_cfg.py:39
const VertexFitter< 5 > * theFitter
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().

34 {
35  return theFitter->vertex ( tracks, spot );
36 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
tuple tracks
Definition: testEve_cfg.py:39
const VertexFitter< 5 > * theFitter
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().

41 {
42  return theFitter->vertex ( tracks, linPoint );
43 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
tuple tracks
Definition: testEve_cfg.py:39
const VertexFitter< 5 > * theFitter
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().

48 {
49  return theFitter->vertex ( tracks, priorPos, priorError );
50 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
tuple tracks
Definition: testEve_cfg.py:39
const VertexFitter< 5 > * theFitter
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().

54 {
55  return theFitter->vertex ( tracks, beamSpot );
56 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
tuple tracks
Definition: testEve_cfg.py:39
const VertexFitter< 5 > * theFitter
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().

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

Member Data Documentation

const VertexFitter<5>* AbstractConfFitter::theFitter