Skip to content

Commit

Permalink
[skip-ci] fix more typos and undefined params
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdymercury authored and dpiparo committed May 16, 2024
1 parent 542e6cb commit 036bce7
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion roofit/histfactory/src/PiecewiseInterpolation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ PiecewiseInterpolation::PiecewiseInterpolation() : _normIntMgr(this)
/// \param lowSet Set of down variations.
/// \param highSet Set of up variations.
/// \param paramSet Parameters that control the interpolation.
/// \param takeOwnership If true, the PiecewiseInterpolation object will take ownership of the arguments in the low, high and parameter sets.
PiecewiseInterpolation::PiecewiseInterpolation(const char *name, const char *title, const RooAbsReal &nominal,
const RooArgList &lowSet, const RooArgList &highSet,
const RooArgList &paramSet)
Expand Down
2 changes: 1 addition & 1 deletion roofit/roofitcore/src/ConstraintHelpers.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ getGlobalObservables(RooAbsPdf const &pdf, RooArgSet const *globalObservables, c
/// `globalObservables` or `globalObservablesTag` parameters, the
/// values of all global observables that are not stored in the
/// dataset are taken from the model.
/// \param[in] removeConstraintsPdf If true, the constraints that are extracted
/// \param[in] removeConstraintsFromPdf If true, the constraints that are extracted
/// from the PDF are removed from the original PDF.
std::unique_ptr<RooAbsReal> createConstraintTerm(std::string const &name, RooAbsPdf const &pdf, RooAbsData const &data,
RooArgSet const *constrainedParameters,
Expand Down
2 changes: 0 additions & 2 deletions roofit/roofitcore/src/RooAbsData.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2533,8 +2533,6 @@ double RooAbsData::sumEntriesW2() const {
/// Write information to retrieve data columns into `evalData.spans`.
/// All spans belonging to variables of this dataset are overwritten. Spans to other
/// variables remain intact.
/// \param[out] evalData Store references to all data batches in this struct's `spans`.
/// The key to retrieve an item is the pointer of the variable that owns the data.
/// \param begin Index of first event that ends up in the batch.
/// \param len Number of events in each batch.
RooAbsData::RealSpans RooAbsData::getBatches(std::size_t begin, std::size_t len) const {
Expand Down
2 changes: 1 addition & 1 deletion roofit/roofitcore/src/RooAbsPdf.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ void RooAbsPdf::getLogProbabilities(std::span<const double> pdfValues, double *
/// it is extendable by overloading `canBeExtended()`, and must
/// implement the `expectedEvents()` function.
///
/// \param[in] observed The number of observed events.
/// \param[in] sumEntries The number of observed events.
/// \param[in] nset The normalization set when asking the pdf for the expected
/// number of events.
/// \param[in] observedSumW2 The number of observed events when weighting with
Expand Down
1 change: 0 additions & 1 deletion roofit/roofitcore/src/RooAddPdf.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ void RooAddPdf::fixCoefRange(const char* rangeName)
/// Retrieve cache element for the computation of the PDF normalisation.
/// \param[in] nset Current normalisation set (integration over these variables yields 1).
/// \param[in] iset Integration set. Variables to be integrated over (if integrations are performed).
/// \param[in] rangeName Reference range for the integrals.
///
/// If a cache element does not exist, create and fill it on the fly. The cache also contains
/// - Supplemental normalization terms (in case not all added p.d.f.s have the same observables)
Expand Down
2 changes: 0 additions & 2 deletions roofit/roofitcore/src/RooAddition.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ ClassImp(RooAddition);
/// \param[in] name Name of the PDF
/// \param[in] title Title
/// \param[in] sumSet The value of the function will be the sum of the values in this set
/// \param[in] takeOwnership If true, the RooAddition object will take ownership of the arguments in `sumSet`

RooAddition::RooAddition(const char *name, const char *title, const RooArgList &sumSet)
: RooAbsReal(name, title), _set("!set", "set of components", this), _cacheMgr(this, 10)
Expand All @@ -75,7 +74,6 @@ RooAddition::RooAddition(const char *name, const char *title, const RooArgList &
/// \param[in] title Title
/// \param[in] sumSet1 Left-hand element of the pair-wise products
/// \param[in] sumSet2 Right-hand element of the pair-wise products
/// \param[in] takeOwnership If true, the RooAddition object will take ownership of the arguments in the `sumSets`
///
RooAddition::RooAddition(const char *name, const char *title, const RooArgList &sumSet1, const RooArgList &sumSet2)
: RooAbsReal(name, title), _set("!set", "set of components", this), _cacheMgr(this, 10)
Expand Down
2 changes: 1 addition & 1 deletion tutorials/graphs/graphreverse.C
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/// \ingroup tutorial_graphs
/// \notebook
/// This example test all the various case of reverse graphs
/// combined with logarithmic scale..
/// combined with logarithmic scale.
///
/// \macro_image
/// \macro_code
Expand Down

0 comments on commit 036bce7

Please sign in to comment.