1 |
auterman |
1.1 |
|
2 |
|
|
#include "GeneratorMasses.h"
|
3 |
|
|
|
4 |
|
|
#include <fstream>
|
5 |
|
|
#include <iostream>
|
6 |
|
|
#include <cmath>
|
7 |
|
|
|
8 |
|
|
std::vector<GeneratorMasses> FillGeneratorMasses(std::string file)
|
9 |
|
|
{
|
10 |
|
|
std::ifstream masses_file;
|
11 |
|
|
masses_file.open(file.c_str());
|
12 |
|
|
std::vector<GeneratorMasses> points;
|
13 |
|
|
while (1) {
|
14 |
|
|
GeneratorMasses p;
|
15 |
|
|
masses_file >> p.MZERO
|
16 |
|
|
>> p.MHALF
|
17 |
|
|
>> p.TANB
|
18 |
|
|
>> p.SGNMU
|
19 |
|
|
>> p.AZERO
|
20 |
|
|
>> p.MTOP
|
21 |
|
|
>> p.muQ
|
22 |
|
|
>> p.Q
|
23 |
|
|
>> p.M1
|
24 |
|
|
>> p.M2
|
25 |
|
|
>> p.M3
|
26 |
|
|
>> p.MGL
|
27 |
|
|
>> p.MUL
|
28 |
|
|
>> p.MB1
|
29 |
|
|
>> p.MSN
|
30 |
|
|
>> p.MNTAU
|
31 |
|
|
>> p.MZ1
|
32 |
|
|
>> p.MW1
|
33 |
|
|
>> p.MHL
|
34 |
|
|
>> p.MUR
|
35 |
|
|
>> p.MB2
|
36 |
|
|
>> p.MEL
|
37 |
|
|
>> p.MTAU1
|
38 |
|
|
>> p.MZ2
|
39 |
|
|
>> p.MW2
|
40 |
|
|
>> p.MHH
|
41 |
|
|
>> p.MDL
|
42 |
|
|
>> p.MT1
|
43 |
|
|
>> p.MER
|
44 |
|
|
>> p.MTAU2
|
45 |
|
|
>> p.MZ3
|
46 |
|
|
>> p.MHA
|
47 |
|
|
>> p.MDR
|
48 |
|
|
>> p.MT2
|
49 |
|
|
>> p.MZ4
|
50 |
|
|
>> p.MHp;
|
51 |
|
|
|
52 |
|
|
if (!masses_file.good()) break;
|
53 |
|
|
if (fabs(p.SGNMU)!=1.) {
|
54 |
|
|
std::cerr << "check lines near m0=" << p.MZERO << ", m1/2=" << p.MHALF << std::endl;
|
55 |
|
|
break;
|
56 |
|
|
}
|
57 |
|
|
points.push_back( p );
|
58 |
|
|
}
|
59 |
|
|
return points;
|
60 |
|
|
}
|