ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
h1analysisProxy.h
Go to the documentation of this file.
1
#include "
TH2.h
"
2
#include "
TF1.h
"
3
#include "
TStyle.h
"
4
#include "
TCanvas.h
"
5
#include "
TLine.h
"
6
#include "
TEntryList.h
"
7
#include "
TPaveStats.h
"
8
#include "
TMath.h
"
9
10
const
Double_t
dxbin
= (0.17-0.13)/40;
// Bin-width
11
const
Double_t
sigma
= 0.0012;
12
13
//_____________________________________________________________________
14
Double_t
fdm5
(
Double_t
*
xx
,
Double_t
*par)
15
{
16
Double_t
x
=
xx
[0];
17
if
(
x
<= 0.13957)
return
0;
18
Double_t
xp3
= (
x
-par[3])*(
x
-par[3]);
19
Double_t
res =
dxbin
*(par[0]*
TMath::Power
(
x
-0.13957, par[1])
20
+ par[2] / 2.5066/par[4]*
TMath::Exp
(-
xp3
/2/par[4]/par[4]));
21
return
res;
22
}
23
24
//_____________________________________________________________________
25
Double_t
fdm2
(
Double_t
*
xx
,
Double_t
*par)
26
{
27
Double_t
x
=
xx
[0];
28
if
(
x
<= 0.13957)
return
0;
29
Double_t
xp3
= (
x
-0.1454)*(
x
-0.1454);
30
Double_t
res =
dxbin
*(par[0]*
TMath::Power
(
x
-0.13957, 0.25)
31
+ par[1] / 2.5066/
sigma
*
TMath::Exp
(-
xp3
/2/
sigma
/
sigma
));
32
return
res;
33
}
34
Double_t
double Double_t
Definition
RtypesCore.h:59
TCanvas.h
TEntryList.h
TF1.h
TH2.h
TLine.h
TMath.h
TPaveStats.h
TStyle.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
fdm5
Double_t fdm5(Double_t *xx, Double_t *par)
Definition
h1analysisProxy.h:14
sigma
const Double_t sigma
Definition
h1analysisProxy.h:11
dxbin
const Double_t dxbin
Definition
h1analysisProxy.h:10
fdm2
Double_t fdm2(Double_t *xx, Double_t *par)
Definition
h1analysisProxy.h:25
x
Double_t x[n]
Definition
legend1.C:17
TMath::Exp
Double_t Exp(Double_t x)
Returns the base-e exponential function of x, which is e raised to the power x.
Definition
TMath.h:709
TMath::Power
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
Returns x raised to the power y.
Definition
TMath.h:721
tutorials
tree
h1analysisProxy.h
ROOT v6-32 - Reference Guide Generated on Tue Mar 11 2025 13:55:06 (GVA Time) using Doxygen 1.10.0