CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::GsfTangent Class Reference

#include <GsfTangent.h>

List of all members.

Public Member Functions

Measurement1D deltaP () const
 estimated deltaP (p_out-p_in)
 GsfTangent (const math::XYZPoint &position, const math::XYZVector &momentum, const Measurement1D &deltaP)
 constructor from position, momentum and estimated deltaP
 GsfTangent ()
 default constructor
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.

                  :
      position_(0.,0.,0.), momentum_(0.,0.,0.),
      deltaP_(0.), sigDeltaP_(0.) {}
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().

                                             :
      position_(position), momentum_(momentum) {
      deltaP_ = deltaP.value();
      sigDeltaP_ = deltaP.error();
    }

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

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

Definition at line 30 of file GsfTangent.h.

References momentum_.

{return momentum_;}
const math::XYZPoint& reco::GsfTangent::position ( ) const [inline]

Definition at line 29 of file GsfTangent.h.

References position_.

{return position_;}

Member Data Documentation

double reco::GsfTangent::deltaP_ [private]

Definition at line 39 of file GsfTangent.h.

Referenced by deltaP(), and GsfTangent().

Definition at line 38 of file GsfTangent.h.

Referenced by momentum().

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