switched PRunBase where possible to smart pointers.
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#define _PRUNBASE_H_
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#include <TString.h>
|
||||
|
||||
@@ -83,7 +84,7 @@ class PRunBase
|
||||
Double_t fFitEndTime; ///< fit end time
|
||||
|
||||
PDoubleVector fFuncValues; ///< is keeping the values of the functions from the FUNCTIONS block
|
||||
PTheory *fTheory; ///< theory needed to calculate chi-square
|
||||
std::unique_ptr<PTheory> fTheory; ///< theory needed to calculate chi-square
|
||||
|
||||
PDoubleVector fKaiserFilter; ///< stores the Kaiser filter vector (needed for the RRF).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user