KaliVeda
1.14/2
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVLightEnergyCsI_SharpCutOff.cpp
1
#include "KVLightEnergyCsI_SharpCutOff.h"
2
3
ClassImp
(
KVLightEnergyCsI_SharpCutOff
)
4
5
6
7
18
19
Double_t
KVLightEnergyCsI_SharpCutOff
::CalculLumiere(
Double_t
* x,
Double_t
* par)
20
{
21
//Calcul de la lumiere totale a partir de Z, A d'une particule et son energie
22
//
23
//~~~~~~~~~~~~~~~~~~
24
// x[0] = energie (MeV)
25
// par[0] = a1 : gain factor
26
// par[1] = a2 : nuclear & recombination quenching term
27
// par[2] = a3 : threshold (MeV/u) for delta-ray production
28
// par[3] = a4 : fractional energy loss removed by delta rays
29
//~~~~~~~~~~~~~~~~~~
30
//
31
32
Double_t
energie =
x
[0];
33
Double_t
c1
= par[0];
34
Double_t
c2
= Z * Z * A * par[1];
35
Double_t
c3
= A * par[2];
36
Double_t
c4 = energie >
c3
? par[3] : 0.;
37
38
Double_t
lumcalc =
c1
* energie;
39
if
(
c2
> 0.0) {
40
lumcalc = lumcalc -
c1
*
c2
*
TMath::Log
(1. + energie /
c2
)
41
+
c1
*
c2
* c4 *
TMath::Log
((energie +
c2
) / (
c3
+
c2
));
42
}
43
44
return
lumcalc;
45
}
46
47
48
Double_t
double Double_t
KVLightEnergyCsI_SharpCutOff
Light-energy calibration function for CsI detectors using a sharp cut-off for delta-ray production.
Definition
KVLightEnergyCsI_SharpCutOff.h:35
c1
return c1
x
Double_t x[n]
c2
return c2
c3
return c3
TMath::Log
Double_t Log(Double_t x)
ClassImp
ClassImp(TPyArg)
kaliveda.doxygen
KVMultiDet
calibration
KVLightEnergyCsI_SharpCutOff.cpp
Generated on Wed Oct 23 2024 12:45:20 for KaliVeda by
1.9.8