MaCh3  2.8.0
Reference Guide
PlotLLH.cpp
Go to the documentation of this file.
1 // C++
2 #include <algorithm>
3 #include <iomanip>
4 
5 // MACH3 PLOTTING
7 
8 //this file has lots of usage of the ROOT plotting interface that only takes floats, turn this warning off for this CU for now
9 #pragma GCC diagnostic ignored "-Wfloat-conversion"
10 #pragma GCC diagnostic ignored "-Wconversion"
11 
15 
16 #include "Manager/MaCh3Logger.h"
17 #include "CLI/Modules/Plot/LLHModule.hpp"
18 
19 int main(int argc, char const* argv[]){
20  MACH3LOG_WARN("Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
21  MACH3LOG_WARN(" : you can use 'mach3 plot llhscan' as a direct replacement instead.");
22  argv[0] = "llhscan";
23  M3::LLHModule proc;
24  M3::MaCh3ArgumentParser* parser = proc.get_parser();
25  parser->parse_args(argc, argv);
26  proc.Run();
27  MACH3LOG_WARN("Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
28  MACH3LOG_WARN(" : you can use 'mach3 plot llhscan' as a direct replacement instead.");
29  return 0;
30 }
MaCh3 Logging utilities built on top of SPDLOG.
#define MACH3LOG_WARN
Definition: MaCh3Logger.h:36
int main(int argc, char const *argv[])
Definition: PlotLLH.cpp:19
Extended ArgumentParser with MaCh3-specific functionality.
Definition: m3argparse.hpp:17