Go to the source code of this file.
|
| int | main (int argc, char *argv[]) |
◆ main()
| int main |
( |
int | argc, |
|
|
char * | argv[] ) |
Definition at line 11 of file mergeProphecy4f.cxx.
11 {
12
13 if(argc<5){
14 ANA_MSG_INFO(
" Prophecy4fMerger: merge Powheg and Prophecy LHE files! ");
18 ANA_MSG_INFO(
" --inProphecy4e [Prophecy4f lhe file with 4e decays]");
19 ANA_MSG_INFO(
" --inProphecy4mu [Prophecy4f lhe file with 4mu decays]");
20 ANA_MSG_INFO(
" --inProphecy2e2mu [Prophecy4f lhe file with 2e2mu decays]");
25 return 0;
26 }
27 std::string powheg, prophecy4e, prophecy4mu, prophecy2e2mu,
out;
28 unsigned long long seed = 0;
31 if(!strcmp(argv[
a],
"--inPowheg")){
33 }
34 else if(!strcmp(argv[
a],
"--inProphecy4e")){
35 prophecy4e =
argv[
a+1];
36 }
37 else if(!strcmp(argv[
a],
"--inProphecy4mu")){
38 prophecy4mu =
argv[
a+1];
39 }
40 else if(!strcmp(argv[
a],
"--inProphecy2e2mu")){
41 prophecy2e2mu =
argv[
a+1];
42 }
43 else if(!strcmp(argv[
a],
"--outLHE")){
45 }
46 else if(!strcmp(argv[
a],
"--randomSeed")){
47 seed = std::stoull(argv[
a+1]);
48 }
49 else if(!strcmp(argv[
a],
"--debug")){
51 }
52 }
53
55 merger.
setIO(powheg, prophecy4e, prophecy4mu, prophecy2e2mu, out,
debug);
58
59 return 0;
60
61}
void setIO(const std::string &powheg, const std::string &prophecy4e, const std::string &prophecy4mu, const std::string &prophecy2e2mu, const std::string &outlhe, bool debug)
void setRandomSeed(unsigned long long seed)