diff --git a/core/base/src/TObject.cxx b/core/base/src/TObject.cxx index 198c82812345d..9bc0a588d3807 100644 --- a/core/base/src/TObject.cxx +++ b/core/base/src/TObject.cxx @@ -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 @@ -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); diff --git a/graf2d/gpad/src/TCanvas.cxx b/graf2d/gpad/src/TCanvas.cxx index be3908b3b363e..546e246bba67b 100644 --- a/graf2d/gpad/src/TCanvas.cxx +++ b/graf2d/gpad/src/TCanvas.cxx @@ -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) { diff --git a/graf2d/gpad/src/TPad.cxx b/graf2d/gpad/src/TPad.cxx index f9494d14ad7b3..d0261c567ec1e 100644 --- a/graf2d/gpad/src/TPad.cxx +++ b/graf2d/gpad/src/TPad.cxx @@ -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) { @@ -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 @@ -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 @@ -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); @@ -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; diff --git a/graf2d/gpad/src/TPadPainter.cxx b/graf2d/gpad/src/TPadPainter.cxx index 3aabf80cc263c..b6813c125e269 100644 --- a/graf2d/gpad/src/TPadPainter.cxx +++ b/graf2d/gpad/src/TPadPainter.cxx @@ -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 { diff --git a/gui/ged/src/TGedFrame.cxx b/gui/ged/src/TGedFrame.cxx index 154b2a01de640..993f8ec183c92 100644 --- a/gui/ged/src/TGedFrame.cxx +++ b/gui/ged/src/TGedFrame.cxx @@ -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()) { diff --git a/gui/treemap/inc/ROOT/RTreeMapBase.hxx b/gui/treemap/inc/ROOT/RTreeMapBase.hxx index a91ab8cdbb63a..c3a064c4c201f 100644 --- a/gui/treemap/inc/ROOT/RTreeMapBase.hxx +++ b/gui/treemap/inc/ROOT/RTreeMapBase.hxx @@ -1,5 +1,5 @@ /// \file ROOT/RTreeMapBase.hxx -/// \ingroup TreeMap ROOT7 +/// \defgroup TreeMap ROOT7 /// \author Patryk Tymoteusz Pilichowski /// \date 2025-08-21 /// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback diff --git a/gui/treemap/inc/ROOT/RTreeMapPainter.hxx b/gui/treemap/inc/ROOT/RTreeMapPainter.hxx index 9558a7427a926..2ff2041204451 100644 --- a/gui/treemap/inc/ROOT/RTreeMapPainter.hxx +++ b/gui/treemap/inc/ROOT/RTreeMapPainter.hxx @@ -1,5 +1,4 @@ /// \file ROOT/RTreeMapPainter.hxx -/// \ingroup TreeMap ROOT7 /// \author Patryk Tymoteusz Pilichowski /// \date 2025-08-21 /// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback diff --git a/gui/treemap/src/RTreeMapBase.cxx b/gui/treemap/src/RTreeMapBase.cxx index f92ba900ef068..6add9cccb0bc9 100644 --- a/gui/treemap/src/RTreeMapBase.cxx +++ b/gui/treemap/src/RTreeMapBase.cxx @@ -1,5 +1,5 @@ /// \file RTreeMapBase.cxx -/// \ingroup TreeMap ROOT7 +/// \ingroup TreeMap /// \author Patryk Tymoteusz Pilichowski /// \date 2025-08-21 /// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback diff --git a/gui/treemap/src/RTreeMapPainter.cxx b/gui/treemap/src/RTreeMapPainter.cxx index 10092a3d5d170..9dc82aed5e82b 100644 --- a/gui/treemap/src/RTreeMapPainter.cxx +++ b/gui/treemap/src/RTreeMapPainter.cxx @@ -1,5 +1,5 @@ /// \file RTreeMapPainter.cxx -/// \ingroup TreeMap ROOT7 +/// \ingroup TreeMap /// \author Patryk Tymoteusz Pilichowski /// \date 2025-08-21 /// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback diff --git a/roofit/roofitcore/src/RooRealIntegral.cxx b/roofit/roofitcore/src/RooRealIntegral.cxx index a1aa4bc459e54..ea9827d0346cc 100644 --- a/roofit/roofitcore/src/RooRealIntegral.cxx +++ b/roofit/roofitcore/src/RooRealIntegral.cxx @@ -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 @@ -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) ; diff --git a/tutorials/hsimple.py b/tutorials/hsimple.py index f37fb858404fe..b110e1f664af4 100644 --- a/tutorials/hsimple.py +++ b/tutorials/hsimple.py @@ -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 diff --git a/tutorials/machine_learning/index.md b/tutorials/machine_learning/index.md index 0a39cc3346db2..2a36dd6d77528 100644 --- a/tutorials/machine_learning/index.md +++ b/tutorials/machine_learning/index.md @@ -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) @@ -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 @@ -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. | diff --git a/tutorials/math/pdf/pdf001_Normal.py b/tutorials/math/pdf/pdf001_Normal.py index 1f04d46bceef2..e7c7c7e37b59d 100644 --- a/tutorials/math/pdf/pdf001_Normal.py +++ b/tutorials/math/pdf/pdf001_Normal.py @@ -1,5 +1,5 @@ ## \file -## \ingroup tutorial_dist +## \ingroup tutorial_pdf ## \notebook ## Tutorial illustrating the new statistical distributions functions (pdf, cdf and quantile) ## diff --git a/tutorials/visualisation/eve7/show_geo_extract.C b/tutorials/visualisation/eve7/show_geo_extract.C index 29f2a804790a6..ad4a532fb8005 100644 --- a/tutorials/visualisation/eve7/show_geo_extract.C +++ b/tutorials/visualisation/eve7/show_geo_extract.C @@ -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 diff --git a/tutorials/visualisation/eve7/write_geo_extract.C b/tutorials/visualisation/eve7/write_geo_extract.C index 437e576498f43..f42613a00e268 100644 --- a/tutorials/visualisation/eve7/write_geo_extract.C +++ b/tutorials/visualisation/eve7/write_geo_extract.C @@ -9,8 +9,8 @@ #include -// \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 @@ -118,4 +118,4 @@ void write_geo_extract() eveMng->GetEventScene()->AddElement(tracker); eveMng->Show(); -} \ No newline at end of file +}