00001 #ifndef tlArray_ 00002 #define tlArray_ 00003 00004 #include <string> 00005 #include <iostream> 00006 #include <fstream> 00007 #include <cmath> 00008 #include <cstdlib> 00009 00010 using namespace std; 00011 00012 00019 struct SAngTl 00020 { 00021 float coef[7]; 00022 }; 00023 00029 struct SZcoef 00030 { 00031 SAngTl Tl[121]; 00032 }; 00033 00034 00042 class CTlArray 00043 { 00044 protected: 00045 SZcoef zcoef; 00046 string sName; 00047 float shift; 00048 SAngTl *trans; 00049 00050 public: 00051 CTlArray(string); 00052 float getTermInExp(int iL,float fEk); 00053 void prepare(int iZ); 00054 float getTl(int iL ,float fEk); 00055 float getInverseXsec(float fEk); 00056 int iZMin; 00057 }; 00058 00059 #endif