a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
MonteCarloEngine.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 HEPfit Collaboration
3  *
4  *
5  * For the licensing terms see doc/COPYING.
6  */
7 
8 #ifndef __MONTECARLOENGINE__H
9 #define __MONTECARLOENGINE__H
10 
11 #include "Observable.h"
12 #include "Observable2D.h"
15 #include "ModelParameter.h"
16 #include "Model.h"
17 #include <BAT/BCModel.h>
18 #include <BAT/BCH1D.h>
19 #include <BAT/BCH2D.h>
20 #include <TFile.h>
21 #include <TPrincipal.h>
22 #include <TColor.h>
23 #include <map>
24 #include <string>
25 #include <sstream>
26 #include <boost/ptr_container/ptr_vector.hpp>
27 
28 #define NBINS1D 100
29 #define NBINS2D 100
30 #define NSTEPS 1e5
31 
42 class MonteCarloEngine : public BCModel {
43 public:
44 
52  MonteCarloEngine(const std::vector<ModelParameter>& ModPars_i,
53  boost::ptr_vector<Observable>& Obs_i,
54  std::vector<Observable2D>& Obs2D_i,
55  std::vector<CorrelatedGaussianObservables>& CGO_i,
56  std::vector<CorrelatedGaussianParameters>& CGP_i);
57 
62 
73  void Initialize(StandardModel* Mod_i);
74 
78  void CreateHistogramMaps();
79 
98  void DefineParameters();
99 
111  double LogLikelihood(const std::vector <double>& parameters);
112 
119  void CheckHistogram(TH1& hist, const std::string name);
120 
127  void CheckHistogram(TH2& hist, const std::string name);
128 
129  void Print1D(BCH1D hist1D, const char * filename, int ww=0, int wh=0);
130 
131  void Print2D(BCH2D hist2D, const char * filename, int ww=0, int wh=0);
132 
141  void PrintHistogram(std::string& OutFile, Observable & it, const std::string OutputDir);
142 
150  void PrintHistogram(std::string& OutFile, const std::string OutputDir);
151 
160 
168  void setNChains(unsigned int i);
169 
176  void AddChains();
177 
179 
181 
186  std::string getHistoLog() const
187  {
188  return HistoLog.str().c_str();
189  }
190 
195  int getchainedObsSize() const
196  {
197  return kchainedObs;
198  }
199 
204  std::string computeStatistics();
205 
210  std::string writePreRunData();
211 
217  void PrintCorrelationMatrixToLaTeX(const std::string filename);
218 
225  {
226  return NumOfDiscardedEvents;
227  }
228 
233  int getNumOfUsedEvents() const
234  {
235  return NumOfUsedEvents;
236  }
237 
242  std::map<std::string, BCH1D> getHistograms1D() const
243  {
244  return Histo1D;
245  }
246 
251  std::map<std::string, BCH2D> getHistograms2D() const
252  {
253  return Histo2D;
254  }
255 
260  double computeNormalizationLME();
261 
266  std::vector<double> computeNormalizationMC(int NIterationNormalizationMC);
267 
272  double SecondDerivative(BCParameter par1, BCParameter par2, std::vector<double> point);
273 
278  double FirstDerivative(BCParameter par, std::vector<double> point);
279 
285  double Function_h(std::vector<double> point);
286 
292  void setDParsFromParameters(const std::vector<double>& parameters, std::map<std::string,double>& DPars_i);
293 
298  void setPrintLogo(bool print)
299  {
300  printLogo = print;
301  };
302 
307  void setNoLegend(bool legend)
308  {
309  noLegend = legend;
310  };
311 
317  {
319  };
320 
326  {
328  };
329 
334  {
336  };
337 
343  {
345  };
346 
351  {
352  return WriteParametersChain;
353  };
354 
359  void setAlpha2D(double alpha)
360  {
361  alpha2D = alpha;
362  };
363 
368  void setSmooth(int int_N)
369  {
370  nSmooth = int_N;
371  };
372 
377  void setHistogram2DType(int type)
378  {
379  histogram2Dtype = type;
380  };
381 
386  void setNBins1D(unsigned int nbins)
387  {
388  nBins1D = nbins;
389  };
390 
395  void setNBins2D(unsigned int nbins)
396  {
397  nBins2D = nbins;
398  };
399 
404  void setSignificants(unsigned int significants_i)
405  {
406  significants = significants_i;
407  };
408 
413  void setHistogramBufferSize(unsigned int histogramBufferSize_i)
414  {
415  histogramBufferSize = histogramBufferSize_i;
416  };
417 
423  {
424 #ifdef _MPI
425  return procnum;
426 #else
427  return 1;
428 #endif
429  }
430 
431 private:
432 
439  int getPrecision(double value, double rms);
440 
441  const std::vector<ModelParameter>& ModPars;
442  const std::vector<CorrelatedGaussianParameters>& CGP;
443  boost::ptr_vector<Observable>& Obs_ALL;
444  std::vector<Observable2D>& Obs2D_ALL;
445  std::vector<CorrelatedGaussianObservables>& CGO;
447  std::map<std::string, double> DPars;
448  std::vector<std::map<std::string, double> > DPars_allChains;
449  std::map<std::string, BCH1D> Histo1D;
450  std::map<std::string, BCH2D> Histo2D;
451  std::map<std::string, double> thMin;
452  std::map<std::string, double> thMax;
453  std::map<std::string, TPrincipal *> CorrelationMap;
454  double *obval;
455  double *obweight;
456  unsigned int kwmax;
457  unsigned int kmax;
458  unsigned int kchainedObs;
459  std::ostringstream HistoLog;
462  int rank;
465  std::vector<std::vector<double> > hMCMCObservables;
466  std::vector<std::vector<double> > hMCMCObservables_weight;
467  std::vector<std::vector<double> > hMCMCParameters;
468  std::vector<double> hMCMCTree_Observables;
469  std::vector<double> hMCMCTree_Observables_weight;
470  std::vector<double> hMCMCTree_Parameters;
474  unsigned int cindex;
475  std::ofstream ofi;
476  std::vector<std::string> unknownParameters;
477  bool printLogo;
478  int nSmooth;
480  bool noLegend;
484  double alpha2D;
485  int gIdx;
486  int rIdx;
487  unsigned int nBins1D;
488  unsigned int nBins2D;
489  unsigned int significants;
490  TColor * HEPfit_green;
491  TColor * HEPfit_red;
492  unsigned int histogramBufferSize;
493  std::vector<double> par_at_LL_max;
495 };
496 
497 #endif
498 
MonteCarloEngine::HEPfit_green
TColor * HEPfit_green
< The number of significant digits in the Statistics File.
Definition: MonteCarloEngine.h:490
MonteCarloEngine::hMCMCObservables
std::vector< std::vector< double > > hMCMCObservables
A vector of vectors containing the observables values of all the chains to be put into the ROOT tree.
Definition: MonteCarloEngine.h:465
MonteCarloEngine::ModPars
const std::vector< ModelParameter > & ModPars
A vector of model parameters.
Definition: MonteCarloEngine.h:441
MonteCarloEngine::setAlpha2D
void setAlpha2D(double alpha)
A set method to toggle the printing of legends in 1D and 2D histograms.
Definition: MonteCarloEngine.h:359
MonteCarloEngine::WriteParametersChain
bool WriteParametersChain
A flag to toggle the writing of parameters chains in the ROOT tree.
Definition: MonteCarloEngine.h:483
MonteCarloEngine::nBins1D
unsigned int nBins1D
The number of bins in a 1D histogram.
Definition: MonteCarloEngine.h:487
MonteCarloEngine::HEPfit_red
TColor * HEPfit_red
< The colour green for HEPfit.
Definition: MonteCarloEngine.h:491
MonteCarloEngine::MCMCUserIterationInterface
void MCMCUserIterationInterface()
Overloaded from BCEngineMCMC in BAT
Definition: MonteCarloEngine.cpp:359
MonteCarloEngine::PrintHistogram
void PrintHistogram(std::string &OutFile, Observable &it, const std::string OutputDir)
Overloaded from PrintHistogram(BCModelOutput&, const std::string) to print histogram for observables.
Definition: MonteCarloEngine.cpp:786
MonteCarloEngine::CreateHistogramMaps
void CreateHistogramMaps()
Creation of the histogram maps for Observables, Observable2D and Correlated Gaussian Observable.
Definition: MonteCarloEngine.cpp:121
MonteCarloEngine::nBins2D
unsigned int nBins2D
The number of bins in a 2D histogram.
Definition: MonteCarloEngine.h:488
MonteCarloEngine::setHistogramBufferSize
void setHistogramBufferSize(unsigned int histogramBufferSize_i)
A set method to set the size of the buffer used by the histograms.
Definition: MonteCarloEngine.h:413
MonteCarloEngine::PrintCorrelationMatrixToLaTeX
void PrintCorrelationMatrixToLaTeX(const std::string filename)
This member generates the correlation matrix using BCH2D from the BAT libraries.
Definition: MonteCarloEngine.cpp:973
MonteCarloEngine::hMCMCTree_Observables_weight
std::vector< double > hMCMCTree_Observables_weight
A vector containing the observables weight to be put into the ROOT tree.
Definition: MonteCarloEngine.h:469
MonteCarloEngine::Obs_ALL
boost::ptr_vector< Observable > & Obs_ALL
A vector of all observables.
Definition: MonteCarloEngine.h:443
MonteCarloEngine::Obs2D_ALL
std::vector< Observable2D > & Obs2D_ALL
A vector of all pairs of observable for Observable2D.
Definition: MonteCarloEngine.h:444
ModelParameter.h
MonteCarloEngine::alpha2D
double alpha2D
A number between 0. and 1. that sets the opacity level of 2D Histograms, 1. being fully opaque.
Definition: MonteCarloEngine.h:484
MonteCarloEngine::getWriteLogLikelihoodChain
bool getWriteLogLikelihoodChain()
A get method to get the value of the bool the writing of Loglikelihood in the ROOT tree.
Definition: MonteCarloEngine.h:333
MonteCarloEngine::hMCMCObservableTree
TTree * hMCMCObservableTree
A ROOT tree that contains the observables values and weight when the chains are written.
Definition: MonteCarloEngine.h:463
MonteCarloEngine::Mod
StandardModel * Mod
A pointer to an abject of type Model.
Definition: MonteCarloEngine.h:446
StandardModel
A model class for the Standard Model.
Definition: StandardModel.h:477
MonteCarloEngine::hMCMCLogProbability
double hMCMCLogProbability
A variable containing the LogProbability values to be put into the ROOT tree.
Definition: MonteCarloEngine.h:472
MonteCarloEngine::Histo1D
std::map< std::string, BCH1D > Histo1D
A map between pointers to objects of type BCH1D (BAT) and their given names.
Definition: MonteCarloEngine.h:449
MonteCarloEngine::ofi
std::ofstream ofi
Definition: MonteCarloEngine.h:475
MonteCarloEngine::CheckHistogram
void CheckHistogram(TH1 &hist, const std::string name)
This member checks if there is overflow of the 1D histogram.
Definition: MonteCarloEngine.cpp:594
MonteCarloEngine::AddChains
void AddChains()
A method to add the observable values and weights to the chain information.
Definition: MonteCarloEngine.cpp:884
MonteCarloEngine::setPrintLogo
void setPrintLogo(bool print)
A set method to toggle the printing of logo on the histogram pdf.
Definition: MonteCarloEngine.h:298
MonteCarloEngine::setNBins1D
void setNBins1D(unsigned int nbins)
A set method to set the number of bins for a 1D histograms.
Definition: MonteCarloEngine.h:386
MonteCarloEngine::getMPIWorldSize
int getMPIWorldSize()
A get method to get the number of MPI world size.
Definition: MonteCarloEngine.h:422
MonteCarloEngine::Print2D
void Print2D(BCH2D hist2D, const char *filename, int ww=0, int wh=0)
Definition: MonteCarloEngine.cpp:700
MonteCarloEngine::hMCMCTree_Parameters
std::vector< double > hMCMCTree_Parameters
A vector containing the parameter values to be put into the ROOT tree.
Definition: MonteCarloEngine.h:470
MonteCarloEngine::unknownParameters
std::vector< std::string > unknownParameters
A vector to contain the unkenown parameters passed in the configuration file.
Definition: MonteCarloEngine.h:476
MonteCarloEngine::thMin
std::map< std::string, double > thMin
A map between the name of a theory observable and its minimum value.
Definition: MonteCarloEngine.h:451
MonteCarloEngine::thMax
std::map< std::string, double > thMax
A map between the name of a theory observable and its maximum value.
Definition: MonteCarloEngine.h:452
MonteCarloEngine::InChainFillParametersTree
void InChainFillParametersTree()
Definition: MonteCarloEngine.cpp:964
MonteCarloEngine::getPrecision
int getPrecision(double value, double rms)
A get method to calculate the precision of the numbers in the Statistics file based on the rms.
Definition: MonteCarloEngine.cpp:1004
MonteCarloEngine::par_at_LL_max
std::vector< double > par_at_LL_max
< The size of the buffer used for the histograms.
Definition: MonteCarloEngine.h:493
MonteCarloEngine::histogramBufferSize
unsigned int histogramBufferSize
< The colour red for HEPfit.
Definition: MonteCarloEngine.h:492
MonteCarloEngine::setNBins2D
void setNBins2D(unsigned int nbins)
A set method to set the number of bins for a 2D histograms.
Definition: MonteCarloEngine.h:395
MonteCarloEngine::getchainedObsSize
int getchainedObsSize() const
A get method to access the number of Observable chains requested.
Definition: MonteCarloEngine.h:195
MonteCarloEngine::hMCMCParameters
std::vector< std::vector< double > > hMCMCParameters
A vector of vectors containing the parameter values of all the chains to be put into the ROOT tree.
Definition: MonteCarloEngine.h:467
MonteCarloEngine::setDParsFromParameters
void setDParsFromParameters(const std::vector< double > &parameters, std::map< std::string, double > &DPars_i)
A method to rotate the diagonalized parameters to the original basis for correlated parameters.
Definition: MonteCarloEngine.cpp:261
MonteCarloEngine::significants
unsigned int significants
Definition: MonteCarloEngine.h:489
MonteCarloEngine::DPars
std::map< std::string, double > DPars
A map between parameter names and their values.
Definition: MonteCarloEngine.h:447
MonteCarloEngine::getNumOfUsedEvents
int getNumOfUsedEvents() const
A get method to access the number of events used in the MCMC run.
Definition: MonteCarloEngine.h:233
MonteCarloEngine::nSmooth
int nSmooth
The number of times a 1D histogram should be smoothed.
Definition: MonteCarloEngine.h:478
MonteCarloEngine::computeNormalizationLME
double computeNormalizationLME()
A method to calculate the normalization based on the Laplace-Metropolis Estimator.
Definition: MonteCarloEngine.cpp:1335
MonteCarloEngine::LogLikelihood
double LogLikelihood(const std::vector< double > &parameters)
This member calculates the loglikelihood for the observables included in the MCMC run.
Definition: MonteCarloEngine.cpp:312
MonteCarloEngine::DPars_allChains
std::vector< std::map< std::string, double > > DPars_allChains
A vector of maps between parameter names and their values for all chains.
Definition: MonteCarloEngine.h:448
MonteCarloEngine::LogLikelihood_max
double LogLikelihood_max
< vector to store the value of the parameters at maximum LogLikelihood;
Definition: MonteCarloEngine.h:494
MonteCarloEngine::computeStatistics
std::string computeStatistics()
A get method to compute the mean and rms of the computed observables.
Definition: MonteCarloEngine.cpp:1012
MonteCarloEngine::gIdx
int gIdx
Definition: MonteCarloEngine.h:485
MonteCarloEngine::FirstDerivative
double FirstDerivative(BCParameter par, std::vector< double > point)
A method to calculate the first derivative.
Definition: MonteCarloEngine.cpp:1389
MonteCarloEngine::setHistogram2DType
void setHistogram2DType(int type)
A set method to set the band fill type for 2D histograms.
Definition: MonteCarloEngine.h:377
Observable.h
Model.h
MonteCarloEngine::writePreRunData
std::string writePreRunData()
A method to write in a text file the best fit parameters and the prerun scale factors.
Definition: MonteCarloEngine.cpp:1306
MonteCarloEngine::MonteCarloEngine
MonteCarloEngine(const std::vector< ModelParameter > &ModPars_i, boost::ptr_vector< Observable > &Obs_i, std::vector< Observable2D > &Obs2D_i, std::vector< CorrelatedGaussianObservables > &CGO_i, std::vector< CorrelatedGaussianParameters > &CGP_i)
Constructor.
Definition: MonteCarloEngine.cpp:28
MonteCarloEngine::setNChains
void setNChains(unsigned int i)
A set method to fix the number of chains.
Definition: MonteCarloEngine.cpp:178
Observable
A class for observables.
Definition: Observable.h:28
MonteCarloEngine::kchainedObs
unsigned int kchainedObs
The number of observables for which the chains should be written.
Definition: MonteCarloEngine.h:458
MonteCarloEngine::hMCMCLogLikelihood
double hMCMCLogLikelihood
A variable containing the LogLikelihood values to be put into the ROOT tree.
Definition: MonteCarloEngine.h:471
MonteCarloEngine::HistoLog
std::ostringstream HistoLog
A stream to store the output messages from printing and checking histograms.
Definition: MonteCarloEngine.h:459
MonteCarloEngine::rank
int rank
Rank of the process for a MPI run. Value is 0 for a serial run.
Definition: MonteCarloEngine.h:462
MonteCarloEngine::NumOfUsedEvents
int NumOfUsedEvents
The number of events for which the model is successfully updated and hence used for the MCMC run.
Definition: MonteCarloEngine.h:460
MonteCarloEngine::getHistoLog
std::string getHistoLog() const
A get method to access the stream that stores the log messages coming from histogram printing and che...
Definition: MonteCarloEngine.h:186
MonteCarloEngine::noLegend
bool noLegend
A flag to toggle the histogram legends.
Definition: MonteCarloEngine.h:480
MonteCarloEngine::getHistograms2D
std::map< std::string, BCH2D > getHistograms2D() const
A get method to access the map of 2D histograms.
Definition: MonteCarloEngine.h:251
MonteCarloEngine::rIdx
int rIdx
Definition: MonteCarloEngine.h:486
Observable2D.h
MonteCarloEngine::setNoLegend
void setNoLegend(bool legend)
A set method to toggle the printing of legends in 1D and 2D histograms.
Definition: MonteCarloEngine.h:307
MonteCarloEngine::Histo2D
std::map< std::string, BCH2D > Histo2D
A map between pointers to objects of type BCH2D (BAT) and their given names.
Definition: MonteCarloEngine.h:450
MonteCarloEngine::DefineParameters
void DefineParameters()
A member to classify the prior of the model parameters varied in the Monte Carlo.
Definition: MonteCarloEngine.cpp:206
MonteCarloEngine::CorrelationMap
std::map< std::string, TPrincipal * > CorrelationMap
A map between the name of a theory observable and its maximum value.
Definition: MonteCarloEngine.h:453
MonteCarloEngine::computeNormalizationMC
std::vector< double > computeNormalizationMC(int NIterationNormalizationMC)
A method to calculate the normalization based on the Monte Carlo Simulation.
Definition: MonteCarloEngine.cpp:1319
MonteCarloEngine::kmax
unsigned int kmax
The number of observables.
Definition: MonteCarloEngine.h:457
MonteCarloEngine::getHistograms1D
std::map< std::string, BCH1D > getHistograms1D() const
A get method to access the map of 1D histograms.
Definition: MonteCarloEngine.h:242
MonteCarloEngine::setSmooth
void setSmooth(int int_N)
A set method to set the number of smoothing passes for ROOT in 1D histograms.
Definition: MonteCarloEngine.h:368
MonteCarloEngine::setSignificants
void setSignificants(unsigned int significants_i)
A set method to set the number of significant digits in the output.
Definition: MonteCarloEngine.h:404
MonteCarloEngine::WriteLogLikelihoodChain
bool WriteLogLikelihoodChain
A flag to toggle the writing of Loglikelihood chains in the ROOT tree.
Definition: MonteCarloEngine.h:482
MonteCarloEngine::getWriteParametersChain
bool getWriteParametersChain()
A get method to get the value of the bool the writing of parameters in the ROOT tree.
Definition: MonteCarloEngine.h:350
MonteCarloEngine::cindex
unsigned int cindex
An index to distinguish between succesive canvases used to draw histograms.
Definition: MonteCarloEngine.h:474
MonteCarloEngine::PrintLoglikelihoodPlots
bool PrintLoglikelihoodPlots
A flag to toggle the printing of Parameters vs. Loglikelihood.
Definition: MonteCarloEngine.h:481
MonteCarloEngine::hMCMCParameterTree
TTree * hMCMCParameterTree
A ROOT tree that contains the parameter values when the chains are written.
Definition: MonteCarloEngine.h:464
MonteCarloEngine::setWriteParametersChain
void setWriteParametersChain(bool LL)
A set method to toggle the writing of parameters in the ROOT tree.
Definition: MonteCarloEngine.h:342
MonteCarloEngine::InChainFillObservablesTree
void InChainFillObservablesTree()
Definition: MonteCarloEngine.cpp:949
MonteCarloEngine::histogram2Dtype
int histogram2Dtype
Type of 2D Histogram 1001 -> box pixel, 101 -> filled, 1 -> contour.
Definition: MonteCarloEngine.h:479
MonteCarloEngine::CGO
std::vector< CorrelatedGaussianObservables > & CGO
A vector of correlated Gaussian observables.
Definition: MonteCarloEngine.h:445
MonteCarloEngine::~MonteCarloEngine
~MonteCarloEngine()
The default destructor. Some pointers defined in this class are explicitly freed.
Definition: MonteCarloEngine.cpp:186
MonteCarloEngine
An engine class for Monte Carlo.
Definition: MonteCarloEngine.h:42
MonteCarloEngine::kwmax
unsigned int kwmax
The number of observables whose weights are used for the MCMC.
Definition: MonteCarloEngine.h:456
MonteCarloEngine::NumOfDiscardedEvents
int NumOfDiscardedEvents
The number of events for which the update of the model fails and these events are not used for the MC...
Definition: MonteCarloEngine.h:461
MonteCarloEngine::CGP
const std::vector< CorrelatedGaussianParameters > & CGP
A vector of correlated Gaussian parameters.
Definition: MonteCarloEngine.h:442
MonteCarloEngine::SecondDerivative
double SecondDerivative(BCParameter par1, BCParameter par2, std::vector< double > point)
A method to calculate the second derivative.
Definition: MonteCarloEngine.cpp:1354
MonteCarloEngine::Print1D
void Print1D(BCH1D hist1D, const char *filename, int ww=0, int wh=0)
Definition: MonteCarloEngine.cpp:619
MonteCarloEngine::Initialize
void Initialize(StandardModel *Mod_i)
Initialization of the Monte Carlo Engine.
Definition: MonteCarloEngine.cpp:76
MonteCarloEngine::setWriteLogLikelihoodChain
void setWriteLogLikelihoodChain(bool LL)
A set method to toggle the writing of Loglikelihood in the ROOT tree.
Definition: MonteCarloEngine.h:325
CorrelatedGaussianObservables.h
MonteCarloEngine::hMCMCObservables_weight
std::vector< std::vector< double > > hMCMCObservables_weight
A vector of vectors containing the observables weight of all the chains to be put into the ROOT tree.
Definition: MonteCarloEngine.h:466
MonteCarloEngine::obval
double * obval
A pointer to the vector of observable values.
Definition: MonteCarloEngine.h:454
MonteCarloEngine::Function_h
double Function_h(std::vector< double > point)
A method to calculate the LogLikelihood + LogAprioriProbability.
Definition: MonteCarloEngine.cpp:1424
MonteCarloEngine::obweight
double * obweight
A pointer to the vector of observable weights.
Definition: MonteCarloEngine.h:455
MonteCarloEngine::hMCMCTree_Observables
std::vector< double > hMCMCTree_Observables
A vector containing the observables values to be put into the ROOT tree.
Definition: MonteCarloEngine.h:468
MonteCarloEngine::printLogo
bool printLogo
A flag that is set to true for printing the logo on the histogram pdf.
Definition: MonteCarloEngine.h:477
MonteCarloEngine::hMCMCLogPriorProbability
double hMCMCLogPriorProbability
A variable containing the LogPriorProbability values to be put into the ROOT tree.
Definition: MonteCarloEngine.h:473
MonteCarloEngine::getNumOfDiscardedEvents
int getNumOfDiscardedEvents() const
A get method to access the number of events discarded due to failure to update model....
Definition: MonteCarloEngine.h:224
CorrelatedGaussianParameters.h
MonteCarloEngine::setPrintLoglikelihoodPlots
void setPrintLoglikelihoodPlots(bool plot)
A set method to toggle the printing of Parameters vs. Loglikelihood.
Definition: MonteCarloEngine.h:316