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.
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]");
27 std::string powheg, prophecy4e, prophecy4mu, prophecy2e2mu,
out;
28 unsigned long long seed = 0;
31 if(!strcmp(
argv[
a],
"--inPowheg")){
34 else if(!strcmp(
argv[
a],
"--inProphecy4e")){
35 prophecy4e =
argv[
a+1];
37 else if(!strcmp(
argv[
a],
"--inProphecy4mu")){
38 prophecy4mu =
argv[
a+1];
40 else if(!strcmp(
argv[
a],
"--inProphecy2e2mu")){
41 prophecy2e2mu =
argv[
a+1];
43 else if(!strcmp(
argv[
a],
"--outLHE")){
46 else if(!strcmp(
argv[
a],
"--randomSeed")){
49 else if(!strcmp(
argv[
a],
"--debug")){
55 merger.
setIO(powheg, prophecy4e, prophecy4mu, prophecy2e2mu,
out,
debug);
void setIO(const std::string &powheg, const std::string &prophecy4e, const std::string &prophecy4mu, const std::string &prophecy2e2mu, const std::string &outlhe, bool debug)