39     theLogPrimEnergyVector.clear();
 
   40     theLogCrossSectionVector.clear();
 
   41     theLogSecondEnergyMatrix.clear();
 
   42     theLogProbMatrix.clear();
 
   43     theLogProbMatrixIndex.clear();
 
   46     is_scat_proj_to_proj_case  =aBool;
 
   52     theLogPrimEnergyVector.clear();
 
   53     theLogCrossSectionVector.clear();
 
   54     theLogSecondEnergyMatrix.clear();
 
   55     theLogProbMatrix.clear();
 
   61     theLogPrimEnergyVector.clear();
 
   62     theLogCrossSectionVector.clear();
 
   63     theLogSecondEnergyMatrix.clear();
 
   64     theLogProbMatrix.clear();
 
   65     theLogProbMatrixIndex.clear();
 
   72                                        std::vector< double>* aLogProbVector,
size_t n_pro_decade){
 
   77     theLogPrimEnergyVector.push_back(aLogPrimEnergy);
 
   78     theLogCrossSectionVector.push_back(aLogCS);
 
   79     theLogSecondEnergyMatrix.push_back(aLogSecondEnergyVector);
 
   80     theLogProbMatrix.push_back(aLogProbVector);
 
   82     std::vector< size_t>* aLogProbVectorIndex = 0;
 
   85     if (n_pro_decade > 0 && aLogProbVector->size()>0) {
 
   86         aLogProbVectorIndex = 
new std::vector< size_t>();
 
   87         dlog=std::log(10.)/n_pro_decade;
 
   88         G4double log_val = 
int(std::min((*aLogProbVector)[0],aLogProbVector->back())/dlog)*dlog;
 
   89         log0Vector.push_back(log_val);
 
   92             aLogProbVectorIndex->push_back(theInterpolator->
FindPosition(log_val,(*aLogProbVector)));
 
   97         log0Vector.push_back(0.);
 
   99     theLogProbMatrixIndex.push_back(aLogProbVectorIndex);
 
  109                                        std::vector< double>*& aLogProbVector, std::vector< size_t>*& aLogProbVectorIndex)
 
  110 {   
if (i>= nb_of_PrimEnergy) 
return false;
 
  112     aLogPrimEnergy = theLogPrimEnergyVector[i];
 
  113     aLogCS = theLogCrossSectionVector[i];
 
  114     aLogSecondEnergyVector = theLogSecondEnergyMatrix[i];
 
  115     aLogProbVector = theLogProbMatrix[i];
 
  116     aLogProbVectorIndex = theLogProbMatrixIndex[i];
 
  124 {   std::fstream FileOutput(file_name, std::ios::out);            
 
  125     FileOutput<<std::setiosflags(std::ios::scientific);
 
  126     FileOutput<<std::setprecision(6);
 
  127     FileOutput<<theLogPrimEnergyVector.size()<<
G4endl;
 
  128     for (
size_t i=0;i<theLogPrimEnergyVector.size();i++){
 
  129         FileOutput<<std::exp(theLogPrimEnergyVector[i])/
MeV<<
'\t'<<std::exp(theLogCrossSectionVector[i])<<
G4endl;
 
  131         FileOutput<<theLogSecondEnergyMatrix[i]->size()<<
G4endl;
 
  132         for (
size_t j=0;j<theLogSecondEnergyMatrix[i]->size();j++){
 
  133             FileOutput<<std::exp((*theLogSecondEnergyMatrix[i])[j]);
 
  135             if (j1<10) FileOutput<<
'\t';
 
  141         if (j1>0) FileOutput<<
G4endl;
 
  143         FileOutput<<theLogProbMatrix[i]->size()<<
G4endl;
 
  144         for (
size_t j=0;j<theLogProbMatrix[i]->size();j++){
 
  145             FileOutput<<std::exp((*theLogProbMatrix[i])[j]);
 
  147             if (j1<10) FileOutput<<
'\t';
 
  153         if (j1>0) FileOutput<<
G4endl;
 
  166     theLogPrimEnergyVector.clear();
 
  167     theLogCrossSectionVector.clear();
 
  168     theLogSecondEnergyMatrix.clear();
 
  169     theLogProbMatrix.clear();
 
  171     for (
size_t i=0; i<n1;i++){
 
  174         theLogPrimEnergyVector.push_back(E);
 
  175         theLogCrossSectionVector.push_back(CS);
 
  177         theLogSecondEnergyMatrix.push_back(
new std::vector<G4double>());
 
  178         theLogProbMatrix.push_back(
new std::vector<G4double>());
 
  180         for (
size_t j=0; j<n2;j++){
 
  183             theLogSecondEnergyMatrix[i]->push_back(E1);
 
  186         for (
size_t j=0; j<n2;j++){
 
  189             theLogProbMatrix[i]->push_back(prob);