KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVPulseHeightDefect.h
Go to the documentation of this file.
1 /*
2 $Id: KVPulseHeightDefect.h,v 1.2 2008/01/24 10:09:38 franklan Exp $
3 $Revision: 1.2 $
4 $Date: 2008/01/24 10:09:38 $
5 */
6 
9 
10 #ifndef __KVPULSEHEIGHTDEFECT_H
11 #define __KVPULSEHEIGHTDEFECT_H
12 
13 #include <KVCalibrator.h>
14 
43 public:
44 
45  void init();
46 
49  virtual ~KVPulseHeightDefect();
50 
51  virtual Double_t Compute(Double_t, const KVNameValueList& = "") const;
52  virtual Double_t Invert(Double_t, const KVNameValueList& = "") const;
53 
54  void SetZ(Int_t z)
55  {
56  fZ = z;
57  };
58  Int_t GetZ() const
59  {
60  return fZ;
61  };
65  TF1* GetELossFunction(Int_t Z, Int_t A, Bool_t Wrong = kFALSE);
66 
67  ClassDef(KVPulseHeightDefect, 1) //Silicon PHD described by Moulton formula
68 };
69 
70 #endif
int Int_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
Base class for all detector calibrations.
Definition: KVCalibrator.h:75
Base class for detector geometry description, interface to energy-loss calculations.
Definition: KVDetector.h:121
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Silicon PHD described by Moulton formula.
virtual Double_t Invert(Double_t, const KVNameValueList &="") const
KVPulseHeightDefect()
Default constructor.
TF1 * GetELossFunction(Int_t Z, Int_t A, Bool_t Wrong=kFALSE)
virtual ~KVPulseHeightDefect()
Destructor.
Double_t ELossActive(Double_t *x, Double_t *par)
TF1 * fDeltaEphd
deltaE calculated including PHD
TF1 * fMoulton
Moulton formula for PHD = f(E,Z)
TF1 * GetMoultonPHDFunction(Int_t Z)
Create TF1* fMoulton if not already done.
Double_t PHDMoulton(Double_t *x, Double_t *par)
void init()
default initialisations
Int_t fZ
Z of nucleus to be calibrated.
virtual Double_t Compute(Double_t, const KVNameValueList &="") const