fixed some annoying little bug in the RGE handler. Added some checks if wrong energies are given. Fixed a typo

This commit is contained in:
2012-07-05 15:31:20 +00:00
parent aa2e6cead0
commit de69ee8826
3 changed files with 21 additions and 29 deletions

View File

@@ -51,7 +51,7 @@ class PNL_PippardFitterGlobal
Bool_t IsValid() { return fValid; }
virtual void CalculateField(const std::vector<Double_t> &param) const;
virtual Int_t GetEnergyIndex(const Double_t energy) { return fRgeHandler->GetRgeEnergyIndex(energy); }
virtual Double_t GetMuoneStoppingDensity(const Int_t energyIndex, const Double_t z) const { return fRgeHandler->GetRgeValue(energyIndex, z); }
virtual Double_t GetMuonStoppingDensity(const Int_t energyIndex, const Double_t z) const { return fRgeHandler->GetRgeValue(energyIndex, z); }
virtual Double_t GetMagneticField(const Double_t z) const;
private: