KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVRecombination.h
Go to the documentation of this file.
1 
4 #ifndef __KVRECOMBINATION_H
5 #define __KVRECOMBINATION_H
6 
7 #include "KVCalibrator.h"
8 
31 class KVRecombination : public KVCalibrator {
32 
38 
39 public:
40 
41  void init();
42 
45  virtual ~KVRecombination();
46 
47  virtual Double_t Compute(Double_t, const KVNameValueList& = "") const;
48  virtual Double_t Invert(Double_t, const KVNameValueList& = "") const;
49 
50  void SetZandA(Int_t z, Int_t a)
51  {
52  fZ = z;
53  fA = a;
54  };
55  Int_t GetZ() const
56  {
57  return fZ;
58  };
59  Int_t GetA() const
60  {
61  return fA;
62  };
63 
67  TF1* GetELossFunction(Int_t Z, Int_t A, Bool_t Wrong = kFALSE);
68 
69 
70  ClassDef(KVRecombination, 1) //Silicon PHD described by electron-hole recombination model
71 };
72 
73 #endif
int Int_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
Base class for all detector calibrations.
Definition: KVCalibrator.h:98
Base class for detector geometry description.
Definition: KVDetector.h:159
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Silicon PHD described by electron-hole recombination model.
Int_t GetA() const
void init()
default initialisations
Int_t fZ
Z of nucleus to be calibrated.
TF1 * GetParlogPHDFunction(Int_t Z, Int_t A)
Create TF1* fParlog if not already done.
Int_t fA
A of nucleus to be calibrated.
void SetZandA(Int_t z, Int_t a)
Double_t PHDParlog(Double_t *x, Double_t *par)
Int_t GetZ() const
virtual Double_t Invert(Double_t, const KVNameValueList &="") const
TF1 * fParlog
Parlog formula for PHD = f(E,Z,A)
TF1 * fDeltaEphd
deltaE calculated including PHD
Double_t ELossActive(Double_t *x, Double_t *par)
KVRecombination()
Default constructor.
virtual ~KVRecombination()
Destructor.
virtual Double_t Compute(Double_t, const KVNameValueList &="") const
TF1 * GetELossFunction(Int_t Z, Int_t A, Bool_t Wrong=kFALSE)
auto * a