/* * PndSsdRadDamList.h * * Created on: Dec 16, 2008 * Author: stockman */ #ifndef PNDSSDRADDAMLIST_H_ #define PNDSSDRADDAMLIST_H_ #include #include #include "TString.h" class PndSsdRadDamList { public: PndSsdRadDamList(TString fileName); virtual ~PndSsdRadDamList(); Double_t GetWeight(Double_t energy); private: std::vector > fList; Int_t FindClosestEnergyIndex(Double_t energy); Double_t Interpolate(Double_t energy, Int_t index); ClassDef(PndSsdRadDamList,1); }; #endif /* PNDSSDRADDAMLIST_H_ */