Functions | Variables
ExtrapFromMash_Tot.C File Reference
#include <iomanip>

Go to the source code of this file.

Functions

 for (int j=0;j< 9;j++)
 

Variables

double ke
 
double A1 = 56
 
double A2 [9] = { 1, 7, 14, 40, 63, 93, 120, 208, 209 }
 

Function Documentation

for ( )

Definition at line 30 of file ExtrapFromMash_Tot.C.

30  {
31  cout << endl;
32  cout << setw(4) << "A" << setw(5) << "KE" << " " << "TotXS" << endl;
33  for (int i=0; i<21; i++) {
34  xs2 = TMath::Power((A2[j]/A1),(.6667)) * xs1[i];
35  ke = 50 * i;
36  cout << setw(4) << A2[j] << setw(5) << ke << ". " << setw(5) << xs2 << endl;
37  }
38  }
double ke
size_t i(0)
the ParameterSet object passed in for the configuration of a destination should be the only source that can affect the behavior of that destination This is to eliminate the dependencies of configuring a destination from multiple mostly from the defaults It suppresses possible glitches about changing the configuration file somewhere outside of a destination segament might still affect the behavior of that destination In the previous configuration for a specific the value of a certain e may come from following and have been suppressed It the configuring ParameterSet object for each destination will be required to carry a parameter list as complete as possible If a parameter still cannot be found in the ParameterSet the configuration code will go look for a hardwired default directly The model is a great simplicity comparing with the previous especially when looking for default values Another great advantage is most of the parameters now have very limited places that allows to appear Usually they can only appear at one certain level in a configuration file For in the old configuring model or in a default ParameterSet object inside of a or in a category or in a severity object This layout of multiple sources for a single parameter brings great confusion in both writing a configuration and in processing the configuration file Under the new the only allowed place for the parameter limit to appear is inside of a category which is inside of a destination object Other improvements simplify the meaning of a destination name In the old a destination name has multiple folds of meanings the e cout and cerr have the special meaning of logging messages to standard output or standard error the name also serves as the output filename if the destination is a file these names are also references to look up for detailed configurations in configuring the MessageFacility The multi purpose of the destination name might cause some unwanted behavior in either writing or parsing the configuration file To amend in the new model the destination name is now merely a name for a which might represent the literal purpose of this or just an id All other meanings of the destinations names now go into the destination ParameterSet as individual such as the type parameter and filename parameter Following is the deatiled rule for the new configuring Everything that is related with MessageFacility configuration must be wrapped in a single ParameterSet object with the name MessageFacility The MessageFacility ParameterSet object contains a series of top level parameters These parameters can be chosen a vector of string listing the name of debug enabled models Or use *to enable debug messages in all modules a vector of string a vector of string a vector of string a ParameterSet object containing the list of all destinations The destinations ParameterSet object is a combination of ParameterSet objects for individual destinations There are two types of destinations that you can insert in the destinations ParameterSet ordinary including cout
double A1
double A2[9]

Variable Documentation

double A1 = 56

Definition at line 28 of file ExtrapFromMash_Tot.C.

double A2[9] = { 1, 7, 14, 40, 63, 93, 120, 208, 209 }

Definition at line 29 of file ExtrapFromMash_Tot.C.

double ke
Initial value:
{
double xs1[21] = {
0.2762E+02,
0.1381E+04,
0.1945E+04,
0.1879E+04,
0.1757E+04,
0.1595E+04,
0.1445E+04,
0.1288E+04,
0.1218E+04,
0.1159E+04,
0.1111E+04,
0.1072E+04,
0.1042E+04,
0.1019E+04,
0.1003E+04,
0.9927E+03,
0.9874E+03,
0.9865E+03,
0.9894E+03,
0.9956E+03,
0.1004E+04
}
double xs2

Definition at line 1 of file ExtrapFromMash_Tot.C.