#include <GammaShape.h>
Definition at line 26 of file GammaShape.h.
◆ GammaShape() [1/4]
GammaShape::GammaShape |
( |
| ) |
|
Definition at line 6 of file GammaShape.cxx.
6 {
7 m_tail = 0;
8 m_width = 0;
9 m_peak = 0;
10 m_e = 0;
11 m_de = 0;
12 m_dphi = 0;
13 m_dtheta = 0;
14}
◆ ~GammaShape()
GammaShape::~GammaShape |
( |
| ) |
|
|
inline |
◆ GammaShape() [2/4]
GammaShape::GammaShape |
( |
const GammaShape & |
gammashape | ) |
|
Definition at line 16 of file GammaShape.cxx.
16 {
17 m_tail = gammashape.m_tail;
18 m_width = gammashape.m_width;
19 m_peak = gammashape.m_peak;
20 m_e = gammashape.m_e;
21 m_de = gammashape.m_de;
22 m_dphi = gammashape.m_dphi;
23 m_dtheta = gammashape.m_dtheta;
24}
◆ GammaShape() [3/4]
GammaShape::GammaShape |
( |
const double |
eorigin, |
|
|
const double |
epeak |
|
) |
| |
Definition at line 37 of file GammaShape.cxx.
37 {
41 m_e = eorigin;
43 m_dphi = 0;
44 m_dtheta = 0;
45}
double tail(const double epeak)
double width(const double epeak)
double peak(const double fitvalue)
double de(const double eorigin, const double peak)
◆ GammaShape() [4/4]
GammaShape::GammaShape |
( |
const HepLorentzVector |
p4, |
|
|
const double |
dphi, |
|
|
const double |
dthe, |
|
|
const double |
de |
|
) |
| |
Definition at line 48 of file GammaShape.cxx.
48 {
49 m_tail = 0;
50 m_width = 0;
51 m_peak = 0;
52 m_e = 0;
53 m_de = 0;
54 m_dphi = dphi;
55 m_dtheta = dthe;
56}
◆ de()
double GammaShape::de |
( |
const double |
eorigin, |
|
|
const double |
peak |
|
) |
| |
Definition at line 93 of file GammaShape.cxx.
93 {
98 double qa = tail1*sqrt(log(4.));
99 double qb = sinh(qa)/qa;
100 double qx = (eorigin-
peak)/width1*qb*tail1;
101
102
103
104 if(fabs(qx)>0.001){
106
107 }
108 else {
109
110 f1 = width1/(qb*tail1);
111
112 }
113
114
115
117}
double fitm(double x, double pk, double width, double tail, double mean)
double mean(const double epeak)
Referenced by GammaShape(), and setde().
◆ fitm()
double GammaShape::fitm |
( |
double |
x, |
|
|
double |
pk, |
|
|
double |
width, |
|
|
double |
tail, |
|
|
double |
mean |
|
) |
| |
Definition at line 123 of file GammaShape.cxx.
123 {
124
125 double qa =
tail*sqrt(log(4.));
126 double qb = sinh(qa)/qa;
127 double qx = ((
x-pk)/pk)/
width*qb;
128 double qy = 1 +
tail * qx;
129 double qc;
130 if(qy < 1.e-7) qc = 15;
131 else
133 double val = qc;
135 }
Referenced by de().
◆ getde()
double GammaShape::getde |
( |
| ) |
const |
|
inline |
◆ getdphi()
double GammaShape::getdphi |
( |
| ) |
const |
|
inline |
◆ getdthe()
double GammaShape::getdthe |
( |
| ) |
const |
|
inline |
◆ gete()
double GammaShape::gete |
( |
| ) |
const |
|
inline |
◆ getpeak()
double GammaShape::getpeak |
( |
| ) |
const |
|
inline |
◆ gettail()
double GammaShape::gettail |
( |
| ) |
const |
|
inline |
◆ getwidth()
double GammaShape::getwidth |
( |
| ) |
const |
|
inline |
◆ mean()
double GammaShape::mean |
( |
const double |
epeak | ) |
|
◆ operator=()
Definition at line 26 of file GammaShape.cxx.
26 {
27 m_tail = gammashape.m_tail;
28 m_width = gammashape.m_width;
29 m_peak = gammashape.m_peak;
30 m_e = gammashape.m_e;
31 m_de = gammashape.m_de;
32 m_dphi = gammashape.m_dphi;
33 m_dtheta = gammashape.m_dtheta;
34 return (*this);
35}
◆ peak()
double GammaShape::peak |
( |
const double |
fitvalue | ) |
|
◆ setde()
void GammaShape::setde |
( |
const double |
de | ) |
|
|
inline |
◆ setdphi()
void GammaShape::setdphi |
( |
const double |
dphi | ) |
|
|
inline |
◆ setdtheta()
void GammaShape::setdtheta |
( |
const double |
dtheta | ) |
|
|
inline |
◆ sete()
void GammaShape::sete |
( |
const double |
e | ) |
|
|
inline |
◆ setpeak()
void GammaShape::setpeak |
( |
const double |
peak | ) |
|
|
inline |
◆ settail()
void GammaShape::settail |
( |
const double |
tail | ) |
|
|
inline |
◆ setwidth()
void GammaShape::setwidth |
( |
const double |
width | ) |
|
|
inline |
◆ tail()
double GammaShape::tail |
( |
const double |
epeak | ) |
|
◆ width()
double GammaShape::width |
( |
const double |
epeak | ) |
|
The documentation for this class was generated from the following files: