Static Public Member Functions | List of all members
evd::GeoTransform Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-10-23/EventDisplay/GeoTransform.h"

Static Public Member Functions

static void XYZ (double *xyz)
 
static void XYZ (double *x, double *y, double *z)
 
static void XYZ (TVector3 &v)
 
static void X (double *x)
 
static void Y (double *y)
 
static void Z (double *z)
 

Detailed Description

Definition at line 12 of file GeoTransform.h.

Member Function Documentation

void GeoTransform::X ( double *  x)
static

Definition at line 44 of file GeoTransform.cxx.

References evd::GeometryDrawingOptions::fFlip, and evd::GeometryDrawingOptions::kFLIP_X.

Referenced by XYZ().

45 {
47  bool flipx = geoopt->fFlip & evd::GeometryDrawingOptions::kFLIP_X;
48  if (flipx) *x = -(*x);
49 }
int fFlip
Reverse the sense of any of the coordinate axes?
void GeoTransform::XYZ ( double *  xyz)
static
void GeoTransform::XYZ ( double *  x,
double *  y,
double *  z 
)
static

Definition at line 20 of file GeoTransform.cxx.

References X(), Y(), and Z().

21 {
25 }
static void X(double *x)
z
Definition: test.py:28
static void Z(double *z)
static void Y(double *y)
void GeoTransform::XYZ ( TVector3 &  v)
static

Definition at line 29 of file GeoTransform.cxx.

References evd::GeometryDrawingOptions::fFlip, evd::GeometryDrawingOptions::kFLIP_X, evd::GeometryDrawingOptions::kFLIP_Y, and evd::GeometryDrawingOptions::kFLIP_Z.

30 {
32 
33  bool flipx = geoopt->fFlip & evd::GeometryDrawingOptions::kFLIP_X;
34  bool flipy = geoopt->fFlip & evd::GeometryDrawingOptions::kFLIP_Y;
35  bool flipz = geoopt->fFlip & evd::GeometryDrawingOptions::kFLIP_Z;
36 
37  if (flipx) v.SetX(-v.X());
38  if (flipy) v.SetY(-v.Y());
39  if (flipz) v.SetZ(-v.Z());
40 }
int fFlip
Reverse the sense of any of the coordinate axes?
void GeoTransform::Y ( double *  y)
static

Definition at line 53 of file GeoTransform.cxx.

References evd::GeometryDrawingOptions::fFlip, and evd::GeometryDrawingOptions::kFLIP_Y.

Referenced by XYZ().

54 {
56  bool flipy = geoopt->fFlip & evd::GeometryDrawingOptions::kFLIP_Y;
57  if (flipy) *y = -(*y);
58 }
int fFlip
Reverse the sense of any of the coordinate axes?
void GeoTransform::Z ( double *  z)
static

Definition at line 62 of file GeoTransform.cxx.

References evd::GeometryDrawingOptions::fFlip, and evd::GeometryDrawingOptions::kFLIP_Z.

Referenced by evd::TZProjPad::LayoutHisto(), and XYZ().

63 {
65  bool flipz = geoopt->fFlip & evd::GeometryDrawingOptions::kFLIP_Z;
66  if (flipz) *z = -(*z);
67 }
z
Definition: test.py:28
int fFlip
Reverse the sense of any of the coordinate axes?

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