CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
ToyRay Class Reference

#include <CgemGeoAlign.h>

Public Member Functions

 ToyRay (double dr, double phi, double dz, double tanl)
 
Hep3Vector getdir ()
 
double GetDrho ()
 
double GetPhi ()
 
double GetDz ()
 
double GetTanL ()
 

Detailed Description

Definition at line 40 of file CgemGeoAlign.h.

Constructor & Destructor Documentation

◆ ToyRay()

ToyRay::ToyRay ( double dr,
double phi,
double dz,
double tanl )

Definition at line 719 of file CgemGeoAlign.cxx.

720{
721 Drho = dr;
722 Phi = phi;
723 Dz = dz;
724 TanL = tanl;
725}

Member Function Documentation

◆ getdir()

Hep3Vector ToyRay::getdir ( )

Definition at line 727 of file CgemGeoAlign.cxx.

728{
729 Hep3Vector LV(cos(Phi-TMath::Pi()/2.),sin(Phi-TMath::Pi()/2.),TanL);
730 return LV.unit();
731}
double sin(const BesAngle a)
Definition BesAngle.h:210
double cos(const BesAngle a)
Definition BesAngle.h:213

◆ GetDrho()

double ToyRay::GetDrho ( )
inline

◆ GetDz()

double ToyRay::GetDz ( )
inline

◆ GetPhi()

double ToyRay::GetPhi ( )
inline

◆ GetTanL()

double ToyRay::GetTanL ( )
inline

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