6 |
|
#include <iostream> |
7 |
|
#include <cmath> |
8 |
|
|
9 |
+ |
void TheLimits::Fill(int argc, char** argv) |
10 |
+ |
{ |
11 |
+ |
for (int i = 1; i<argc; ++i) |
12 |
+ |
{ |
13 |
+ |
add( new SusyScan(argv[i]) ); |
14 |
+ |
} |
15 |
+ |
} |
16 |
+ |
|
17 |
+ |
void TheLimits::Fill(const std::string filelist) |
18 |
+ |
{ |
19 |
+ |
std::ifstream masses_file; |
20 |
+ |
masses_file.open(filelist.c_str()); |
21 |
+ |
std::string file; |
22 |
+ |
while (1) { |
23 |
+ |
GeneratorMasses * p = new GeneratorMasses; |
24 |
+ |
masses_file >> file; |
25 |
+ |
if (!masses_file.good()) break; |
26 |
+ |
add( new SusyScan(file)); |
27 |
+ |
} |
28 |
+ |
masses_file.close(); |
29 |
+ |
} |
30 |
|
|
31 |
|
void TheLimits::match() |
32 |
|
{ |