RecoTracker
NuclearSeedGenerator
interface
TangentHelix.h
Go to the documentation of this file.
1
#ifndef _TangentHelix_H_
2
#define _TangentHelix_H_
3
4
#include "
RecoTracker/NuclearSeedGenerator/interface/TangentCircle.h
"
5
6
class
TangentHelix
{
7
public
:
8
TangentHelix
() {}
9
12
TangentHelix
(
const
GlobalVector
& direction,
const
GlobalPoint
&
innerPoint
,
const
GlobalPoint
&
outerPoint
)
13
:
theInnerPoint
(
innerPoint
),
14
theOuterPoint
(
outerPoint
),
15
theVertexPoint
(
innerPoint
),
16
theCircle
(direction,
innerPoint
,
outerPoint
),
17
theDirectionAtVertex
(direction) {}
18
20
TangentHelix
(
const
GlobalPoint
&
outerPoint
,
const
GlobalPoint
&
innerPoint
,
const
GlobalPoint
&
vertexPoint
)
21
:
theInnerPoint
(
innerPoint
),
22
theOuterPoint
(
outerPoint
),
23
theVertexPoint
(
vertexPoint
),
24
theCircle
(
outerPoint
,
innerPoint
,
vertexPoint
) {
25
theDirectionAtVertex
=
GlobalVector
(1000, 1000, 1000);
26
}
27
29
TangentHelix
(
const
TangentHelix
& primCircle,
const
GlobalPoint
&
outerPoint
,
const
GlobalPoint
&
innerPoint
);
30
31
GlobalPoint
outerPoint
()
const
{
return
theOuterPoint
; }
32
33
GlobalPoint
innerPoint
()
const
{
return
theInnerPoint
; }
34
35
GlobalPoint
vertexPoint
()
const
{
return
theVertexPoint
; }
36
37
TangentCircle
circle
()
const
{
return
theCircle
; }
38
39
GlobalVector
directionAtVertex
();
40
41
int
charge
(
float
magz) {
return
theCircle
.
charge
(magz); }
42
43
double
rho
()
const
{
return
theCircle
.
rho
(); }
44
45
double
curvatureError
() {
return
theCircle
.
curvatureError
(); }
46
47
double
vertexError
() {
return
theCircle
.
vertexError
(); }
48
49
private
:
50
GlobalPoint
theInnerPoint
;
51
GlobalPoint
theOuterPoint
;
52
GlobalPoint
theVertexPoint
;
53
54
TangentCircle
theCircle
;
55
56
GlobalVector
theDirectionAtVertex
;
57
};
58
59
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
TangentHelix::theVertexPoint
GlobalPoint theVertexPoint
Definition:
TangentHelix.h:52
TangentHelix::vertexError
double vertexError()
Definition:
TangentHelix.h:47
TangentHelix::TangentHelix
TangentHelix(const GlobalVector &direction, const GlobalPoint &innerPoint, const GlobalPoint &outerPoint)
Definition:
TangentHelix.h:12
TangentHelix::theCircle
TangentCircle theCircle
Definition:
TangentHelix.h:54
TangentCircle::curvatureError
double curvatureError()
Definition:
TangentCircle.cc:193
TangentHelix::charge
int charge(float magz)
Definition:
TangentHelix.h:41
GlobalVector
Global3DVector GlobalVector
Definition:
GlobalVector.h:10
TangentCircle::vertexError
double vertexError() const
Definition:
TangentCircle.h:50
TangentHelix::theOuterPoint
GlobalPoint theOuterPoint
Definition:
TangentHelix.h:51
TangentHelix::vertexPoint
GlobalPoint vertexPoint() const
Definition:
TangentHelix.h:35
TangentHelix::rho
double rho() const
Definition:
TangentHelix.h:43
TangentHelix::theInnerPoint
GlobalPoint theInnerPoint
Definition:
TangentHelix.h:50
Point3DBase< float, GlobalTag >
TangentHelix::theDirectionAtVertex
GlobalVector theDirectionAtVertex
Definition:
TangentHelix.h:56
TangentCircle.h
TangentCircle
Definition:
TangentCircle.h:7
TangentHelix::circle
TangentCircle circle() const
Definition:
TangentHelix.h:37
TangentHelix::innerPoint
GlobalPoint innerPoint() const
Definition:
TangentHelix.h:33
TangentCircle::charge
int charge(float magz)
Definition:
TangentCircle.cc:205
TangentHelix::TangentHelix
TangentHelix()
Definition:
TangentHelix.h:8
TangentCircle::rho
double rho() const
Definition:
TangentCircle.h:42
TangentHelix::TangentHelix
TangentHelix(const GlobalPoint &outerPoint, const GlobalPoint &innerPoint, const GlobalPoint &vertexPoint)
Calculate Helix from 3 points.
Definition:
TangentHelix.h:20
TangentHelix::outerPoint
GlobalPoint outerPoint() const
Definition:
TangentHelix.h:31
TangentHelix
Definition:
TangentHelix.h:6
TangentHelix::curvatureError
double curvatureError()
Definition:
TangentHelix.h:45
TangentHelix::directionAtVertex
GlobalVector directionAtVertex()
Definition:
TangentHelix.cc:17
Generated for CMSSW Reference Manual by
1.8.16