CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
ToyCgem Class Reference

#include <CgemGeoAlign.h>

Public Member Functions

 ToyCgem (int layer_vir, double r, double x0, double y0, double z0, double rx, double ry, double rz)
 
Hep3Vector getdir ()
 
double GetX0 ()
 
double GetY0 ()
 
double GetZ0 ()
 
double GetRX ()
 
double GetRY ()
 
double GetRZ ()
 
double GetR ()
 

Detailed Description

Definition at line 14 of file CgemGeoAlign.h.

Constructor & Destructor Documentation

◆ ToyCgem()

ToyCgem::ToyCgem ( int layer_vir,
double r,
double x0,
double y0,
double z0,
double rx,
double ry,
double rz )

Definition at line 693 of file CgemGeoAlign.cxx.

694{
695
696 int layer_geo = int(layer_vir/2.);
697 R = r;
698 Layer = layer_geo;
699 X0 = x0;
700 Y0 = y0;
701 Z0 = z0;
702 RX = rx;
703 RY = ry;
704 RZ = rz;
705
706}

Member Function Documentation

◆ getdir()

Hep3Vector ToyCgem::getdir ( )

Definition at line 708 of file CgemGeoAlign.cxx.

709{
710 Hep3Vector orin(0,0,1);
711 // the sign dependent on the defination of ratation direction. Here we assume a clock wise rotation
712 // change the rotation to anti-clock wise direction By - Guoaq-Sep-28-2020
713 orin.rotateX(RX);
714 orin.rotateY(RY);
715 orin.rotateZ(RZ);
716 return orin;
717}

Referenced by CgemGeoAlign::getinter(), CgemGeoAlign::getinter(), CgemGeoAlign::getinter(), and CgemGeoAlign::getinter().

◆ GetR()

double ToyCgem::GetR ( )
inline

◆ GetRX()

double ToyCgem::GetRX ( )
inline

Definition at line 22 of file CgemGeoAlign.h.

22{return RX;}

◆ GetRY()

double ToyCgem::GetRY ( )
inline

Definition at line 23 of file CgemGeoAlign.h.

23{return RY;}

◆ GetRZ()

double ToyCgem::GetRZ ( )
inline

Definition at line 24 of file CgemGeoAlign.h.

24{return RZ;}

◆ GetX0()

double ToyCgem::GetX0 ( )
inline

◆ GetY0()

double ToyCgem::GetY0 ( )
inline

◆ GetZ0()

double ToyCgem::GetZ0 ( )
inline

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