KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVedaLossRangeFitter.h
Go to the documentation of this file.
1 
4 #ifndef __KVEDALOSSRANGEFITTER_H
5 #define __KVEDALOSSRANGEFITTER_H
6 
7 #include "KVBase.h"
9 #include "KVedaLossMaterial.h"
10 #include <TF1.h>
11 #include <KVedaLoss.h>
12 
13 class TGraph;
14 
23 class KVedaLossRangeFitter : public KVBase {
25 
26 protected:
32 
33 public:
35  virtual ~KVedaLossRangeFitter();
36 
39 
43 
44  void DoFits(TString output_file, Int_t Zmin = 1, Int_t Zmax = 100);
45  void PrintFitParameters(Int_t, std::ostream&);
46  void PrintFitHeader(std::ostream&);
47 
48  ClassDef(KVedaLossRangeFitter, 1) //Fit a range table using the VEDALOSS functional
49 };
50 
51 #endif
int Int_t
double Double_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition: KVBase.h:135
Material for use in energy loss & range calculations.
Description of material in the KVedaLoss range table.
Fit a range table using the VEDALOSS functional.
TGraph * GenerateRangeTable(Int_t Z)
void PrintFitParameters(Int_t, std::ostream &)
KVIonRangeTableMaterial * fMaterial
range table to fit
void SetMaterial(KVIonRangeTableMaterial *m)
Sets range table to fit. Also finds material with closest Z in VEDALOSS library.
KVedaLossRangeFitter()
Default constructor.
void DoFits(TString output_file, Int_t Zmin=1, Int_t Zmax=100)
Perform fits to range tables for elements from Zmin to Zmax.
TGraph * GenerateVEDALOSSRangeTable(Int_t Z)
virtual ~KVedaLossRangeFitter()
Destructor.
void PrintFitHeader(std::ostream &)
KVedaLossMaterial * fClosestVedaMat
closest known VEDALOSS material
void SetInitialParameters(Int_t Z)
Double_t range(Double_t *, Double_t *)
express logR as a polynomial of log(E/A)
C++ implementation of VEDALOSS stopping power calculation.
Definition: KVedaLoss.h:33
const long double m
Definition: KVUnits.h:70