Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
() :
19
position_
(0.,0.,0.),
momentum_
(0.,0.,0.),
20
deltaP_
(0.),
sigDeltaP_
(0.) {}
22
GsfTangent
(
const
math::XYZPoint
&
position
,
23
const
math::XYZVector
&
momentum
,
24
const
Measurement1D
&
deltaP
) :
25
position_
(position),
momentum_
(momentum) {
26
deltaP_
= deltaP.
value
();
27
sigDeltaP_
= deltaP.
error
();
28
}
29
const
math::XYZPoint
&
position
()
const
{
return
position_
;}
30
const
math::XYZVector
&
momentum
()
const
{
return
momentum_
;}
32
Measurement1D
deltaP
()
const
{
33
return
Measurement1D
(
deltaP_
,
sigDeltaP_
);
34
}
35
36
private
:
37
math::XYZPoint
position_
;
38
math::XYZVector
momentum_
;
39
double
deltaP_
;
40
double
sigDeltaP_
;
41
};
42
}
43
#endif
reco::GsfTangent
Definition:
GsfTangent.h:15
reco::GsfTangent::momentum_
math::XYZVector momentum_
Definition:
GsfTangent.h:38
reco::GsfTangent::deltaP_
double deltaP_
Definition:
GsfTangent.h:39
Measurement1D::error
double error() const
Definition:
Measurement1D.h:30
reco::GsfTangent::deltaP
Measurement1D deltaP() const
estimated deltaP (p_out-p_in)
Definition:
GsfTangent.h:32
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
reco::GsfTangent::position
const math::XYZPoint & position() const
Definition:
GsfTangent.h:29
Point3D.h
reco::GsfTangent::sigDeltaP_
double sigDeltaP_
Definition:
GsfTangent.h:40
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:13
Measurement1D.h
Measurement1D::value
double value() const
Definition:
Measurement1D.h:28
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:22
reco::GsfTangent::momentum
const math::XYZVector & momentum() const
Definition:
GsfTangent.h:30
Vector3D.h
reco::GsfTangent::position_
math::XYZPoint position_
Definition:
GsfTangent.h:37
reco::GsfTangent::GsfTangent
GsfTangent()
default constructor
Definition:
GsfTangent.h:18
Generated for CMSSW Reference Manual by
1.8.5