MaCh3  2.8.0
Reference Guide
Functions
CombineMaCh3Chains.cpp File Reference

Combine chains files produced by MCMC, enforcing the condition that all the files to combine were made using the exact same software versions and config files. More...

#include "Manager/MaCh3Logger.h"
#include "CLI/Modules/CombineModule.hpp"
Include dependency graph for CombineMaCh3Chains.cpp:

Go to the source code of this file.

Functions

int main (int argc, char const *argv[])
 

Detailed Description

Combine chains files produced by MCMC, enforcing the condition that all the files to combine were made using the exact same software versions and config files.

Author
Ewan Miller
Kamil Skwarczynski

Definition in file CombineMaCh3Chains.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)

Definition at line 11 of file CombineMaCh3Chains.cpp.

11  {
12  MACH3LOG_WARN("Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
13  MACH3LOG_WARN(" : you can use 'mach3 combine' as a direct replacement instead.");
14  argv[0] = "combine";
15  M3::CombineModule proc;
16  M3::MaCh3ArgumentParser* parser = proc.get_parser();
17  parser->parse_args(argc, argv);
18  proc.Run();
19  MACH3LOG_WARN("Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
20  MACH3LOG_WARN(" : you can use 'mach3 combine' as a direct replacement instead.");
21  return 0;
22 }
#define MACH3LOG_WARN
Definition: MaCh3Logger.h:36
Allows you to combine multiple chains or ROOT files into a single output.
int Run() override
Execute the application.
MaCh3ArgumentParser * get_parser() override
Get the argument parser for this module.
Extended ArgumentParser with MaCh3-specific functionality.
Definition: m3argparse.hpp:17