4#ifndef __KVEDALOSSRANGEFITTER_H
5#define __KVEDALOSSRANGEFITTER_H
8#include <KVIonRangeTableMaterial.h>
9#include "KVedaLossMaterial.h"
#define ClassDef(name, id)
Base class for KaliVeda framework.
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)
Int_t FitRangeTable(TGraph *)
C++ implementation of VEDALOSS stopping power calculation.