ROOT
Version v6.34
master
v6.36
v6.32
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
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
▼
tutorials
►
cocoa
►
cont
►
dataframe
►
eve
►
eve7
►
fft
►
fit
►
fitsio
►
foam
►
geom
►
gl
►
graphics
►
graphs
►
gui
►
hist
►
histfactory
►
http
►
image
►
io
►
legacy
►
math
►
matrix
►
mc
►
multicore
►
net
►
physics
►
proof
▼
pyroot
demo.py
demoshelp.py
DynamicSlice.py
fit1.py
►
fit1_py.py
formula1.py
geometry.py
gerrors.py
graph.py
gui_ex.py
h1ReadAndDraw.py
hsimple.py
hsum.py
mrt.py
na49geomfile.py
na49view.py
na49visible.py
ntuple1.py
numberEntry.py
parse_CSV_file_with_TTree_ReadStream.py
pyroot001_arrayInterface.py
pyroot002_pythonizationDecorator.py
pyroot003_prettyPrinting.py
pyroot004_NumbaDeclare.py
pyroot005_tfile_context_manager.py
pyroot006_tcontext_context_manager.py
ratioplot.py
shapes.py
staff.py
surfaces.py
tornado.py
zdemo.py
►
pythia
►
quadp
►
r
►
rcanvas
►
roofit
►
roostats
►
spectrum
►
splot
►
sql
►
tmva
►
tree
►
unfold
►
unuran
►
v7
►
vecops
►
webcanv
►
webgui
►
xml
►
.enableImplicitMTWrapper.py
.rootlogon.py
demos.C
demoshelp.C
hsimple.C
rootlogoff.C
rootlogon.C
►
v6-34-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
fit1_py.py
Go to the documentation of this file.
1
2
c1 =
TCanvas
(
'c1'
,
'The Fit Canvas'
)
3
c1.SetGridx
()
4
c1.SetGridy
()
5
6
fill =
TFile
(
'fillrandom.root'
)
7
fill.ls
()
8
sqroot.Print
()
9
10
h1f.Fit
(
'sqroot'
)
11
12
fitlabel =
TPaveText
( 0.6, 0.3, 0.9, 0.80,
'NDC'
)
13
fitlabel.SetTextAlign
( 12 )
14
fitlabel.SetFillColor
( 42 )
15
fitlabel.ReadFile
(
'fit1_py.py'
)
16
fitlabel.Draw
()
17
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
TCanvas
The Canvas class.
Definition
TCanvas.h:23
TFile
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
Definition
TFile.h:53
TPaveText
A Pave (see TPave) with text, lines or/and boxes inside.
Definition
TPaveText.h:21
tutorials
pyroot
fit1_py.py
ROOT v6-34 - Reference Guide Generated on Wed Apr 23 2025 15:42:35 (GVA Time) using Doxygen 1.10.0