ROOT
Version v6.32
master
v6.34
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
▼
Functional Parts
►
Core ROOT classes
►
std Extension classes
►
Parallelized classes
►
The Geometry Package
►
Graphics
►
Event display with ROOT7
►
GUI
►
Web Widgets
►
Web Display
►
Histogram Library
►
Input/Output Library
►
Math
►
N-D parametric functions
►
VecOps
►
Monte Carlo
►
HTTP server
►
PROOF
►
TMVA
►
RooFit
►
Dataframe
►
ROOT7 classes
►
NTuple-related classes
►
Tree Library
►
TreePlayer Library
▼
Tutorials
►
Histograms tutorials
►
Tree tutorials
►
Dataframe tutorials
▼
ROOT 7 tutorials
►
RCanvas examples
►
ROOT 7 ntuple tutorials
browser.cxx
concurrentfill.cxx
filedialog.cxx
fitpanel.cxx
fitpanel6.cxx
histops.cxx
perf.cxx
perfcomp.cxx
simple.cxx
►
FOAM tutorials
►
Containers tutorials
►
Event display tutorials
►
Event display ROOT7 tutorials
►
Geometry tutorials
►
Fast Fourier Transforms tutorials
►
Fit Tutorials
►
RooFit Tutorials
►
Graphs tutorials
►
Graphics tutorials
►
OpenGL tutorials
►
Tutorials specific to Mac/Cocoa
►
GUI tutorials
►
HistFactory Tutorials
►
HTTP tutorials
►
Image tutorials
►
IO tutorials
►
Math tutorials
►
Matrix tutorials
►
Monte Carlo tutorials
►
Multicore tutorials
►
Net tutorials
►
Physics tutorials
►
PyRoot tutorials
►
Pythia tutorials
►
Quadratic programming package.
►
R tutorials
►
RooStats Tutorials
►
Spectrum tutorials
►
TSPlot tutorials
►
SQL tutorials
►
TMVA tutorials
►
TUnfold tutorials
►
Unuran tutorials
►
VecOps tutorials
►
FITS files interface tutorials
►
XML tutorials
►
Proof tutorials
►
Webgui tutorials
►
Legacy tutorials
demos.C
demoshelp.C
hsimple.C
rootlogoff.C
rootlogon.C
►
R Interface for Statistical Computing
►
Namespaces
►
All Classes
►
Files
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
fitpanel6.cxx File Reference
Tutorials
»
ROOT 7 tutorials
Detailed Description
/*************************************************************************
* Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#include <
ROOT/RFitPanel.hxx
>
#include "
TH1.h
"
#include "
TFile.h
"
void
fitpanel6
()
{
TFile::Open
(
"hsimple.root"
);
if
(
gFile
) {
gFile
->Get(
"hpx"
);
gFile
->Get(
"hpxpy"
);
gFile
->Get(
"hprof"
);
}
// create panel
auto
panel
= std::make_shared<ROOT::Experimental::RFitPanel>(
"FitPanel"
);
TH1F
*
test
=
new
TH1F
(
"test"
,
"This is test histogram"
,100,-4,4);
test
->FillRandom(
"gaus"
, 10000);
panel
->AssignHistogram(
test
);
panel
->Show();
panel
->ClearOnClose(
panel
);
}
RFitPanel.hxx
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
TFile.h
gFile
#define gFile
Definition
TFile.h:347
TH1.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TFile::Open
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
Definition
TFile.cxx:4094
TH1F
1-D histogram with a float per channel (see TH1 documentation)
Definition
TH1.h:621
Date
2019-04-11
Warning
This is part of the
ROOT
7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Authors
Sergey Linev
S.Lin
.nosp@m.
ev@g
.nosp@m.
si.de
, Iliana Betsou
Ilian
.nosp@m.
a.Be
.nosp@m.
tsou@
.nosp@m.
cern
.nosp@m.
.ch
Definition in file
fitpanel6.cxx
.
tutorials
v7
fitpanel6.cxx
ROOT v6-32 - Reference Guide Generated on Sun Mar 30 2025 15:10:50 (GVA Time) using Doxygen 1.10.0