Belle II Software  release-08-01-10
TOPTrack::TrackAngles Struct Reference

Sine and cosine of track polar and azimuthal angles at assumed photon emission. More...

#include <TOPTrack.h>

Public Member Functions

 TrackAngles ()
 Default constructor.
 
 TrackAngles (const ROOT::Math::XYZVector &direction)
 Constructor from direction vector. More...
 
ROOT::Math::XYZVector getDirection () const
 Returns direction vector. More...
 

Public Attributes

double cosTh = 0
 cosine of polar angle
 
double sinTh = 0
 sine of polar angle
 
double cosFi = 0
 cosine of azimuthal angle
 
double sinFi = 0
 sine of azimuthal angle
 

Detailed Description

Sine and cosine of track polar and azimuthal angles at assumed photon emission.

Definition at line 46 of file TOPTrack.h.

Constructor & Destructor Documentation

◆ TrackAngles()

TrackAngles ( const ROOT::Math::XYZVector &  direction)
explicit

Constructor from direction vector.

Parameters
directiontrack direction at photon emission (must be unit vector)

Definition at line 35 of file TOPTrack.cc.

Member Function Documentation

◆ getDirection()

ROOT::Math::XYZVector getDirection ( ) const
inline

Returns direction vector.

Returns
direction vector

Definition at line 68 of file TOPTrack.h.


The documentation for this struct was generated from the following files: