Skip to content

Commit b934b01

Browse files
ferdymercuryguitargeek
authored andcommitted
[math] allow setting TStatistic name
Closes #19942
1 parent 8429baa commit b934b01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

math/mathcore/inc/TStatistic.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ class TStatistic : public TObject {
7373
// Print
7474
void Print(Option_t * = "") const override;
7575
void ls(Option_t *opt = "") const override { Print(opt); }
76+
// Setters
77+
void SetName(const char *name) { fName = name; }
7678

7779
ClassDefOverride(TStatistic,3) // Named statistical variable
7880
};

0 commit comments

Comments
 (0)