19 auto Processor = std::make_unique<MCMCProcessor>(inputFile);
20 Processor->SetOutputSuffix(
"_Smear_MCMC");
21 Processor->Initialise();
23 const auto& Smear = Settings[
"SmearChain"];
25 std::vector<std::string> Names = Get<std::vector<std::string>>(Smear[
"Smear"][0], __FILE__, __LINE__);
26 std::vector<double> ErrorValue = Get<std::vector<double>>(Smear[
"Smear"][1], __FILE__, __LINE__);
28 bool SaveUnsmearedBranch = GetFromManager<bool>(Smear[
"SaveUnsmearedBranch"],
false);
29 Processor->SmearChain(Names, ErrorValue, SaveUnsmearedBranch);
32 int main(
int argc,
char *argv[]) {
40 std::string filename = argv[1];
41 std::string
config = argv[2];
void SetMaCh3LoggerFormat()
Set messaging format of the logger.
int main(int argc, char *argv[])
void SmearChain(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 used throughout MaCh3.