Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LL1MonDraw Class Reference

#include <OnlMon/blob/main/subsystems/ll1/LL1MonDraw.h>

+ Inheritance diagram for LL1MonDraw:
+ Collaboration diagram for LL1MonDraw:

Public Member Functions

 LL1MonDraw (const std::string &name)
 
 ~LL1MonDraw () 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
 
- 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
 

Protected 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 DrawHistory (const std::string &what="ALL")
 
- Protected Member Functions inherited from OnlMonDraw
virtual int DrawDeadServer (TPad *transparent)
 

Protected Attributes

TCanvas * TC [3] = {nullptr}
 
TPad * transparent [3] = {nullptr}
 
TPad * Pad [6] = {nullptr}
 
const int nPad1 = 4
 
double edgediff = 0.03
 
double padx1 [4] = {edgediff, 0.5+edgediff, edgediff, 0.5 +edgediff}
 
double pady1 [4] = {0.5+edgediff, 0.5+edgediff, edgediff, edgediff}
 
double padx2 [4] = {0.5-edgediff, 1-edgediff, 0.5-edgediff, 1-edgediff}
 
double pady2 [4] = {1-edgediff,1-edgediff,0.5-edgediff,0.5-edgediff}
 
- Protected Attributes inherited from OnlMonDraw
std::string ThisName
 
int verbosity = 0
 

Detailed Description

Definition at line 12 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 12 of file LL1MonDraw.h

Constructor & Destructor Documentation

LL1MonDraw::LL1MonDraw ( const std::string &  name)

Definition at line 23 of file LL1MonDraw.cc.

View newest version in sPHENIX GitHub at line 23 of file LL1MonDraw.cc

LL1MonDraw::~LL1MonDraw ( )
inlineoverride

Definition at line 17 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 17 of file LL1MonDraw.h

Member Function Documentation

int LL1MonDraw::Draw ( const std::string &  what = "ALL")
overridevirtual

Reimplemented from OnlMonDraw.

Definition at line 87 of file LL1MonDraw.cc.

View newest version in sPHENIX GitHub at line 87 of file LL1MonDraw.cc

References DrawFirst(), DrawSecond(), and DrawThird().

Referenced by MakeHtml(), and SavePlot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int LL1MonDraw::DrawFirst ( const std::string &  what = "ALL")
protected

Definition at line 114 of file LL1MonDraw.cc.

View newest version in sPHENIX GitHub at line 114 of file LL1MonDraw.cc

References OnlMonDraw::DrawDeadServer(), OnlMonClient::EventTime(), OnlMonClient::getHisto(), OnlMonClient::instance(), MakeCanvas(), Pad, OnlMonClient::RunNumber(), TC, OnlMonDraw::ThisName, and transparent.

Referenced by Draw().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int LL1MonDraw::DrawHistory ( const std::string &  what = "ALL")
protected
int LL1MonDraw::DrawSecond ( const std::string &  what = "ALL")
protected

Definition at line 167 of file LL1MonDraw.cc.

View newest version in sPHENIX GitHub at line 167 of file LL1MonDraw.cc

References OnlMonDraw::DrawDeadServer(), OnlMonClient::EventTime(), OnlMonClient::getHisto(), OnlMonClient::instance(), MakeCanvas(), OnlMonClient::RunNumber(), TC, OnlMonDraw::ThisName, and transparent.

Referenced by Draw().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int LL1MonDraw::DrawThird ( const std::string &  what = "ALL")
protected

Definition at line 208 of file LL1MonDraw.cc.

View newest version in sPHENIX GitHub at line 208 of file LL1MonDraw.cc

References OnlMonDraw::DrawDeadServer(), OnlMonClient::EventTime(), OnlMonClient::getHisto(), OnlMonClient::instance(), MakeCanvas(), OnlMonClient::RunNumber(), TC, OnlMonDraw::ThisName, and transparent.

Referenced by Draw().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int LL1MonDraw::Init ( )
overridevirtual

Reimplemented from OnlMonDraw.

Definition at line 29 of file LL1MonDraw.cc.

View newest version in sPHENIX GitHub at line 29 of file LL1MonDraw.cc

int LL1MonDraw::MakeCanvas ( const std::string &  name)
protected

Definition at line 34 of file LL1MonDraw.cc.

View newest version in sPHENIX GitHub at line 34 of file LL1MonDraw.cc

References OnlMonClient::GetDisplaySizeX(), OnlMonClient::GetDisplaySizeY(), OnlMonClient::instance(), nPad1, Pad, padx1, padx2, pady1, pady2, TC, and transparent.

Referenced by DrawFirst(), DrawSecond(), and DrawThird().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int LL1MonDraw::MakeHtml ( const std::string &  what = "ALL")
overridevirtual

Reimplemented from OnlMonDraw.

Definition at line 274 of file LL1MonDraw.cc.

View newest version in sPHENIX GitHub at line 274 of file LL1MonDraw.cc

References OnlMonClient::CanvasToPng(), Draw(), OnlMonClient::htmlRegisterPage(), OnlMonClient::instance(), TC, and to_string().

+ Here is the call graph for this function:

int LL1MonDraw::SavePlot ( const std::string &  what = "ALL",
const std::string &  type = "png" 
)
overridevirtual

Reimplemented from OnlMonDraw.

Definition at line 250 of file LL1MonDraw.cc.

View newest version in sPHENIX GitHub at line 250 of file LL1MonDraw.cc

References OnlMonClient::CanvasToPng(), Draw(), filename, OnlMonClient::instance(), OnlMonClient::RunNumber(), TC, OnlMonDraw::ThisName, and to_string().

+ Here is the call graph for this function:

Member Data Documentation

double LL1MonDraw::edgediff = 0.03
protected

Definition at line 35 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 35 of file LL1MonDraw.h

const int LL1MonDraw::nPad1 = 4
protected

Definition at line 34 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 34 of file LL1MonDraw.h

Referenced by MakeCanvas().

TPad* LL1MonDraw::Pad[6] = {nullptr}
protected

Definition at line 32 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 32 of file LL1MonDraw.h

Referenced by DrawFirst(), and MakeCanvas().

double LL1MonDraw::padx1[4] = {edgediff, 0.5+edgediff, edgediff, 0.5 +edgediff}
protected

Definition at line 36 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 36 of file LL1MonDraw.h

Referenced by MakeCanvas().

double LL1MonDraw::padx2[4] = {0.5-edgediff, 1-edgediff, 0.5-edgediff, 1-edgediff}
protected

Definition at line 38 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 38 of file LL1MonDraw.h

Referenced by MakeCanvas().

double LL1MonDraw::pady1[4] = {0.5+edgediff, 0.5+edgediff, edgediff, edgediff}
protected

Definition at line 37 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 37 of file LL1MonDraw.h

Referenced by MakeCanvas().

double LL1MonDraw::pady2[4] = {1-edgediff,1-edgediff,0.5-edgediff,0.5-edgediff}
protected

Definition at line 39 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 39 of file LL1MonDraw.h

Referenced by MakeCanvas().

TCanvas* LL1MonDraw::TC[3] = {nullptr}
protected

Definition at line 30 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 30 of file LL1MonDraw.h

Referenced by DrawFirst(), DrawSecond(), DrawThird(), MakeCanvas(), MakeHtml(), and SavePlot().

TPad* LL1MonDraw::transparent[3] = {nullptr}
protected

Definition at line 31 of file LL1MonDraw.h.

View newest version in sPHENIX GitHub at line 31 of file LL1MonDraw.h

Referenced by DrawFirst(), DrawSecond(), DrawThird(), and MakeCanvas().


The documentation for this class was generated from the following files: