KaliVeda
Toolkit for HIC analysis
KVRecombination.h
1 
4 #ifndef __KVRECOMBINATION_H
5 #define __KVRECOMBINATION_H
6 
7 #include "KVCalibrator.h"
8 
33 class KVRecombination : public KVCalibrator {
34 
40 
41 public:
42 
43  void init();
44 
47  virtual ~KVRecombination();
48 
49  virtual Double_t Compute(Double_t, const KVNameValueList& = "") const;
50  virtual Double_t Invert(Double_t, const KVNameValueList& = "") const;
51 
52  void SetZandA(Int_t z, Int_t a)
53  {
54  fZ = z;
55  fA = a;
56  };
57  Int_t GetZ() const
58  {
59  return fZ;
60  };
61  Int_t GetA() const
62  {
63  return fA;
64  };
65 
69  TF1* GetELossFunction(Int_t Z, Int_t A, Bool_t Wrong = kFALSE);
70 
71 
72  ClassDef(KVRecombination, 1) //Silicon PHD described by electron-hole recombination model
73 };
74 
75 #endif
int Int_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
Base class for all detector calibrations.
Definition: KVCalibrator.h:99
Base class for detector geometry description.
Definition: KVDetector.h:160
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)
TArc a