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.) {}
math::XYZVector momentum_
Definition: GsfTangent.h:32
double sigDeltaP_
Definition: GsfTangent.h:34
math::XYZPoint position_
Definition: GsfTangent.h:31

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

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

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

Member Function Documentation

◆ deltaP()

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

estimated deltaP (p_out-p_in)

Definition at line 28 of file GsfTangent.h.

References deltaP_, and sigDeltaP_.

Referenced by GsfTangent().

◆ momentum()

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

Definition at line 26 of file GsfTangent.h.

References momentum_.

26 { return momentum_; }
math::XYZVector momentum_
Definition: GsfTangent.h:32

◆ position()

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

Definition at line 25 of file GsfTangent.h.

References position_.

25 { return position_; }
math::XYZPoint position_
Definition: GsfTangent.h:31

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