/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Validation/RecoParticleFlow/interface/NicePlot.h
35 строк
756 B
Ivan Razumov
Add missing methods to Style class
30 янв 2025, 13:41
30 янв 2025, 13:41
0732ed7
Код
Авторство
О чём код?
#ifndef __Validation_RecoParticleFlow_NicePlot__ #define __Validation_RecoParticleFlow_NicePlot__ #include <TH1.h> #include <TPad.h> 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: Style *s1; Style *s2; Style *sg1; Style *sback; Style *spred; Style *spblue; Style *sgr1; Style *sgr2; Styles(); static void FormatHisto(TH1 *h, const Style *s); static void FormatPad(TPad *pad, bool grid = true, bool logx = false, bool logy = false); static void SavePlot(const char *name, const char *dir); }; #endif