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

@@ -43,11 +43,6 @@ class PSkewedLorentzian : public PUserFcnBase
virtual Bool_t IsValid() { return fValid; }
// global user-function-access functions, here without any functionality
virtual Bool_t NeedGlobalPart() const { return false; }
void SetGlobalPart(std::vector<void*> &globalPart, UInt_t idx) { }
Bool_t GlobalPartIsValid() const { return true; }
// function operator
Double_t operator()(Double_t, const std::vector<Double_t>&) const;