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
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
ISF_FastCaloSimEvent
TFCS1DFunctionRegression.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ISF_FASTCALOSIMEVENT_TFCS1DFunctionRegression_h
6
#define ISF_FASTCALOSIMEVENT_TFCS1DFunctionRegression_h
7
8
#include "
ISF_FastCaloSimEvent/TFCS1DFunction.h
"
9
#include "TTree.h"
10
#include "TH1.h"
11
#include <vector>
12
13
class
TFCS1DFunctionRegression
:
public
TFCS1DFunction
{
14
public
:
15
TFCS1DFunctionRegression
(){};
16
~TFCS1DFunctionRegression
(){};
17
18
using
TFCS1DFunction::rnd_to_fct
;
19
virtual
double
rnd_to_fct
(
double
rnd)
const
;
20
double
regression_value
(
double
uniform
)
const
;
21
void
set_weights
(
const
std::vector<std::vector<double>> &fWeightMatrix0to1,
22
const
std::vector<std::vector<double>> &fWeightMatrix1to2);
23
static
double
sigmoid
(
double
);
24
25
private
:
26
std::vector<std::vector<double>>
m_fWeightMatrix0to1
;
27
std::vector<std::vector<double>>
m_fWeightMatrix1to2
;
28
29
ClassDef(
TFCS1DFunctionRegression
, 1)
// TFCS1DFunctionRegression
30
};
31
32
#endif
TFCS1DFunction::rnd_to_fct
virtual void rnd_to_fct(float value[], const float rnd[]) const
Function gets array of random numbers rnd[] in the range [0,1) as arguments and returns function valu...
Definition:
TFCS1DFunction.cxx:17
TFCS1DFunctionRegression::m_fWeightMatrix1to2
std::vector< std::vector< double > > m_fWeightMatrix1to2
Definition:
TFCS1DFunctionRegression.h:27
TFCS1DFunctionRegression::TFCS1DFunctionRegression
TFCS1DFunctionRegression()
Definition:
TFCS1DFunctionRegression.h:15
TFCS1DFunctionRegression
Definition:
TFCS1DFunctionRegression.h:13
TFCS1DFunctionRegression::regression_value
double regression_value(double uniform) const
Definition:
TFCS1DFunctionRegression.cxx:17
TFCS1DFunctionRegression::rnd_to_fct
virtual double rnd_to_fct(double rnd) const
Function gets random number rnd in the range [0,1) as argument and returns function value.
Definition:
TFCS1DFunctionRegression.cxx:71
TFCS1DFunctionRegression::sigmoid
static double sigmoid(double)
The Sigmoid.
Definition:
TFCS1DFunctionRegression.cxx:98
H5Utils::internal::uniform
std::array< hsize_t, N > uniform(size_t val)
Definition:
Writer.h:331
TFCS1DFunctionRegression::~TFCS1DFunctionRegression
~TFCS1DFunctionRegression()
Definition:
TFCS1DFunctionRegression.h:16
TFCS1DFunctionRegression::m_fWeightMatrix0to1
std::vector< std::vector< double > > m_fWeightMatrix0to1
Definition:
TFCS1DFunctionRegression.h:26
TFCS1DFunction.h
TFCS1DFunctionRegression::set_weights
void set_weights(const std::vector< std::vector< double >> &fWeightMatrix0to1, const std::vector< std::vector< double >> &fWeightMatrix1to2)
Definition:
TFCS1DFunctionRegression.cxx:77
TFCS1DFunction
Definition:
TFCS1DFunction.h:17
Generated on Wed Apr 23 2025 21:20:09 for ATLAS Offline Software by
1.8.18