CMS 3D CMS Logo

GsfTangent.h
Go to the documentation of this file.
1 #ifndef GsfTrackReco_GsfTangent_h
2 #define GsfTrackReco_GsfTangent_h
3 
12 
13 namespace reco {
14 
15  class GsfTangent {
16  public:
18  GsfTangent() : position_(0., 0., 0.), momentum_(0., 0., 0.), deltaP_(0.), sigDeltaP_(0.) {}
22  deltaP_ = deltaP.value();
24  }
25  const math::XYZPoint& position() const { return position_; }
26  const math::XYZVector& momentum() const { return momentum_; }
29 
30  private:
33  double deltaP_;
34  double sigDeltaP_;
35  };
36 } // namespace reco
37 #endif
reco::GsfTangent::position_
math::XYZPoint position_
Definition: GsfTangent.h:31
Measurement1D
Definition: Measurement1D.h:11
reco::GsfTangent
Definition: GsfTangent.h:15
Vector.h
Measurement1D::value
double value() const
Definition: Measurement1D.h:25
Measurement1D.h
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::GsfTangent::GsfTangent
GsfTangent()
default constructor
Definition: GsfTangent.h:18
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
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
reco::GsfTangent::momentum
const math::XYZVector & momentum() const
Definition: GsfTangent.h:26
reco::GsfTangent::position
const math::XYZPoint & position() const
Definition: GsfTangent.h:25
Point3D.h
reco::GsfTangent::GsfTangent
GsfTangent(const math::XYZPoint &position, const math::XYZVector &momentum, const Measurement1D &deltaP)
constructor from position, momentum and estimated deltaP
Definition: GsfTangent.h:20
Vector3D.h