Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Calorimeter
CaloGeoHelpers
CaloGeoHelpers
CaloPhiRange.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
12
#ifndef CALOGEOHELPER_CALOPHIRANGE_H
13
#define CALOGEOHELPER_CALOPHIRANGE_H
14
15
#include <numbers>
27
class
CaloPhiRange
28
{
29
public
:
30
static
double
twopi
();
31
static
double
phi_min
();
32
static
double
phi_max
();
33
34
static
double
fix
(
double
phi
);
35
38
static
double
diff
(
double
phi1,
double
phi2 );
39
40
private
:
41
constexpr
static
const
double
m_phi_min
= -
std::numbers::pi
;
42
constexpr
static
const
double
m_twopi
= 2*
std::numbers::pi
;
43
constexpr
static
const
double
m_phi_max
=
std::numbers::pi
;
44
};
45
46
inline
double
CaloPhiRange::twopi
()
47
{
return
m_twopi
;}
48
49
inline
double
CaloPhiRange::phi_min
()
50
{
return
m_phi_min
;}
51
52
inline
double
CaloPhiRange::phi_max
()
53
{
return
m_phi_max
;}
54
55
#endif // CALODETDESCR_CALOPHIRANGE_H
CaloPhiRange
This class defines the phi convention for Calorimeters.
Definition:
CaloPhiRange.h:28
phi
Scalar phi() const
phi method
Definition:
AmgMatrixBasePlugin.h:67
CaloPhiRange::m_phi_max
constexpr static const double m_phi_max
Definition:
CaloPhiRange.h:43
CaloPhiRange::phi_min
static double phi_min()
Definition:
CaloPhiRange.h:49
pi
#define pi
Definition:
TileMuonFitter.cxx:65
CaloPhiRange::phi_max
static double phi_max()
Definition:
CaloPhiRange.h:52
CaloPhiRange::m_twopi
constexpr static const double m_twopi
Definition:
CaloPhiRange.h:42
CaloPhiRange::m_phi_min
constexpr static const double m_phi_min
Definition:
CaloPhiRange.h:41
CaloPhiRange::twopi
static double twopi()
Definition:
CaloPhiRange.h:46
CaloPhiRange::fix
static double fix(double phi)
Definition:
CaloPhiRange.cxx:14
CaloPhiRange::diff
static double diff(double phi1, double phi2)
simple phi1 - phi2 calculation, but result is fixed to respect range.
Definition:
CaloPhiRange.cxx:22
Generated on Fri Jan 10 2025 21:07:54 for ATLAS Offline Software by
1.8.18