Main Page
Namespaces
Classes
Package Documentation
DataFormats
GsfTrackReco
interface
GsfTangent.h
Go to the documentation of this file.
1
#ifndef GsfTrackReco_GsfTangent_h
2
#define GsfTrackReco_GsfTangent_h
3
8
#include "
DataFormats/Math/interface/Vector3D.h
"
9
#include "
DataFormats/Math/interface/Point3D.h
"
10
#include "
DataFormats/Math/interface/Vector.h
"
11
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
12
13
namespace
reco
{
14
15
class
GsfTangent
{
16
public
:
18
GsfTangent
() :
position_
(0., 0., 0.),
momentum_
(0., 0., 0.),
deltaP_
(0.),
sigDeltaP_
(0.) {}
20
GsfTangent
(
const
math::XYZPoint
&
position
,
const
math::XYZVector
&
momentum
,
const
Measurement1D
&
deltaP
)
21
:
position_
(position),
momentum_
(momentum) {
22
deltaP_
= deltaP.
value
();
23
sigDeltaP_
= deltaP.
error
();
24
}
25
const
math::XYZPoint
&
position
()
const
{
return
position_
; }
26
const
math::XYZVector
&
momentum
()
const
{
return
momentum_
; }
28
Measurement1D
deltaP
()
const
{
return
Measurement1D
(
deltaP_
,
sigDeltaP_
); }
29
30
private
:
31
math::XYZPoint
position_
;
32
math::XYZVector
momentum_
;
33
double
deltaP_
;
34
double
sigDeltaP_
;
35
};
36
}
// namespace reco
37
#endif
reco::GsfTangent
Definition:
GsfTangent.h:15
reco::GsfTangent::momentum_
math::XYZVector momentum_
Definition:
GsfTangent.h:32
reco::GsfTangent::deltaP_
double deltaP_
Definition:
GsfTangent.h:33
Measurement1D::error
double error() const
Definition:
Measurement1D.h:27
reco::GsfTangent::deltaP
Measurement1D deltaP() const
estimated deltaP (p_out-p_in)
Definition:
GsfTangent.h:28
reco::GsfTangent::position
const math::XYZPoint & position() const
Definition:
GsfTangent.h:25
Point3D.h
reco::GsfTangent::sigDeltaP_
double sigDeltaP_
Definition:
GsfTangent.h:34
Vector.h
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition:
Vector3D.h:31
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
Measurement1D.h
Measurement1D::value
double value() const
Definition:
Measurement1D.h:25
Measurement1D
Definition:
Measurement1D.h:11
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
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
reco::GsfTangent::momentum
const math::XYZVector & momentum() const
Definition:
GsfTangent.h:26
Vector3D.h
reco::GsfTangent::position_
math::XYZPoint position_
Definition:
GsfTangent.h:31
reco::GsfTangent::GsfTangent
GsfTangent()
default constructor
Definition:
GsfTangent.h:18
Generated for CMSSW Reference Manual by
1.8.11