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
Trigger
TrigHypothesis
TrigHLTJetHypoUnitTests
src
TLorentzVectorFactoryEtaE.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGHLTJETHYPOUNITTESTS_LORENTZVECTORFACTORYETAE_H
6
#define TRIGHLTJETHYPOUNITTESTS_LORENTZVECTORFACTORYETAE_H
7
8
#include "
./ITLorentzVectorFactory.h
"
9
#include <TLorentzVector.h>
10
#include <cmath>
11
#include <stdexcept>
12
13
class
TLorentzVectorFactoryEtaE
:
public
ITLorentzVectorFactory
{
14
public
:
15
virtual
TLorentzVector
make
(
double
eta
,
double
e
)
const override
{
16
if
(
e
<= 0.) {
throw
std::out_of_range(
"E < 0"
);}
17
18
double
ttOn2 =
std::exp
(-
eta
);
//tan(theta/2)
19
double
tt
= 2.*ttOn2/(1.- ttOn2*ttOn2);
// tan(theta)
20
double
cost
= sqrt(1./(1+
tt
*
tt
));
// 1+ tan^2(theta) = 1/cos^2(theta)
21
double
sint =
tt
*
cost
;
22
TLorentzVector
tl
;
23
tl
.SetXYZM(0.,
e
*sint,
e
*
cost
, 0.);
24
25
return
tl
;
26
}
27
};
28
#endif
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
cost
int cost(std::vector< std::string > &files, node &n, const std::string &directory="", bool deleteref=false, bool relocate=false)
Definition:
hcg.cxx:921
TLorentzVectorFactoryEtaE::make
virtual TLorentzVector make(double eta, double e) const override
Definition:
TLorentzVectorFactoryEtaE.h:15
eta
Scalar eta() const
pseudorapidity method
Definition:
AmgMatrixBasePlugin.h:83
ITLorentzVectorFactory
Definition:
ITLorentzVectorFactory.h:10
drawFromPickle.exp
exp
Definition:
drawFromPickle.py:36
ITLorentzVectorFactory.h
TLorentzVectorFactoryEtaE
Definition:
TLorentzVectorFactoryEtaE.h:13
dqt_zlumi_alleff_HIST.tl
tl
Definition:
dqt_zlumi_alleff_HIST.py:73
TileDCSDataPlotter.tt
tt
Definition:
TileDCSDataPlotter.py:874
Generated on Wed Apr 23 2025 21:21:00 for ATLAS Offline Software by
1.8.18