KaliVeda
Toolkit for HIC analysis
KVLightEnergyCsIFull.h
1 
4 #ifndef __KVLIGHTENERGYCSIFULL_H
5 #define __KVLIGHTENERGYCSIFULL_H
6 
7 #include "KVLightEnergyCsI.h"
8 #include "KVIonRangeTableMaterial.h"
9 
18 
19  Double_t gamma(double z, double a, double e);
20  Double_t gamma_ziegler(double z, double a, double e);
21  Double_t gamma_hbg(double z, double a, double e);
22  Double_t dLightIntegral(double* x, double* par);
23  Double_t dLightIntegralApprox(double* x, double* par);
24  Double_t sp_e(double z, double a, double e);
25  Double_t sp_n(double z, double a, double e);
27  Double_t GetLight(double* x, double* par);
28  Double_t GetLightApprox(double* x, double* par);
29  Double_t GetLightApproxSilicon(double* x, double* par);
30 
31  void init();
32 
33 protected:
38 
39 public:
40  enum LightFormula {
45  };
46 
49  {
51  }
52 
54  {
55  fLightFormula = form;
56  init();
57  }
58  void SetLightFormula(const TString&);
60  {
61  return fLightFormula;
62  }
63 
64  virtual void Print(Option_t* opt = "") const;
65  void SetOptions(const KVNameValueList& opt);
66 
67  ClassDef(KVLightEnergyCsIFull, 1) //Light-energy calibration for CsI detectors using the full expression of Marian Parlog
68 };
69 
70 #endif
int Int_t
#define SafeDelete(p)
#define e(i)
double Double_t
const char Option_t
#define ClassDef(name, id)
Exact calibration formula for CsI detectors.
TF1 * fDlight
function to integrate to get fLight
Double_t gamma_hbg(double z, double a, double e)
Double_t gamma(double z, double a, double e)
Hubert, Bimbot and Gauvin.
Double_t fZmed
Z of detector material.
void SetOptions(const KVNameValueList &opt)
Double_t dLightIntegralApprox(double *x, double *par)
Double_t GetLight(double *x, double *par)
Double_t GetDeltaFraction(Double_t beta, Double_t beta_delta)
Double_t dLightIntegral(double *x, double *par)
Double_t GetLightApproxSilicon(double *x, double *par)
Double_t GetLightApprox(double *x, double *par)
Double_t sp_n(double z, double a, double e)
return 0.;
Int_t fLightFormula
light formula (see NIMa of Marian)
Double_t fAmed
A of detector material (CsI)
Double_t sp_e(double z, double a, double e)
if energy E<0.1 keV, return 0
virtual void Print(Option_t *opt="") const
void SetLightFormula(Int_t form)
void init()
default initialisations
Double_t gamma_ziegler(double z, double a, double e)
Light-energy calibration function for CsI detectors using a Fermi-function dependence on energy for d...
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
double beta(double x, double y)
Double_t x[n]
TArc a