diff --git a/Validation/RecoParticleFlow/interface/NicePlot.h b/Validation/RecoParticleFlow/interface/NicePlot.h index 93255eb164977..6de1c6e53a186 100644 --- a/Validation/RecoParticleFlow/interface/NicePlot.h +++ b/Validation/RecoParticleFlow/interface/NicePlot.h @@ -4,7 +4,13 @@ #include #include -class Style : public TH1 {}; +class Style : public TH1 { +private: + void AddBinContent(Int_t) override {} + void AddBinContent(Int_t, Double_t) override {} + Double_t RetrieveBinContent(Int_t) const override { return 0.; } + void UpdateBinContent(Int_t, Double_t) override {} +}; class Styles { public: