CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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  :
19  position_(0.,0.,0.), momentum_(0.,0.,0.),
20  deltaP_(0.), sigDeltaP_(0.) {}
math::XYZVector momentum_
Definition: GsfTangent.h:38
double sigDeltaP_
Definition: GsfTangent.h:40
math::XYZPoint position_
Definition: GsfTangent.h:37
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 22 of file GsfTangent.h.

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

24  :
26  deltaP_ = deltaP.value();
27  sigDeltaP_ = deltaP.error();
28  }
math::XYZVector momentum_
Definition: GsfTangent.h:38
double error() const
Definition: Measurement1D.h:30
const math::XYZPoint & position() const
Definition: GsfTangent.h:29
double sigDeltaP_
Definition: GsfTangent.h:40
double value() const
Definition: Measurement1D.h:28
const math::XYZVector & momentum() const
Definition: GsfTangent.h:30
math::XYZPoint position_
Definition: GsfTangent.h:37

Member Function Documentation

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

estimated deltaP (p_out-p_in)

Definition at line 32 of file GsfTangent.h.

References deltaP_, and sigDeltaP_.

32  {
34  }
double sigDeltaP_
Definition: GsfTangent.h:40
const math::XYZVector& reco::GsfTangent::momentum ( ) const
inline

Definition at line 30 of file GsfTangent.h.

References momentum_.

30 {return momentum_;}
math::XYZVector momentum_
Definition: GsfTangent.h:38
const math::XYZPoint& reco::GsfTangent::position ( ) const
inline

Definition at line 29 of file GsfTangent.h.

References position_.

29 {return position_;}
math::XYZPoint position_
Definition: GsfTangent.h:37

Member Data Documentation

double reco::GsfTangent::deltaP_
private

Definition at line 39 of file GsfTangent.h.

Referenced by deltaP(), and GsfTangent().

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

Definition at line 38 of file GsfTangent.h.

Referenced by momentum().

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

Definition at line 37 of file GsfTangent.h.

Referenced by position().

double reco::GsfTangent::sigDeltaP_
private

Definition at line 40 of file GsfTangent.h.

Referenced by deltaP(), and GsfTangent().