ATLAS Offline Software
Loading...
Searching...
No Matches
TIDARoiParameters.cxx File Reference
#include <cmath>
#include "TrigInDetAnalysis/TIDARoiParameters.h"
Include dependency graph for TIDARoiParameters.cxx:

Go to the source code of this file.

Macros

#define M_PI   3.141592653589793238462643383279502884197

Functions

 ClassImp (TIDARoiParameters) static const float M_2PI
 Define M_PI ONLY if it is not already defined in <cmath>
double _phicheck (double phi)

Variables

static const float M_PIF = float(M_PI)

Detailed Description

Author
mark sutton
Date
Wed 4 Mar 2015 16:22:25 CET

Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration

Definition in file TIDARoiParameters.cxx.

Macro Definition Documentation

◆ M_PI

#define M_PI   3.141592653589793238462643383279502884197

Function Documentation

◆ _phicheck()

double _phicheck ( double phi)

Definition at line 30 of file TIDARoiParameters.cxx.

30 {
31 if ( !(phi > -M_PIF && phi < M_PIF ) ) { // use ! of range rather than range to also catch nan etc
32 if ( phi < -M_PIF ) phi += M_2PI;
33 else phi -= M_2PI;
34 }
35 return phi;
36}
Scalar phi() const
phi method
#define M_2PI
static const float M_PIF

◆ ClassImp()

ClassImp ( TIDARoiParameters ) const

Define M_PI ONLY if it is not already defined in <cmath>

Variable Documentation

◆ M_PIF

const float M_PIF = float(M_PI)
static

Definition at line 27 of file TIDARoiParameters.cxx.