CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
IdealHelixParameters Class Reference

#include <IdealHelixParameters.h>

Public Member Functions

math::XYZVector GetCircleCenter () const
 
math::XYZVector GetMomentumAtTangentPoint () const
 
float GetRotationAngle () const
 
math::XYZVector GetTangentPoint () const
 
float GetTransverseIPAtTangent () const
 
 IdealHelixParameters ()
 
bool isTangentPointDistanceLessThan (float rmax, const reco::Track *track, const math::XYZVector &refPoint)
 
void setData (const reco::Track *track, const math::XYZPoint &ref)
 
void setData (const reco::Track *track, const math::XYZVector &refPoint=math::XYZVector(0, 0, 0))
 
void setMagnField (const MagneticField *magnField)
 
 ~IdealHelixParameters ()
 

Private Member Functions

void calculate ()
 
void evalCircleCenter ()
 
void evalMomentumatTangentPoint ()
 
void evalTangentPoint ()
 

Private Attributes

math::XYZVector _circleCenter
 
const MagneticField_magnField
 
math::XYZVector _MomentumAtTangentPoint
 
float _radius
 
math::XYZVector _refPoint
 
float _rotationAngle
 
math::XYZVector _tangentPoint
 
const reco::Track_track
 
float _transverseIP
 

Detailed Description

Definition at line 21 of file IdealHelixParameters.h.

Constructor & Destructor Documentation

◆ IdealHelixParameters()

IdealHelixParameters::IdealHelixParameters ( )
inline

Definition at line 23 of file IdealHelixParameters.h.

24  : _magnField(nullptr),
25  _track(nullptr),
26  _refPoint(math::XYZVector(0, 0, 0)),

◆ ~IdealHelixParameters()

IdealHelixParameters::~IdealHelixParameters ( )
inline

Definition at line 29 of file IdealHelixParameters.h.

29 {};

Member Function Documentation

◆ calculate()

void IdealHelixParameters::calculate ( )
inlineprivate

◆ evalCircleCenter()

void IdealHelixParameters::evalCircleCenter ( )
inlineprivate

◆ evalMomentumatTangentPoint()

void IdealHelixParameters::evalMomentumatTangentPoint ( )
inlineprivate

◆ evalTangentPoint()

void IdealHelixParameters::evalTangentPoint ( )
inlineprivate

◆ GetCircleCenter()

math::XYZVector IdealHelixParameters::GetCircleCenter ( ) const
inline

Definition at line 37 of file IdealHelixParameters.h.

37 { return _circleCenter; }

References _circleCenter.

◆ GetMomentumAtTangentPoint()

math::XYZVector IdealHelixParameters::GetMomentumAtTangentPoint ( ) const
inline

◆ GetRotationAngle()

float IdealHelixParameters::GetRotationAngle ( ) const
inline

Definition at line 41 of file IdealHelixParameters.h.

41 { return _rotationAngle; }

References _rotationAngle.

◆ GetTangentPoint()

math::XYZVector IdealHelixParameters::GetTangentPoint ( ) const
inline

◆ GetTransverseIPAtTangent()

float IdealHelixParameters::GetTransverseIPAtTangent ( ) const
inline

Definition at line 40 of file IdealHelixParameters.h.

40 { return _transverseIP; }

References _transverseIP.

◆ isTangentPointDistanceLessThan()

bool IdealHelixParameters::isTangentPointDistanceLessThan ( float  rmax,
const reco::Track track,
const math::XYZVector refPoint 
)
inline

◆ setData() [1/2]

void IdealHelixParameters::setData ( const reco::Track track,
const math::XYZPoint ref 
)
inline

◆ setData() [2/2]

void IdealHelixParameters::setData ( const reco::Track track,
const math::XYZVector refPoint = math::XYZVector(0, 0, 0) 
)
inline

◆ setMagnField()

void IdealHelixParameters::setMagnField ( const MagneticField magnField)
inline

Member Data Documentation

◆ _circleCenter

math::XYZVector IdealHelixParameters::_circleCenter
private

Definition at line 52 of file IdealHelixParameters.h.

Referenced by GetCircleCenter().

◆ _magnField

const MagneticField* IdealHelixParameters::_magnField
private

Definition at line 49 of file IdealHelixParameters.h.

Referenced by setMagnField().

◆ _MomentumAtTangentPoint

math::XYZVector IdealHelixParameters::_MomentumAtTangentPoint
private

Definition at line 55 of file IdealHelixParameters.h.

Referenced by GetMomentumAtTangentPoint().

◆ _radius

float IdealHelixParameters::_radius
private

Definition at line 51 of file IdealHelixParameters.h.

◆ _refPoint

math::XYZVector IdealHelixParameters::_refPoint
private

Definition at line 53 of file IdealHelixParameters.h.

◆ _rotationAngle

float IdealHelixParameters::_rotationAngle
private

Definition at line 57 of file IdealHelixParameters.h.

Referenced by GetRotationAngle().

◆ _tangentPoint

math::XYZVector IdealHelixParameters::_tangentPoint
private

Definition at line 54 of file IdealHelixParameters.h.

Referenced by GetTangentPoint().

◆ _track

const reco::Track* IdealHelixParameters::_track
private

Definition at line 50 of file IdealHelixParameters.h.

◆ _transverseIP

float IdealHelixParameters::_transverseIP
private

Definition at line 56 of file IdealHelixParameters.h.

Referenced by GetTransverseIPAtTangent().

IdealHelixParameters::_transverseIP
float _transverseIP
Definition: IdealHelixParameters.h:56
IdealHelixParameters::_tangentPoint
math::XYZVector _tangentPoint
Definition: IdealHelixParameters.h:54
IdealHelixParameters::_MomentumAtTangentPoint
math::XYZVector _MomentumAtTangentPoint
Definition: IdealHelixParameters.h:55
IdealHelixParameters::_rotationAngle
float _rotationAngle
Definition: IdealHelixParameters.h:57
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
IdealHelixParameters::_refPoint
math::XYZVector _refPoint
Definition: IdealHelixParameters.h:53
IdealHelixParameters::_circleCenter
math::XYZVector _circleCenter
Definition: IdealHelixParameters.h:52
IdealHelixParameters::_track
const reco::Track * _track
Definition: IdealHelixParameters.h:50
IdealHelixParameters::_magnField
const MagneticField * _magnField
Definition: IdealHelixParameters.h:49