CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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
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_, Measurement1D::error(), sigDeltaP_, and Measurement1D::value().

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

Member Function Documentation

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

estimated deltaP (p_out-p_in)

Definition at line 28 of file GsfTangent.h.

References deltaP_, and sigDeltaP_.

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

double reco::GsfTangent::deltaP_
private

Definition at line 33 of file GsfTangent.h.

Referenced by deltaP(), and GsfTangent().

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

Definition at line 32 of file GsfTangent.h.

Referenced by momentum().

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

Definition at line 31 of file GsfTangent.h.

Referenced by position().

double reco::GsfTangent::sigDeltaP_
private

Definition at line 34 of file GsfTangent.h.

Referenced by deltaP(), and GsfTangent().