ATLAS Offline Software
Loading...
Searching...
No Matches
GeoRegion.cxx File Reference
#include "ISF_FastCaloGpu/GeoRegion.h"
#include <iostream>
Include dependency graph for GeoRegion.cxx:

Go to the source code of this file.

Macros

#define M_PI   3.14159265358979323846
#define M_2PI   6.28318530717958647692

Functions

__HOSTDEV__ double Phi_mpi_pi (double x)

Macro Definition Documentation

◆ M_2PI

#define M_2PI   6.28318530717958647692

Definition at line 8 of file GeoRegion.cxx.

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 7 of file GeoRegion.cxx.

Function Documentation

◆ Phi_mpi_pi()

__HOSTDEV__ double Phi_mpi_pi ( double x)

Definition at line 10 of file GeoRegion.cxx.

10 {
11 while ( x >= M_PI ) x -= M_2PI;
12 while ( x < -M_PI ) x += M_2PI;
13 return x;
14}
#define M_PI
#define M_2PI
#define x