flavour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
scripttable.cpp
Go to the documentation of this file.
1 #include <iostream>
2 #include <fstream>
3 
4 using namespace std;
5 typedef unsigned int uint;
6 int main(){
7 
8 string g[3]={"0","1","2"};
9 string u[3]={"0","1"};
10 
11 string sg[3]={"1st","2nd","3rd"};
12 string su[3]={"Down","Up"};
13 
14 for(uint qup=0;qup<2;qup++)
15 for(uint gL=0;gL<3;gL++)
16 {
17 for(uint lup=0;lup<2;lup++)
18 for(uint gQ=0;gQ<3;gQ++){
19  char name[5]="0000";
20  name[0]+=gL;
21  name[1]+=gQ;
22  name[2]+=lup;
23  name[3]+=qup;
24  ifstream ff((string("pdfs/T_BD/maxs_")+string(name)+string(".out")).c_str());
25  if(!ff.is_open()){
26  cout<<"ERROR: maxs_*.out not found"<<endl;
27  return 1;
28  }
29  double McH=0,MR=0,MI=0;
30  ff>>McH>>MR>>MI;
31  cout<<name<<" "<<McH<<" "<<MR<<" "<<MI<<endl;
32  ff.close();
33 }
34 cout<<endl;
35 }
36 return 0;
37 }
Definition: multivector.h:4
unsigned int uint
Definition: scripttable.cpp:5
unsigned int uint
Definition: script.cpp:4
int main()
Definition: scripttable.cpp:6