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 ()
 
 AbstractConfFitter (const AbstractConfFitter &)
 
 AbstractConfFitter (const VertexFitter< 5 > &f)
 
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< 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 override
 
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const override
 
CachingVertex< 5 > vertex (const std::vector< RefCountedVertexTrack > &tracks, const reco::BeamSpot &spot) 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 GlobalPoint &priorPos, const GlobalError &priorError) const=0
 
virtual CachingVertex< Nvertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks, const reco::BeamSpot &spot) 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()) {}

◆ AbstractConfFitter() [2/3]

AbstractConfFitter::AbstractConfFitter ( )

Definition at line 5 of file AbstractConfFitter.cc.

5 : theFitter(nullptr) {}

◆ AbstractConfFitter() [3/3]

AbstractConfFitter::AbstractConfFitter ( const AbstractConfFitter o)

Definition at line 7 of file AbstractConfFitter.cc.

7 : theFitter(o.theFitter->clone()) {}

◆ ~AbstractConfFitter()

AbstractConfFitter::~AbstractConfFitter ( )
override

Definition at line 9 of file AbstractConfFitter.cc.

9  {
10  if (theFitter)
11  delete theFitter;
12 }

References 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.

14  {
15  return theFitter->vertex(t);
16 }

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

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

◆ vertex() [2/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.

28  {
29  return theFitter->vertex(tracks, linPoint);
30 }

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

Referenced by Tau.Tau::dxy().

◆ vertex() [3/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.

34  {
35  return theFitter->vertex(tracks, priorPos, priorError);
36 }

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

Referenced by Tau.Tau::dxy().

◆ vertex() [4/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.

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

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

Referenced by Tau.Tau::dxy().

◆ vertex() [5/7]

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

Definition at line 18 of file AbstractConfFitter.cc.

18  {
19  return theFitter->vertex(tracks);
20 }

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

Referenced by Tau.Tau::dxy().

◆ vertex() [6/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.

45  {
46  return theFitter->vertex(tracks, priorPos, priorError);
47 }

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

Referenced by Tau.Tau::dxy().

◆ vertex() [7/7]

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

Definition at line 22 of file AbstractConfFitter.cc.

23  {
24  return theFitter->vertex(tracks, spot);
25 }

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

Referenced by Tau.Tau::dxy().

Member Data Documentation

◆ theFitter

const VertexFitter<5>* AbstractConfFitter::theFitter
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
AbstractConfFitter::theFitter
const VertexFitter< 5 > * theFitter
Definition: AbstractConfFitter.h:41
VertexFitter::vertex
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:176
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644