Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions core/base/src/TObject.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ TObject's bits can be used as flags, bits 0 - 13 and 24-31 are
reserved as global bits while bits 14 - 23 can be used in different
class hierarchies (watch out for overlaps).

\Note
Class inheriting directly or indirectly from TObject should not use
Note: Class inheriting directly or indirectly from TObject should not use
`= default` for any of the constructors.
The default implementation for a constructor can sometime do 'more' than we
expect (and still being standard compliant). On some platforms it will reset
Expand Down Expand Up @@ -871,7 +870,6 @@ void TObject::SetDrawOption(Option_t *option)
return;

TListIter next(gPad->GetListOfPrimitives());
delete gPad->FindObject("Tframe");
while (auto obj = next())
if (obj == this) {
next.SetOption(option);
Expand Down
2 changes: 1 addition & 1 deletion graf2d/gpad/src/TCanvas.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2621,7 +2621,7 @@ TVirtualPadPainter *TCanvas::GetCanvasPainter()

////////////////////////////////////////////////////////////////////////////////
/// Replace canvas painter
/// For intenral use only - when creating PS images
/// For internal use only - when creating PS images

Bool_t TCanvas::EnsurePSPainter(Bool_t create, TVirtualPadPainter *&oldp)
{
Expand Down
10 changes: 5 additions & 5 deletions graf2d/gpad/src/TPad.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ TPad::~TPad()
/// Let avoid usage of gPad when drawing object(s) in canvas or in subpads.
///
/// ~~~{.cpp}
/// auto c1 = new TCanvas("c1","Canvas with subpoads", 600, 600);
/// auto c1 = new TCanvas("c1","Canvas with subpads", 600, 600);
/// c1->Divide(2,2);
///
/// for (Int_t n = 1; n <= 4; ++n) {
Expand Down Expand Up @@ -2838,7 +2838,7 @@ UInt_t TPad::GetWw() const
UInt_t TPad::GetPadWidth() const
{
// Very often pad width was calculated as XtoPixel(GetX2());
// But if coordinate system broken such trnasformation fail.
// But if coordinate system broken such transformation fail.
// Therefore use canvas width multiplied by absolute NDC width value
// Keep fallback solution only when canvas width cannot be defined

Expand All @@ -2855,7 +2855,7 @@ UInt_t TPad::GetPadWidth() const
UInt_t TPad::GetPadHeight() const
{
// Very often pad height was calculated as YtoPixel(GetY1())
// But if coordinate system broken such trnasformation fail.
// But if coordinate system broken such transformation fail.
// Therefore use canvas height multiplied by absolute NDC height value
// Keep fallback solution only when canvas height cannot be defined

Expand Down Expand Up @@ -4223,7 +4223,7 @@ void TPad::PaintHatches(Double_t dy, Double_t angle,
// Rotate back the hatches - first calculate y coordinate
Double_t ytmp = sinb*xli[i] + cosb*ycur;
xli[i] = cosb*xli[i] - sinb*ycur;
// Convert hatches' positions from true NDC to WC to handle cliping
// Convert hatches' positions from true NDC to WC to handle clipping
xli[i] = (xli[i]/wndc)*(rwxmax-rwxmin)+rwxmin;
ytmp = (ytmp/hndc)*(rwymax-rwymin)+rwymin;
yli.push_back(ytmp);
Expand Down Expand Up @@ -5676,7 +5676,7 @@ void TPad::ResizePad(Option_t *option)
Double_t pyrange = -fAbsHNDC*wh;

// Linear X axis
Double_t rounding = 0.; // was used before to adjust somehow wrong int trunctation by coordiantes transformation
Double_t rounding = 0.; // was used before to adjust somehow wrong int truncation by coordinates transformation
Double_t xrange = fX2 - fX1;
fXtoAbsPixelk = rounding + pxlow - pxrange*fX1/xrange; //origin at left
fXtoPixelk = rounding + -pxrange*fX1/xrange;
Expand Down
2 changes: 1 addition & 1 deletion graf2d/gpad/src/TPadPainter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Bool_t TPadPainter::IsCocoa() const
}

////////////////////////////////////////////////////////////////////////////////
/// Returns true if trasnparent colors are supported
/// Returns true if transparent colors are supported

Bool_t TPadPainter::IsSupportAlpha() const
{
Expand Down
1 change: 0 additions & 1 deletion gui/ged/src/TGedFrame.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ void TGedFrame::SetDrawOption(Option_t *option)
if (!fGedEditor->GetPad() || !option) return;

TListIter next(fGedEditor->GetPad()->GetListOfPrimitives());
delete fGedEditor->GetPad()->FindObject("Tframe");
TObject *obj;
while ((obj = next())) {
if (obj == fGedEditor->GetModel()) {
Expand Down
2 changes: 1 addition & 1 deletion gui/treemap/inc/ROOT/RTreeMapBase.hxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// \file ROOT/RTreeMapBase.hxx
/// \ingroup TreeMap ROOT7
/// \defgroup TreeMap ROOT7
/// \author Patryk Tymoteusz Pilichowski <patryk.tymoteusz.pilichowski@cern.ch>
/// \date 2025-08-21
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
Expand Down
1 change: 0 additions & 1 deletion gui/treemap/inc/ROOT/RTreeMapPainter.hxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// \file ROOT/RTreeMapPainter.hxx
/// \ingroup TreeMap ROOT7
/// \author Patryk Tymoteusz Pilichowski <patryk.tymoteusz.pilichowski@cern.ch>
/// \date 2025-08-21
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
Expand Down
2 changes: 1 addition & 1 deletion gui/treemap/src/RTreeMapBase.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// \file RTreeMapBase.cxx
/// \ingroup TreeMap ROOT7
/// \ingroup TreeMap
/// \author Patryk Tymoteusz Pilichowski <patryk.tymoteusz.pilichowski@cern.ch>
/// \date 2025-08-21
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
Expand Down
2 changes: 1 addition & 1 deletion gui/treemap/src/RTreeMapPainter.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// \file RTreeMapPainter.cxx
/// \ingroup TreeMap ROOT7
/// \ingroup TreeMap
/// \author Patryk Tymoteusz Pilichowski <patryk.tymoteusz.pilichowski@cern.ch>
/// \date 2025-08-21
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
Expand Down
4 changes: 2 additions & 2 deletions roofit/roofitcore/src/RooRealIntegral.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ RooRealIntegral::RooRealIntegral()
/// The other integrations are performed numerically. The optional
/// config object prescribes how these numeric integrations are configured.
///
/// \Note If pdf component selection was globally overridden to always include
/// Note: If pdf component selection was globally overridden to always include
/// all components (either with RooAbsReal::globalSelectComp(bool) or a
/// RooAbsReal::GlobalSelectComponentRAII), then any created integral will
/// ignore component selections during its lifetime. This is especially useful
Expand Down Expand Up @@ -464,7 +464,7 @@ RooRealIntegral::RooRealIntegral(const char *name, const char *title,
}

// Replace exclusive lvalue branch servers with lvalue branches
// WVE Don't do this for binned distributions - deal with this using numeric integration with transformed bin boundaroes
// WVE Don't do this for binned distributions - deal with this using numeric integration with transformed bin boundaries
if (!exclLVServers.empty() && !function.isBinnedDistribution(exclLVBranches)) {
intDepList.remove(exclLVServers) ;
intDepList.add(exclLVBranches) ;
Expand Down
3 changes: 1 addition & 2 deletions tutorials/hsimple.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
## \macro_image
## \macro_code
##
## \author Wim Lavrijsen, Enric Tejedor
## \author Vincenzo Eduardo Padulano (CERN), 09.2025
## \authors Wim Lavrijsen, Enric Tejedor, Vincenzo Eduardo Padulano (CERN), 09.2025

import numpy
from ROOT import TH1F, TH2F, TCanvas, TFile, TNtuple, TProfile, gBenchmark, gSystem
Expand Down
10 changes: 5 additions & 5 deletions tutorials/machine_learning/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


## Table of contents
- [Basic TMVA tutorials](\ref basic)
- [Basic TMVA tutorials](\ref ml_basic)
- [Training](\ref training)
- [Applications](\ref application)
- [Others](\ref other)
Expand All @@ -12,11 +12,11 @@
- [Deep learning in TMVA](\ref deep_learing)
- [TMVA Keras tutorials](\ref keras)
- [TMVA PyTorch tutorials](\ref pytorch)
- [Inference with SOFIE](\ref inference)
- [Inference with SOFIE](\ref inference)
- [Data loading for training](\ref data_loading)


\anchor basic
\anchor ml_basic
## Basic TMVA tutorials


Expand Down Expand Up @@ -96,9 +96,9 @@
| **Tutorial** | **Description** |
|--------------|-----------------|
| ApplicationClassificationKeras.py | Apply a trained model to new data. |
| ApplicationRegressionKeras.py | Apply a trained model to new data (regression). |
| ApplicationRegressionKeras.py | Apply a trained model to new data (regression). |
| ClassificationKeras.py | Classification in TMVA with neural networks trained with keras. |
| GenerateModel.py | Define and generate a keras model for use with TMVA. |
| GenerateModel.py | Define and generate a keras model for use with TMVA. |
| MulticlassKeras.py | Multiclass classification in TMVA with neural networks trained with keras. |
| RegressionKeras.py | Regression in TMVA with neural networks trained with keras. |

Expand Down
2 changes: 1 addition & 1 deletion tutorials/math/pdf/pdf001_Normal.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## \file
## \ingroup tutorial_dist
## \ingroup tutorial_pdf
## \notebook
## Tutorial illustrating the new statistical distributions functions (pdf, cdf and quantile)
##
Expand All @@ -10,8 +10,8 @@
##
## \author Juan Fernando Jaramillo Botero

from ROOT import TF1, TCanvas, TSystem, TAxis, TLegend

Check failure on line 13 in tutorials/math/pdf/pdf001_Normal.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

tutorials/math/pdf/pdf001_Normal.py:13:41: F401 `ROOT.TAxis` imported but unused help: Remove unused import

Check failure on line 13 in tutorials/math/pdf/pdf001_Normal.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

tutorials/math/pdf/pdf001_Normal.py:13:32: F401 `ROOT.TSystem` imported but unused help: Remove unused import
from ROOT import kRed, kGreen, kBlue

Check failure on line 14 in tutorials/math/pdf/pdf001_Normal.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (I001)

tutorials/math/pdf/pdf001_Normal.py:13:1: I001 Import block is un-sorted or un-formatted help: Organize imports

# Create the one dimensional functions for normal distribution.
pdfunc = TF1("pdf","ROOT::Math::normal_pdf(x, [0],[1])", -5, 5)
Expand Down
2 changes: 1 addition & 1 deletion tutorials/visualisation/eve7/show_geo_extract.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// \file
/// \ingroup tutorial_eve7
/// \ingroup tutorial_eve_7
/// Helper script for showing of extracted / simplified geometries.
/// The test macro how to create the shapes is in file write_geo_extract.C
/// \macro_code
Expand Down
6 changes: 3 additions & 3 deletions tutorials/visualisation/eve7/write_geo_extract.C
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include <iostream>


// \file
/// \ingroup tutorial_eve7
/// \file
/// \ingroup tutorial_eve_7
/// Helper script to create REveGeoShapeExtract fro TGeo geometry
/// One can rely on GeoTable to access paths
/// \macro_code
Expand Down Expand Up @@ -118,4 +118,4 @@ void write_geo_extract()

eveMng->GetEventScene()->AddElement(tracker);
eveMng->Show();
}
}
Loading