131 x =
hfit->GetBinCenter(i+1);
148 return par[0]/(dm*dm+par[2]*par[2]);
201 if(
rnd->Rndm()>frac) {
332 std::cout<<
"Unfolding result may be wrong\n";
348#ifdef VERBOSE_LCURVE_SCAN
357#ifdef VERBOSE_LCURVE_SCAN
384 std::cout<<
"tau="<<
unfold.GetTau()<<
"\n";
385 std::cout<<
"chi**2="<<
unfold.GetChi2A()<<
"+"<<
unfold.GetChi2L()
386 <<
" / "<<
unfold.GetNdf()<<
"\n";
387 std::cout<<
"chi**2(sys)="<<
unfold.GetChi2Sys()<<
"\n";
447 bw->SetParameter(0,1000.);
448 bw->SetParameter(1,3.8);
449 bw->SetParameter(2,0.2);
512 output.SaveAs(
"testUnfold1.ps");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Int_t gErrorIgnoreLevel
Error handling routines.
R__EXTERN TStyle * gStyle
static void RejectPoint(Bool_t reject=kTRUE)
Static function to set the global flag to reject points the fgRejectPoint global flag is tested by al...
virtual Int_t GetNpar() const
virtual void SetNumberFitPoints(Int_t npfits)
virtual void InitArgs(const Double_t *x, const Double_t *params)
Initialize parameters addresses.
virtual Double_t EvalPar(const Double_t *x, const Double_t *params=nullptr)
Evaluate function with given coordinates and parameters.
static Bool_t RejectedPoint()
See TF1::RejectPoint above.
A TGraph is an object made of two arrays X and Y with npoints each.
1-D histogram with a double per channel (see TH1 documentation)
TH1 is the base class of all histogram classes in ROOT.
static void SetDefaultSumw2(Bool_t sumw2=kTRUE)
When this static function is called with sumw2=kTRUE, all new histograms will automatically activate ...
2-D histogram with a double per channel (see TH1 documentation)
Service class for 2-D histogram classes.
Random number generator class based on M.
This is the base class for the ROOT Random number generators.
Base class for spline implementation containing the Draw/Paint methods.
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
An algorithm to unfold distributions from detector to truth level.
@ kSysErrModeRelative
matrix gives the relative shifts
@ kSysErrModeMatrix
matrix is an alternative to the default matrix, the errors are the difference to the original matrix
@ kHistMapOutputVert
truth level on y-axis of the response matrix
Abstract Base Class for Fitting.
static TVirtualFitter * Fitter(TObject *obj, Int_t maxpar=25)
Static function returning a pointer to the current fitter.
Double_t Sqrt(Double_t x)
Returns the square root of x.
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
Returns x raised to the power y.
Double_t Tan(Double_t)
Returns the tangent of an angle of x radians.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.