/* * PndMvdRadDamList.h * * Created on: Dec 16, 2008 * Author: stockman */ #ifndef PNDMVDRADDAMLIST_H #define PNDMVDRADDAMLIST_H #include #include #include "TString.h" class PndMvdRadDamList { public: PndMvdRadDamList(TString fileName); virtual ~PndMvdRadDamList(); 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(PndMvdRadDamList,1); }; #endif /* PNDMVDRADDAMLIST_H */