ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
rnd
static TRandom * rnd
Definition
LArWheelSliceSolidTests.cxx:68
TFCS1DFunction.h
TFCS1DFunctionRegression::~TFCS1DFunctionRegression
~TFCS1DFunctionRegression()
Definition
TFCS1DFunctionRegression.h:16
TFCS1DFunctionRegression::regression_value
double regression_value(double uniform) const
Definition
TFCS1DFunctionRegression.cxx:17
TFCS1DFunctionRegression::m_fWeightMatrix0to1
std::vector< std::vector< double > > m_fWeightMatrix0to1
Definition
TFCS1DFunctionRegression.h:26
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:64
TFCS1DFunctionRegression::m_fWeightMatrix1to2
std::vector< std::vector< double > > m_fWeightMatrix1to2
Definition
TFCS1DFunctionRegression.h:27
TFCS1DFunctionRegression::sigmoid
static double sigmoid(double)
The Sigmoid.
Definition
TFCS1DFunctionRegression.cxx:91
TFCS1DFunctionRegression::set_weights
void set_weights(const std::vector< std::vector< double > > &fWeightMatrix0to1, const std::vector< std::vector< double > > &fWeightMatrix1to2)
Definition
TFCS1DFunctionRegression.cxx:70
TFCS1DFunctionRegression::TFCS1DFunctionRegression
TFCS1DFunctionRegression()
Definition
TFCS1DFunctionRegression.h:15
TFCS1DFunction::TFCS1DFunction
TFCS1DFunction()
Definition
TFCS1DFunction.h:19
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:18
Generated on
for ATLAS Offline Software by
1.17.0