CMS 3D CMS Logo

List of all members | Public Member Functions
ZeroLinearizationPointFinder Class Reference

#include <ZeroLinearizationPointFinder.h>

Inheritance diagram for ZeroLinearizationPointFinder:
LinearizationPointFinder

Public Member Functions

ZeroLinearizationPointFinderclone () const override
 
GlobalPoint getLinearizationPoint (const std::vector< FreeTrajectoryState > &) const override
 
GlobalPoint getLinearizationPoint (const std::vector< reco::TransientTrack > &) const override
 
- Public Member Functions inherited from LinearizationPointFinder
virtual ~LinearizationPointFinder ()
 

Detailed Description

A linearization point finder that always returns (0,0,0)

Definition at line 10 of file ZeroLinearizationPointFinder.h.

Member Function Documentation

◆ clone()

ZeroLinearizationPointFinder* ZeroLinearizationPointFinder::clone ( ) const
inlineoverridevirtual

Clone method

Implements LinearizationPointFinder.

Definition at line 15 of file ZeroLinearizationPointFinder.h.

15 { return new ZeroLinearizationPointFinder(*this); };

◆ getLinearizationPoint() [1/2]

GlobalPoint ZeroLinearizationPointFinder::getLinearizationPoint ( const std::vector< FreeTrajectoryState > &  tracks) const
overridevirtual

Reimplemented from LinearizationPointFinder.

Definition at line 5 of file ZeroLinearizationPointFinder.cc.

5  {
6  return GlobalPoint(0., 0., 0.);
7 }

◆ getLinearizationPoint() [2/2]

GlobalPoint ZeroLinearizationPointFinder::getLinearizationPoint ( const std::vector< reco::TransientTrack > &  ) const
overridevirtual

Virtual method returning the Initial Linearization Point as an object of type GlobalPoint

Implements LinearizationPointFinder.

Definition at line 9 of file ZeroLinearizationPointFinder.cc.

9  {
10  return GlobalPoint(0., 0., 0.);
11 }
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
ZeroLinearizationPointFinder
Definition: ZeroLinearizationPointFinder.h:10