MaCh3  2.8.0
Reference Guide
LLHMapModule.hpp
Go to the documentation of this file.
1 
4 #pragma once
5 #include "CLI/API/plugin.hpp"
6 #include "Manager/Core.h"
7 
9 // yaml Includes
10 #include "yaml-cpp/yaml.h"
11 // ROOT includes
12 #include <ROOT/RDataFrame.hxx>
14 
15 namespace M3{
16 
22 class LLHMapModule: public IModuleBase{
23  public:
25  virtual ~LLHMapModule();
26 
29  MaCh3ArgumentParser* get_parser() override;
30 
33  int Run() override;
34 
39  std::vector<std::string> GetParams(std::vector<std::string> &PoIs, ROOT::RDataFrame Map);
40 
46  std::pair<bool,std::vector<double>> ExtractBinning(std::string param, YAML::Node Settings, ROOT::RDataFrame Map);
47 };
48 }
KS: Core MaCh3 definitions and compile-time configuration utilities.
#define _MaCh3_Safe_Include_Start_
KS: Avoiding warning checking for headers.
Definition: Core.h:126
#define _MaCh3_Safe_Include_End_
Module for processing LLHMap outputs.
virtual ~LLHMapModule()
Destructor.
std::vector< std::string > GetParams(std::vector< std::string > &PoIs, ROOT::RDataFrame Map)
Process the parameters as given by the config file and present in the input LLHMap.
std::pair< bool, std::vector< double > > ExtractBinning(std::string param, YAML::Node Settings, ROOT::RDataFrame Map)
Extract the binning for a given parameter from the LLHMap.
MaCh3ArgumentParser * get_parser() override
Get the argument parser for this module.
int Run() override
Execute the MCMC diagnostics.
Extended ArgumentParser with MaCh3-specific functionality.
Definition: m3argparse.hpp:17
Base class for core modules in MaCh3.
Definition: plugin.hpp:41
Main namespace for MaCh3 software.
Plugin interface and registration macros for MaCh3.