KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVLightEnergyCsIFull.h
Go to the documentation of this file.
1 
4 #ifndef __KVLIGHTENERGYCSIFULL_H
5 #define __KVLIGHTENERGYCSIFULL_H
6 
7 #include "KVLightEnergyCsI.h"
9 
17 
18  Double_t gamma(double z, double a, double e);
19  Double_t gamma_ziegler(double z, double a, double e);
20  Double_t gamma_hbg(double z, double a, double e);
21  Double_t dLightIntegral(double* x, double* par);
22  Double_t dLightIntegralApprox(double* x, double* par);
23  Double_t sp_e(double z, double a, double e);
24  Double_t sp_n(double z, double a, double e);
26  Double_t GetLight(double* x, double* par);
27  Double_t GetLightApprox(double* x, double* par);
28  Double_t GetLightApproxSilicon(double* x, double* par);
29 
30  void init();
31 
32 protected:
37 
38 public:
39  enum LightFormula {
44  };
45 
48  {
50  }
51 
53  {
54  fLightFormula = form;
55  init();
56  }
57  void SetLightFormula(const TString&);
59  {
60  return fLightFormula;
61  }
62 
63  virtual void Print(Option_t* opt = "") const;
64  void SetOptions(const KVNameValueList& opt);
65 
66  ClassDef(KVLightEnergyCsIFull, 1) //Light-energy calibration for CsI detectors using the full expression of Marian Parlog
67 };
68 
69 #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
Print a description of the calibration object, including a list of its parameters.
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]
auto * a