CGEM BOSS 6.6.5.g
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

Definition at line 45 of file CgemGeoAlign.h.

45{return Drho;}

Referenced by CgemGeoAlign::getinter().

◆ GetDz()

double ToyRay::GetDz ( )
inline

Definition at line 47 of file CgemGeoAlign.h.

47{return Dz;}

Referenced by CgemGeoAlign::getinter().

◆ GetPhi()

double ToyRay::GetPhi ( )
inline

Definition at line 46 of file CgemGeoAlign.h.

46{return Phi;}

Referenced by CgemGeoAlign::getinter().

◆ GetTanL()

double ToyRay::GetTanL ( )
inline

Definition at line 48 of file CgemGeoAlign.h.

48{return TanL;}

Referenced by CgemGeoAlign::getinter().


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