Local build fails
When trying to build locally there was an error
<...> /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/Root/TSStatisticsCalculator.cxx:42:2: warning: #warning "using standard RooMinimizer" [-Wcpp] 42 | #warning "using standard RooMinimizer" | ^~~~~~~ /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/Root/TSHistogramExporter.cxx: In member function 'virtual TObject* RooPdfEvaluator::clone(const char*) const': /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/Root/TSHistogramExporter.cxx:419:35: error: invalid new-expression of abstract class type 'RooPdfEvaluator' 419 | return new RooPdfEvaluator(this); | ^ In file included from /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/Root/TSHistogramExporter.cxx:1: /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/SFramework/TSHistogramExporter.h:44:7: note: because the following virtual functions are pure within 'RooPdfEvaluator': 44 | class RooPdfEvaluator : public RooAbsOptTestStatistic { //nested | ^~~~~~~~~~~~~~~ In file included from /usr/include/RooAbsOptTestStatistic.h:19, from /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/SFramework/TSHistogramExporter.h:20, from /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/Root/TSHistogramExporter.cxx:1: /usr/include/RooAbsTestStatistic.h:73:20: note: 'virtual Double_t RooAbsTestStatistic::evaluatePartition(Int_t, Int_t, Int_t) const' 73 | virtual Double_t evaluatePartition(Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const = 0 ; | ^~~~~~~~~~~~~~~~~ /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/Root/TSHistogramExporter.cxx: In member function 'bool TSHistogramExporter::getMC(TDirectory, TSHistogramExporter::Region*, std::map<const TString, std::vector >, int, double)': /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/Root/TSHistogramExporter.cxx:914:19: error: cannot declare variable 'intReader' to be of abstract type 'RooPdfEvaluator' 914 | RooPdfEvaluator intReader (integral, fitResult,epsilon,checkThreshold); | ^~~~~~~~~ /home/alex/HWWAnalysis/HWWAnalysisCode/CAFCore/SFramework/Root/TSHistogramExporter.cxx:915:19: error: cannot declare variable 'histReader' to be of abstract type 'RooPdfEvaluator' 915 | RooPdfEvaluator histReader(projected,fitResult,epsilon,checkThreshold); | ^~~~~~~~~~ [ 63%] Building CXX object CAFCore/SFramework/CMakeFiles/SFramework.dir/Root/TSStatisticsPlotter.cxx.o [ 63%] Building CXX object CAFCore/SFramework/CMakeFiles/SFramework.dir/Root/TSSystematicsManager.cxx.o make[2]: *** [CAFCore/SFramework/CMakeFiles/SFramework.dir/build.make:937: CAFCore/SFramework/CMakeFiles/SFramework.dir/Root/TSHistogramExporter.cxx.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:1347: CAFCore/SFramework/CMakeFiles/SFramework.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
This happened with root 6.18/04