Analysis Software
Documentation for sPHENIX simulation software
|
#include <OnlMon/blob/main/subsystems/hcal/HcalMonDraw.h>
Public Member Functions | |
HcalMonDraw (const std::string &name) | |
~HcalMonDraw () override | |
int | Init () override |
int | Draw (const std::string &what="ALL") override |
int | MakeHtml (const std::string &what="ALL") override |
int | SavePlot (const std::string &what="ALL", const std::string &type="png") override |
void | HandleEvent (int, int, int, TObject *) |
Public Member Functions inherited from OnlMonDraw | |
OnlMonDraw (const std::string &name="NONE") | |
virtual | ~OnlMonDraw () |
virtual int | MakePS (const std::string &what="ALL") |
const std::string | Name () const |
void | Verbosity (const int i) |
int | Verbosity () const |
Private Member Functions | |
int | MakeCanvas (const std::string &name) |
int | DrawFirst (const std::string &what="ALL") |
int | DrawSecond (const std::string &what="ALL") |
int | DrawThird (const std::string &what="ALL") |
int | DrawFourth (const std::string &what="ALL") |
int | DrawFifth (const std::string &what="ALL") |
int | FindHotTower (TPad *warn, TH2 *) |
void | DrawTowerAvg () |
void | DrawHitMap () |
time_t | getTime () |
Private Attributes | |
std::string | prefix = "HCALMON" |
TCanvas * | TC [9] = {nullptr} |
TPad * | transparent [9] = {nullptr} |
TPad * | Pad [19] = {nullptr} |
TPad * | warning [18] = {nullptr} |
TGraphErrors * | gr [2] = {nullptr} |
TStyle * | hcalStyle = nullptr |
Additional Inherited Members | |
Protected Member Functions inherited from OnlMonDraw | |
virtual int | DrawDeadServer (TPad *transparent) |
Protected Attributes inherited from OnlMonDraw | |
std::string | ThisName |
int | verbosity = 0 |
Definition at line 15 of file HcalMonDraw.h.
View newest version in sPHENIX GitHub at line 15 of file HcalMonDraw.h
|
explicit |
Definition at line 29 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 29 of file HcalMonDraw.cc
References prefix, and OnlMonDraw::ThisName.
|
inlineoverride |
Definition at line 20 of file HcalMonDraw.h.
View newest version in sPHENIX GitHub at line 20 of file HcalMonDraw.h
|
overridevirtual |
Reimplemented from OnlMonDraw.
Definition at line 190 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 190 of file HcalMonDraw.cc
References DrawFifth(), DrawFirst(), DrawFourth(), DrawSecond(), and DrawThird().
Referenced by MakeHtml(), and SavePlot().
|
private |
Definition at line 1488 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 1488 of file HcalMonDraw.cc
References OnlMonDraw::DrawDeadServer(), OnlMonClient::getHisto(), getTime(), OnlMonClient::instance(), MakeCanvas(), Pad, prefix, OnlMonClient::RunNumber(), TC, OnlMonDraw::ThisName, and transparent.
Referenced by Draw().
|
private |
Definition at line 227 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 227 of file HcalMonDraw.cc
References OnlMonDraw::DrawDeadServer(), FindHotTower(), OnlMonClient::getHisto(), getTime(), hcalStyle, OnlMonClient::instance(), levels, MakeCanvas(), Pad, prefix, OnlMonClient::RunNumber(), TC, OnlMonDraw::ThisName, transparent, and warning.
Referenced by Draw().
|
private |
Definition at line 631 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 631 of file HcalMonDraw.cc
References OnlMonDraw::DrawDeadServer(), OnlMonClient::getHisto(), getTime(), i, OnlMonClient::instance(), leg, line, MakeCanvas(), Pad, prefix, OnlMonClient::RunNumber(), TC, transparent, warning, xmax, xmin, ymax, and ymin.
Referenced by Draw().
|
private |
Definition at line 1363 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 1363 of file HcalMonDraw.cc
References OnlMonDraw::DrawDeadServer(), OnlMonClient::getHisto(), OnlMonClient::instance(), MakeCanvas(), Pad, prefix, TC, and transparent.
Referenced by HandleEvent().
|
private |
Definition at line 399 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 399 of file HcalMonDraw.cc
References OnlMonDraw::DrawDeadServer(), OnlMonClient::getHisto(), getTime(), add_histos_bX::ib, OnlMonClient::instance(), MakeCanvas(), Pad, prefix, OnlMonClient::RunNumber(), TC, OnlMonDraw::ThisName, and transparent.
Referenced by Draw().
|
private |
Definition at line 500 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 500 of file HcalMonDraw.cc
References OnlMonDraw::DrawDeadServer(), OnlMonClient::getHisto(), getTime(), OnlMonClient::instance(), MakeCanvas(), Pad, prefix, OnlMonClient::RunNumber(), TC, OnlMonDraw::ThisName, and transparent.
Referenced by Draw().
|
private |
Definition at line 1293 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 1293 of file HcalMonDraw.cc
References OnlMonDraw::DrawDeadServer(), OnlMonClient::getHisto(), OnlMonClient::instance(), MakeCanvas(), Pad, prefix, TC, and transparent.
Referenced by HandleEvent().
|
private |
Definition at line 1053 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 1053 of file HcalMonDraw.cc
Referenced by DrawFirst().
|
private |
Definition at line 1612 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 1612 of file HcalMonDraw.cc
References OnlMonClient::EventTime(), and OnlMonClient::instance().
Referenced by DrawFifth(), DrawFirst(), DrawFourth(), DrawSecond(), and DrawThird().
void HcalMonDraw::HandleEvent | ( | int | event, |
int | x, | ||
int | y, | ||
TObject * | selected | ||
) |
Definition at line 1424 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 1424 of file HcalMonDraw.cc
References OnlMonDraw::DrawDeadServer(), DrawHitMap(), DrawTowerAvg(), OnlMonClient::getHisto(), OnlMonClient::instance(), MakeCanvas(), Pad, prefix, TC, and transparent.
|
overridevirtual |
Reimplemented from OnlMonDraw.
Definition at line 50 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 50 of file HcalMonDraw.cc
References hcalStyle.
|
private |
Definition at line 70 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 70 of file HcalMonDraw.cc
References OnlMonClient::GetDisplaySizeX(), OnlMonClient::GetDisplaySizeY(), OnlMonClient::instance(), Pad, TC, transparent, and warning.
Referenced by DrawFifth(), DrawFirst(), DrawFourth(), DrawHitMap(), DrawSecond(), DrawThird(), DrawTowerAvg(), and HandleEvent().
|
overridevirtual |
Reimplemented from OnlMonDraw.
Definition at line 1251 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 1251 of file HcalMonDraw.cc
References OnlMonClient::CanvasToPng(), Draw(), OnlMonClient::htmlRegisterPage(), OnlMonClient::instance(), TC, and to_string().
|
overridevirtual |
Reimplemented from OnlMonDraw.
Definition at line 1227 of file HcalMonDraw.cc.
View newest version in sPHENIX GitHub at line 1227 of file HcalMonDraw.cc
References OnlMonClient::CanvasToPng(), Draw(), filename, OnlMonClient::instance(), OnlMonClient::RunNumber(), TC, OnlMonDraw::ThisName, and to_string().
|
private |
Definition at line 47 of file HcalMonDraw.h.
View newest version in sPHENIX GitHub at line 47 of file HcalMonDraw.h
|
private |
Definition at line 48 of file HcalMonDraw.h.
View newest version in sPHENIX GitHub at line 48 of file HcalMonDraw.h
Referenced by DrawFirst(), and Init().
|
private |
Definition at line 45 of file HcalMonDraw.h.
View newest version in sPHENIX GitHub at line 45 of file HcalMonDraw.h
Referenced by DrawFifth(), DrawFirst(), DrawFourth(), DrawHitMap(), DrawSecond(), DrawThird(), DrawTowerAvg(), HandleEvent(), and MakeCanvas().
|
private |
Definition at line 42 of file HcalMonDraw.h.
View newest version in sPHENIX GitHub at line 42 of file HcalMonDraw.h
Referenced by DrawFifth(), DrawFirst(), DrawFourth(), DrawHitMap(), DrawSecond(), DrawThird(), DrawTowerAvg(), HandleEvent(), and HcalMonDraw().
|
private |
Definition at line 43 of file HcalMonDraw.h.
View newest version in sPHENIX GitHub at line 43 of file HcalMonDraw.h
Referenced by DrawFifth(), DrawFirst(), DrawFourth(), DrawHitMap(), DrawSecond(), DrawThird(), DrawTowerAvg(), HandleEvent(), MakeCanvas(), MakeHtml(), and SavePlot().
|
private |
Definition at line 44 of file HcalMonDraw.h.
View newest version in sPHENIX GitHub at line 44 of file HcalMonDraw.h
Referenced by DrawFifth(), DrawFirst(), DrawFourth(), DrawHitMap(), DrawSecond(), DrawThird(), DrawTowerAvg(), HandleEvent(), and MakeCanvas().
|
private |
Definition at line 46 of file HcalMonDraw.h.
View newest version in sPHENIX GitHub at line 46 of file HcalMonDraw.h
Referenced by DrawFirst(), DrawFourth(), and MakeCanvas().