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:
2021-02-26 15:17:41 +01:00
parent d8e4a33ceb
commit 02926a6cc5
15 changed files with 7 additions and 296 deletions

View File

@ -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: