15 StyleSentry(): fOldStyle(gStyle)
17 if(gStyle) gStyle =
new TStyle(*gStyle);
18 else gStyle =
new TStyle();
21 ~StyleSentry() { gStyle = fOldStyle; }
34 fHist.SetStats(
false);
35 fHist.SetMaximum(4096);
50 TwoAxisView(name, title,
"channel",
"module", zTitle, pad)
56 fHist.Fill(channel, module, weight);
68 gStyle->SetOptStat(0);
69 fHist.UseCurrentStyle();
TwoAxisView(const std::string &name="CRTEvd", const std::string &title="CRT Event Display", const std::string &zTitle="Hits")
virtual void doFill(const size_t module, const size_t channel, const double weight) override
virtual void doReset(const char *option) override
virtual void doSetValue(const size_t module, const size_t channel, const double value) override
static constexpr size_t ChannelsPerModule
static constexpr size_t NModules
virtual void doDraw(const char *option) override