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

◆ RefCountedVertexTrack

Definition at line 14 of file AbstractConfFitter.h.

Constructor & Destructor Documentation

◆ AbstractConfFitter() [1/3]

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 : theFitter(f.clone()) {}
double f[11][100]
const VertexFitter< 5 > * theFitter

◆ AbstractConfFitter() [2/3]

AbstractConfFitter::AbstractConfFitter ( )

Definition at line 5 of file AbstractConfFitter.cc.

5 : theFitter(nullptr) {}
const VertexFitter< 5 > * theFitter

◆ AbstractConfFitter() [3/3]

AbstractConfFitter::AbstractConfFitter ( const AbstractConfFitter o)

Definition at line 7 of file AbstractConfFitter.cc.

7 : theFitter(o.theFitter->clone()) {}
const VertexFitter< 5 > * theFitter

◆ ~AbstractConfFitter()

AbstractConfFitter::~AbstractConfFitter ( )
override

Definition at line 9 of file AbstractConfFitter.cc.

References theFitter.

9  {
10  if (theFitter)
11  delete theFitter;
12 }
const VertexFitter< 5 > * theFitter

Member Function Documentation

◆ clone()

AbstractConfFitter* AbstractConfFitter::clone ( void  ) const
overridepure virtual

Fit vertex out of a VertexSeed

Implements VertexFitter< 5 >.

Implemented in ConfigurableAdaptiveFitter, and ConfigurableKalmanFitter.

◆ configure()

virtual void AbstractConfFitter::configure ( const edm::ParameterSet )
pure virtual

◆ defaults()

virtual edm::ParameterSet AbstractConfFitter::defaults ( ) const
pure virtual

◆ vertex() [1/7]

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 14 of file AbstractConfFitter.cc.

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

Referenced by Tau.Tau::dxy(), ConfigurableVertexFitter::vertex(), and ReconstructorFromFitter::vertices().

14  {
15  return theFitter->vertex(t);
16 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter

◆ vertex() [2/7]

CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< RefCountedVertexTrack > &  tracks) const
override

Definition at line 18 of file AbstractConfFitter.cc.

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

Referenced by Tau.Tau::dxy().

18  {
19  return theFitter->vertex(tracks);
20 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter

◆ vertex() [3/7]

CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< RefCountedVertexTrack > &  tracks,
const reco::BeamSpot spot 
) const
override

Definition at line 22 of file AbstractConfFitter.cc.

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

Referenced by Tau.Tau::dxy().

23  {
24  return theFitter->vertex(tracks, spot);
25 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter

◆ vertex() [4/7]

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 27 of file AbstractConfFitter.cc.

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

Referenced by Tau.Tau::dxy().

28  {
29  return theFitter->vertex(tracks, linPoint);
30 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter

◆ vertex() [5/7]

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 32 of file AbstractConfFitter.cc.

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

Referenced by Tau.Tau::dxy().

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

◆ vertex() [6/7]

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 38 of file AbstractConfFitter.cc.

References isoTrack_cff::beamSpot, theFitter, DiMuonV_cfg::tracks, and VertexFitter< N >::vertex().

Referenced by Tau.Tau::dxy().

39  {
40  return theFitter->vertex(tracks, beamSpot);
41 }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
const VertexFitter< 5 > * theFitter

◆ vertex() [7/7]

CachingVertex< 5 > AbstractConfFitter::vertex ( const std::vector< RefCountedVertexTrack > &  tracks,
const GlobalPoint priorPos,
const GlobalError priorError 
) const
override

Definition at line 43 of file AbstractConfFitter.cc.

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

Referenced by Tau.Tau::dxy().

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

Member Data Documentation

◆ theFitter

const VertexFitter<5>* AbstractConfFitter::theFitter