Main Page
Namespaces
Classes
Package Documentation
RecoTracker
ConversionSeedGenerators
interface
IdealHelixParameters.h
Go to the documentation of this file.
1
#ifndef IDEALHELIXPARAMETERS_H
2
#define IDEALHELIXPARAMETERS_H
3
4
#include "
DataFormats/TrackReco/interface/Track.h
"
5
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
6
#include "
TrackingTools/TrajectoryParametrization/interface/GlobalTrajectoryParameters.h
"
7
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
8
9
/*
10
Given a track, evaluates the status of the track finding in the XY plane
11
the point of tangent of the circle to the reference point(in general the PrimaryVertex or the BeamSpot)
12
13
The approach is the following.
14
Given a track,
15
-extract the innermomentum at the innerpoint
16
-evalaute the radius of curvature and the center of the circle
17
-solving geometrical equation, evaluate the point of tangence to the circle, starting from the PV
18
-evaluate the status at this point of tangence T
19
20
*/
21
class
IdealHelixParameters
{
22
23
public
:
24
25
IdealHelixParameters
():
26
_magnField
(
nullptr
),
_track
(
nullptr
),
27
_refPoint
(
math
::
XYZVector
(0,0,0)),
28
_tangentPoint
(
math
::
XYZVector
(0,0,0)),
29
_MomentumAtTangentPoint
(
math
::
XYZVector
(0,0,0)){};
30
~IdealHelixParameters
(){};
31
32
inline
void
setMagnField
(
const
MagneticField
* magnField){
_magnField
=magnField;}
33
inline
void
setData
(
const
reco::Track
*
track
,
const
math::XYZVector
& refPoint=
math::XYZVector
(0,0,0));
34
inline
void
setData
(
const
reco::Track
* track,
const
math::XYZPoint
& ref);
35
36
inline
bool
isTangentPointDistanceLessThan
(
float
rmax,
const
reco::Track
* track,
const
math::XYZVector
& refPoint);
37
38
math::XYZVector
GetCircleCenter
()
const
{
return
_circleCenter
;}
39
math::XYZVector
GetTangentPoint
()
const
{
return
_tangentPoint
;}
40
math::XYZVector
GetMomentumAtTangentPoint
()
const
{
return
_MomentumAtTangentPoint
;}
41
float
GetTransverseIPAtTangent
()
const
{
return
_transverseIP
;}
42
float
GetRotationAngle
()
const
{
return
_rotationAngle
;}
43
44
private
:
45
46
inline
void
calculate
();
47
inline
void
evalCircleCenter
();
48
inline
void
evalTangentPoint
();
49
inline
void
evalMomentumatTangentPoint
();
50
51
const
MagneticField
*
_magnField
;
52
const
reco::Track
*
_track
;
53
float
_radius
;
54
math::XYZVector
_circleCenter
;
55
math::XYZVector
_refPoint
;
56
math::XYZVector
_tangentPoint
;
57
math::XYZVector
_MomentumAtTangentPoint
;
58
float
_transverseIP
;
59
float
_rotationAngle
;
60
61
// std::stringstream ss;
62
63
};
64
#include "IdealHelixParameters.icc"
65
66
#endif
IdealHelixParameters::_transverseIP
float _transverseIP
Definition:
IdealHelixParameters.h:58
IdealHelixParameters::setData
void setData(const reco::Track *track, const math::XYZVector &refPoint=math::XYZVector(0, 0, 0))
IdealHelixParameters::GetRotationAngle
float GetRotationAngle() const
Definition:
IdealHelixParameters.h:42
MessageLogger.h
IdealHelixParameters::~IdealHelixParameters
~IdealHelixParameters()
Definition:
IdealHelixParameters.h:30
IdealHelixParameters::calculate
void calculate()
IdealHelixParameters::GetCircleCenter
math::XYZVector GetCircleCenter() const
Definition:
IdealHelixParameters.h:38
IdealHelixParameters::_track
const reco::Track * _track
Definition:
IdealHelixParameters.h:52
IdealHelixParameters::setMagnField
void setMagnField(const MagneticField *magnField)
Definition:
IdealHelixParameters.h:32
IdealHelixParameters::evalTangentPoint
void evalTangentPoint()
nullptr
#define nullptr
Definition:
GCC11Compatibility.h:37
IdealHelixParameters::evalCircleCenter
void evalCircleCenter()
MagneticField
Definition:
MagneticField.h:19
TrackFwd.h
IdealHelixParameters::_rotationAngle
float _rotationAngle
Definition:
IdealHelixParameters.h:59
IdealHelixParameters::GetMomentumAtTangentPoint
math::XYZVector GetMomentumAtTangentPoint() const
Definition:
IdealHelixParameters.h:40
IdealHelixParameters::_MomentumAtTangentPoint
math::XYZVector _MomentumAtTangentPoint
Definition:
IdealHelixParameters.h:57
IdealHelixParameters::GetTangentPoint
math::XYZVector GetTangentPoint() const
Definition:
IdealHelixParameters.h:39
IdealHelixParameters::IdealHelixParameters
IdealHelixParameters()
Definition:
IdealHelixParameters.h:25
IdealHelixParameters::_refPoint
math::XYZVector _refPoint
Definition:
IdealHelixParameters.h:55
IdealHelixParameters::GetTransverseIPAtTangent
float GetTransverseIPAtTangent() const
Definition:
IdealHelixParameters.h:41
GlobalTrajectoryParameters.h
math
Definition:
Error.h:16
IdealHelixParameters::_circleCenter
math::XYZVector _circleCenter
Definition:
IdealHelixParameters.h:54
HiIsolationCommonParameters_cff.track
track
Definition:
HiIsolationCommonParameters_cff.py:9
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition:
Vector3D.h:30
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
reco::Track
Definition:
Track.h:28
IdealHelixParameters
Definition:
IdealHelixParameters.h:21
IdealHelixParameters::_magnField
const MagneticField * _magnField
Definition:
IdealHelixParameters.h:51
IdealHelixParameters::isTangentPointDistanceLessThan
bool isTangentPointDistanceLessThan(float rmax, const reco::Track *track, const math::XYZVector &refPoint)
XYZVector
math::XYZVector XYZVector
Definition:
RawParticle.h:28
IdealHelixParameters::evalMomentumatTangentPoint
void evalMomentumatTangentPoint()
Track.h
IdealHelixParameters::_radius
float _radius
Definition:
IdealHelixParameters.h:53
IdealHelixParameters::_tangentPoint
math::XYZVector _tangentPoint
Definition:
IdealHelixParameters.h:56
Generated for CMSSW Reference Manual by
1.8.11