Skip to content

Commit cde114e

Browse files
committed
Revert "Removing TRestAnalysisPlot from dictionary"
This reverts commit ed155a1.
1 parent 9314644 commit cde114e

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

cmake/MacroRootDict.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ MACRO(COMPILEDIR libname)
289289
#### We will remove those classes that do not inherit from TObject from dictionary generation
290290
set(NOTDICT "FALSE")
291291
#### Probably all those classes should be on the same directory (framework/tools)
292-
set( nodicts "TRestReflector;TRestSystemOfUnits;TRestStringHelper;TRestPhysics;TRestDataBase;TRestTools;TRestThread;TRestAnalysisPlot" )
292+
set( nodicts "TRestReflector;TRestSystemOfUnits;TRestStringHelper;TRestPhysics;TRestDataBase;TRestTools;TRestThread" )
293293
foreach (nodict ${nodicts})
294294
if ("${nodict}" STREQUAL "${class}")
295295
set(NOTDICT "TRUE")

source/framework/core/inc/TRestAnalysisPlot.h

+2
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,7 @@ class TRestAnalysisPlot : public TRestMetadata {
193193
TRestAnalysisPlot(const char* configFilename, const char* name = "");
194194
// Destructor
195195
virtual ~TRestAnalysisPlot();
196+
197+
ClassDefOverride(TRestAnalysisPlot, 4);
196198
};
197199
#endif

source/framework/core/src/TRestAnalysisPlot.cxx

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
using namespace std;
2424

25+
ClassImp(TRestAnalysisPlot);
26+
2527
TRestAnalysisPlot::TRestAnalysisPlot() { Initialize(); }
2628

2729
TRestAnalysisPlot::TRestAnalysisPlot(const char* configFilename, const char* name)

0 commit comments

Comments
 (0)