00001 #ifndef sigCharged_ 00002 #define sigCharged_ 00003 00004 #include <cmath> 00005 #include <string> 00006 #include <iostream> 00007 #include <fstream> 00008 #include <cmath> 00009 #include <cstdlib> 00010 00011 using namespace std; 00012 00021 class CSigCharged 00022 { 00023 private: 00024 string sName; 00025 float rc0; 00026 float rc1; 00027 float rc2; 00028 float omega0; 00029 float omega1; 00030 float omega2; 00031 float omega3; 00032 float rI0; 00033 float rI1; 00034 float rI2; 00035 float aa0; 00036 float aa1; 00037 float a0; 00038 float a1; 00039 float Zp; 00040 float Ap; 00041 00042 float barrier; 00043 float InvInertia; 00044 float omega; 00045 float a; 00046 float aa; 00047 float offset; 00048 00049 bool neutron; 00050 float n0; 00051 float n1; 00052 float n2; 00053 00054 public: 00055 CSigCharged(string file, float Zp0, float Ap0); 00056 void prepare(float Z,float A); 00057 float getInverseXsec(float energy); 00058 float getBarrier(); 00059 00060 }; 00061 #endif