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::XYZVector &refPoint=math::XYZVector(0, 0, 0))
 
void setData (const reco::Track *track, const math::XYZPoint &ref)
 
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)),
const reco::Track * _track
math::XYZVector _MomentumAtTangentPoint
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
const MagneticField * _magnField
math::XYZVector _tangentPoint

◆ ~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.

References _circleCenter.

37 { return _circleCenter; }
math::XYZVector _circleCenter

◆ GetMomentumAtTangentPoint()

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

◆ GetRotationAngle()

float IdealHelixParameters::GetRotationAngle ( ) const
inline

Definition at line 41 of file IdealHelixParameters.h.

References _rotationAngle.

41 { return _rotationAngle; }

◆ GetTangentPoint()

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

◆ GetTransverseIPAtTangent()

float IdealHelixParameters::GetTransverseIPAtTangent ( ) const
inline

Definition at line 40 of file IdealHelixParameters.h.

References _transverseIP.

40 { return _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::XYZVector refPoint = math::XYZVector(0, 0, 0) 
)
inline

◆ setData() [2/2]

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

◆ setMagnField()

void IdealHelixParameters::setMagnField ( const MagneticField magnField)
inline

Definition at line 31 of file IdealHelixParameters.h.

References _magnField.

Referenced by PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::find(), and ConversionTrackProducer::produce().

31 { _magnField = magnField; }
const MagneticField * _magnField

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().