00001 00011 class CWeight 00012 { 00013 protected: 00014 00015 float fact; 00016 int iWeight; 00017 float runningWeight; 00018 void findFactor(float Glight, float Gimf, float Gfission, float Ggamma); 00019 public: 00020 00021 int chooseChannel(float Glight, float Gimf, float Gfission, float Ggamma, 00022 float xran); 00023 void setWeightIMF(); 00024 float getWeightFactor(); 00025 };