CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::GsfTangent Class Reference

#include <GsfTangent.h>

Public Member Functions

Measurement1D deltaP () const
 estimated deltaP (p_out-p_in) More...
 
 GsfTangent ()
 default constructor More...
 
 GsfTangent (const math::XYZPoint &position, const math::XYZVector &momentum, const Measurement1D &deltaP)
 constructor from position, momentum and estimated deltaP More...
 
const math::XYZVectormomentum () const
 
const math::XYZPointposition () const
 

Private Attributes

double deltaP_
 
math::XYZVector momentum_
 
math::XYZPoint position_
 
double sigDeltaP_
 

Detailed Description

Definition at line 15 of file GsfTangent.h.

Constructor & Destructor Documentation

◆ GsfTangent() [1/2]

reco::GsfTangent::GsfTangent ( )
inline

default constructor

Definition at line 18 of file GsfTangent.h.

18 : position_(0., 0., 0.), momentum_(0., 0., 0.), deltaP_(0.), sigDeltaP_(0.) {}

◆ GsfTangent() [2/2]

reco::GsfTangent::GsfTangent ( const math::XYZPoint position,
const math::XYZVector momentum,
const Measurement1D deltaP 
)
inline

constructor from position, momentum and estimated deltaP

Definition at line 20 of file GsfTangent.h.

22  deltaP_ = deltaP.value();
24  }

References deltaP(), deltaP_, Measurement1D::error(), sigDeltaP_, and Measurement1D::value().

Member Function Documentation

◆ deltaP()

Measurement1D reco::GsfTangent::deltaP ( ) const
inline

estimated deltaP (p_out-p_in)

Definition at line 28 of file GsfTangent.h.

28 { return Measurement1D(deltaP_, sigDeltaP_); }

References deltaP_, and sigDeltaP_.

Referenced by GsfTangent().

◆ momentum()

const math::XYZVector& reco::GsfTangent::momentum ( ) const
inline

Definition at line 26 of file GsfTangent.h.

26 { return momentum_; }

References momentum_.

◆ position()

const math::XYZPoint& reco::GsfTangent::position ( ) const
inline

Definition at line 25 of file GsfTangent.h.

25 { return position_; }

References position_.

Member Data Documentation

◆ deltaP_

double reco::GsfTangent::deltaP_
private

Definition at line 33 of file GsfTangent.h.

Referenced by deltaP(), and GsfTangent().

◆ momentum_

math::XYZVector reco::GsfTangent::momentum_
private

Definition at line 32 of file GsfTangent.h.

Referenced by momentum().

◆ position_

math::XYZPoint reco::GsfTangent::position_
private

Definition at line 31 of file GsfTangent.h.

Referenced by position().

◆ sigDeltaP_

double reco::GsfTangent::sigDeltaP_
private

Definition at line 34 of file GsfTangent.h.

Referenced by deltaP(), and GsfTangent().

reco::GsfTangent::position_
math::XYZPoint position_
Definition: GsfTangent.h:31
Measurement1D
Definition: Measurement1D.h:11
Measurement1D::value
double value() const
Definition: Measurement1D.h:25
reco::GsfTangent::deltaP_
double deltaP_
Definition: GsfTangent.h:33
reco::GsfTangent::sigDeltaP_
double sigDeltaP_
Definition: GsfTangent.h:34
reco::GsfTangent::deltaP
Measurement1D deltaP() const
estimated deltaP (p_out-p_in)
Definition: GsfTangent.h:28
Measurement1D::error
double error() const
Definition: Measurement1D.h:27
reco::GsfTangent::momentum_
math::XYZVector momentum_
Definition: GsfTangent.h:32
reco::GsfTangent::momentum
const math::XYZVector & momentum() const
Definition: GsfTangent.h:26
reco::GsfTangent::position
const math::XYZPoint & position() const
Definition: GsfTangent.h:25