#include "MCMC.h"
#include "Juca.h"
#include "TF2.h"
#include "TProfile3D.h"
#include "THStack.h"
#include "TColor.h"
#include "TROOT.h"
#include "TStyle.h"
#include <cln/cln.h>
#include <cln/float.h>
Go to the source code of this file.
Definition at line 16 of file Juca.cpp.
References Proposal::findPeaks(), Proposal::floatPeak, Juca::getlist(), and Peak::pr.
18 cln::cl_inhibit_floating_point_underflow=1;
21 Double_t r[] = {1, 0};
22 Double_t g[] = {1, 0};
23 Double_t b[] = {1, 0};
24 Double_t stop[] = {0., 1.0};
25 TColor::CreateGradientColorTable(2, stop, r, g,b, 100);
35 double llmax=-20,gmax=0;
41 cout<<
"gp "<<m->gaussprob(prop4.floatPeak.pr)<<endl;
42 lst l=m->
getlist(prop4.floatPeak.pr);
43 for(
uint i=0; i< m->size();i++){
44 double mean=m->at(i).calculate(l);
45 cout<<i<<
" "<<mean<<
" "<<sqrt(2*m->at(i).o->loglikelihood(mean))<<endl;
47 for(
uint i=0; i< prop4.floatPeak.pr.size();i++){
48 cout<<i<<
" "<<prop4.floatPeak.pr[i].value<<endl;
lst getlist(const parameters &p) const
A class containing the parameters of a proposal for the next step in the Markov Chain.