by changing the behaviour of the global parts of the class PUserFcnBase from pure virtual default NeedGlobalPart=false, the code can be simplified in many places.
This commit is contained in:
12
src/external/libZFRelaxation/ZFRelaxation.h
vendored
12
src/external/libZFRelaxation/ZFRelaxation.h
vendored
@ -50,10 +50,6 @@ public:
|
||||
ZFMagGss(){} ///< default constructor
|
||||
~ZFMagGss(){} ///< default destructor
|
||||
|
||||
Bool_t NeedGlobalPart() const { return false; }
|
||||
void SetGlobalPart(std::vector<void *> &globalPart, UInt_t idx) { }
|
||||
Bool_t GlobalPartIsValid() const { return true; }
|
||||
|
||||
double operator()(double, const std::vector<double>&) const;
|
||||
|
||||
ClassDef(ZFMagGss,1)
|
||||
@ -75,10 +71,6 @@ public:
|
||||
ZFMagExp(){} ///< default constructor
|
||||
~ZFMagExp(){} ///< default destructor
|
||||
|
||||
Bool_t NeedGlobalPart() const { return false; }
|
||||
void SetGlobalPart(std::vector<void *> &globalPart, UInt_t idx) { }
|
||||
Bool_t GlobalPartIsValid() const { return true; }
|
||||
|
||||
double operator()(double, const std::vector<double>&) const;
|
||||
|
||||
ClassDef(ZFMagExp,1)
|
||||
@ -99,10 +91,6 @@ public:
|
||||
UniaxialStatGssKT();
|
||||
virtual ~UniaxialStatGssKT();
|
||||
|
||||
virtual Bool_t NeedGlobalPart() const { return false; }
|
||||
virtual void SetGlobalPart(std::vector<void *> &globalPart, UInt_t idx) { }
|
||||
virtual Bool_t GlobalPartIsValid() const { return true; }
|
||||
|
||||
double operator()(double, const std::vector<double>&) const;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user