Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
defaults.C
Go to the documentation of this file.
1 #include <sstream>
2 #include <iostream>
3 
4 std::ofstream flog("tagm_tw_parms_defaults.out");
5 
6 void defaults() {
7  for (int col = 1; col <= 102; ++col) {
8  flog << "0" << std::setw(15)
9  << col << std::setw(15)
10  << "1" << std::setw(15)
11  << "-1"<< std::setw(15)
12  << "0" << std::setw(15)
13  << "8" << std::setw(15)
14  << "0" << std::endl;
15  if (col == 9 || col == 27 || col == 81 || col == 99) {
16  for (int row = 1; row <= 5; ++row) {
17  flog << row << std::setw(15)
18  << col << std::setw(15)
19  << "1" << std::setw(15)
20  << "-1"<< std::setw(15)
21  << "0" << std::setw(15)
22  << "8" << std::setw(15)
23  << "0" << std::endl;
24  }
25  }
26  }
27 }
std::ofstream flog("tagm_tw_parms_defaults.out")
void defaults()
Definition: defaults.C:6