![]() |
MaCh3
2.4.2
Reference Guide
|
This executable allow to reweight MCMC Chain, such technique is used to study impact of different priors without rerunning MCMC. More...
#include "Manager/Manager.h"#include "Fitters/MCMCProcessor.h"#include "TFile.h"#include "TTree.h"#include "TChain.h"#include "TMath.h"#include "TGraph2D.h"#include "TGraph.h"#include <memory>#include <vector>#include <string>#include <cmath>#include <fstream>#include <map>Go to the source code of this file.
Classes | |
| struct | ReweightConfig |
| Structure to hold reweight configuration. More... | |
Functions | |
| void | ReweightMCMC (const std::string &inputFile, const std::string &configFile) |
| Main executable responsible for reweighting MCMC chains. More... | |
| double | Graph_interpolateNO (TGraph2D *graph, double theta13, double dm32) |
| Function to interpolate 2D graph for Normal Ordering. More... | |
| double | Graph_interpolateIO (TGraph2D *graph, double theta13, double dm32) |
| Function to interpolate 2D graph for Inverted Ordering More... | |
| double | Graph_interpolate1D (TGraph *graph, double theta13) |
| Function to interpolate 1D graph. More... | |
| bool | GetParameterInfo (MCMCProcessor *processor, const std::string ¶mName, double &mean, double &sigma) |
| Get parameter information from MCMCProcessor. More... | |
| void | LoadReweightingSettings (std::vector< ReweightConfig > &reweightConfigs, const YAML::Node &reweight_settings) |
| Load reweighting setting like 1D or 2D from YAML config. More... | |
| int | main (int argc, char *argv[]) |
| Main function. More... | |
This executable allow to reweight MCMC Chain, such technique is used to study impact of different priors without rerunning MCMC.
Definition in file ReweightMCMC.cpp.
| bool GetParameterInfo | ( | MCMCProcessor * | processor, |
| const std::string & | paramName, | ||
| double & | mean, | ||
| double & | sigma | ||
| ) |
Get parameter information from MCMCProcessor.
Definition at line 600 of file ReweightMCMC.cpp.
| double Graph_interpolate1D | ( | TGraph * | graph, |
| double | theta13 | ||
| ) |
Function to interpolate 1D graph.
Definition at line 571 of file ReweightMCMC.cpp.
| double Graph_interpolateIO | ( | TGraph2D * | graph, |
| double | theta13, | ||
| double | dm32 | ||
| ) |
Function to interpolate 2D graph for Inverted Ordering
Definition at line 545 of file ReweightMCMC.cpp.
| double Graph_interpolateNO | ( | TGraph2D * | graph, |
| double | theta13, | ||
| double | dm32 | ||
| ) |
Function to interpolate 2D graph for Normal Ordering.
Definition at line 521 of file ReweightMCMC.cpp.
| void LoadReweightingSettings | ( | std::vector< ReweightConfig > & | reweightConfigs, |
| const YAML::Node & | reweight_settings | ||
| ) |
Load reweighting setting like 1D or 2D from YAML config.
Definition at line 97 of file ReweightMCMC.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Main function.
Definition at line 80 of file ReweightMCMC.cpp.
| void ReweightMCMC | ( | const std::string & | inputFile, |
| const std::string & | configFile | ||
| ) |
Main executable responsible for reweighting MCMC chains.
| inputFile | MCMC Chain file path |
| configFile | Config file with reweighting settings |
Definition at line 280 of file ReweightMCMC.cpp.