GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
Example13.cxx File Reference

Go4Fit Example13. More...

#include <iostream>
#include "TMath.h"
#include "TH1.h"
#include "TH2.h"
#include "TCanvas.h"
#include "TCutG.h"
#include "TApplication.h"
#include "TRandom.h"
#include "TGo4Fitter.h"
#include "TGo4FitDataHistogram.h"
#include "TGo4FitDataRidge.h"
#include "TGo4FitModelFormula.h"

Go to the source code of this file.

Functions

void AddRidge (TH2D *histo, double a, double k, double b, double xstart, int numsteps, int numpoints, double deviation)
 
void Example13 ()
 
int main (int argc, char **argv)
 
TCutG * MakeCut ()
 
TH2D * MakeRidgeHistogram ()
 

Detailed Description

Go4Fit Example13.

Fitting ridge on 2D histogram

Definition in file Example13.cxx.

Function Documentation

◆ AddRidge()

void AddRidge ( TH2D * histo,
double a,
double k,
double b,
double xstart,
int numsteps,
int numpoints,
double deviation )

Definition at line 53 of file Example13.cxx.

Referenced by MakeRidgeHistogram().

◆ Example13()

◆ main()

int main ( int argc,
char ** argv )

Definition at line 40 of file Example13.cxx.

References Example13().

◆ MakeCut()

TCutG * MakeCut ( )

Definition at line 90 of file Example13.cxx.

Referenced by Example13().

◆ MakeRidgeHistogram()

TH2D * MakeRidgeHistogram ( )

Definition at line 73 of file Example13.cxx.

References AddRidge().

Referenced by Example13().