15 auto Processor = std::make_unique<MCMCProcessor>(inputFile);
16 Processor->SetOutputSuffix(
"_Smear_MCMC");
17 Processor->Initialise();
19 const auto& Smear = Settings[
"SmearChain"];
20 std::vector<std::string> Names = Smear[
"Smear"][0].as<std::vector<std::string>>();
21 std::vector<double> ErrorValue = Smear[
"Smear"][1].as<std::vector<double>>();
23 bool SaveUnsmearedBranch = GetFromManager<bool>(Smear[
"SaveUnsmearedBranch"],
false);
24 Processor->SmearChain(Names, ErrorValue, SaveUnsmearedBranch);
27 int main(
int argc,
char *argv[]) {
35 std::string filename = argv[1];
36 std::string
config = argv[2];
void SetMaCh3LoggerFormat()
Set messaging format of the logger.
int main(int argc, char *argv[])
void DiagMCMC(const std::string &inputFile, const std::string &config)
Main function creating MCMCProcessor and calling Smear Chain.
#define M3OpenConfig(filename)
Macro to simplify calling LoadYaml with file and line info.
Custom exception class for MaCh3 errors.