NAGASH 0.9.8
Next Generation Analysis System
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
NAGASH::NGFigure Class Reference

Next Generation Figure Package, now replaced by NAGASH::FigureTool. More...

#include <NAGASH/NGFigure.h>

Inheritance diagram for NAGASH::NGFigure:
NAGASH::Tool

Public Member Functions

 NGFigure (std::shared_ptr< MSGTool > msg, const char *FigureName, const char *TitleX, const char *TitleY)
 Constructor.
 
 ~NGFigure ()
 
bool Check ()
 
bool ConfigParameters ()
 
bool DefinePad ()
 
void DrawFigure ()
 
bool DrawHist ()
 
bool DrawHist2D ()
 
bool DrawHStack ()
 
bool HackStagger ()
 
bool Normalize ()
 
bool RebinHist ()
 
bool SaveHist ()
 
void SeparateUncertainty (bool doseparate=true)
 
void Set2DColorOnly (bool docoloronly=true)
 
void Set2DTextOnly (bool dotextonly=true)
 
void SetAsmble (int index)
 
void SetAxis ()
 
void SetFixedNormFactor (bool fix=true, double scale=-1)
 
void SetGraphLine (int line_style, int line_width, int line_color)
 
void SetGraphMarker (int marker_style, int marker_size, int marker_color)
 
void SetGrid (bool grid=true)
 
void SetGridX (bool grid=true)
 
void SetGridY (bool grid=true)
 
void SetHeaderName (const char *header)
 
void SetHist ()
 
void SetInputGraph (TGraph *graph, const char *legendname, const char *drawoption)
 Set input graph.
 
void SetInputHist (const char *filename, const char *histname, const char *legendname, int rebinnum=-1, double scale=1)
 Set input histogram.
 
void SetInputHist (TFile *infile, const char *histname, const char *legendname, int rebinnum=-1, double scale=1)
 Set input histogram.
 
void SetInputHist (TH1D *hist, const char *legendnamem, int rebinnum=-1, double scale=1)
 Set input histogram.
 
void SetInputHist2D (const char *filename, const char *histname, const char *legendname, int rebinnumx=-1, int rebinnumy=-1)
 Set input 2D histogram.
 
void SetInputHist2D (TFile *infile, const char *histname, const char *legendname, int rebinnumx=-1, int rebinnumy=-1)
 Set input 2D histogram.
 
void SetInputHist2D (TH2D *hist, const char *legendnamem, int rebinnumx=-1, int rebinnumy=-1)
 Set input 2D histogram.
 
void SetLeftPercentage (double percent)
 
void SetLegend (bool)
 
void SetLegendColumn (int num)
 
void SetMainGridX (bool grid=true)
 
void SetMainGridY (bool grid=true)
 
void SetMainLogY (bool dosetlogy=true)
 
void SetMainYRange (double min, double max)
 
void SetMainZRange (double min, double max)
 
void SetMargin ()
 
void SetMatrixStyle (bool domatrix=true)
 
void SetMode (const char *main_mode_tag, const char *sub_mode_tag="UNKNOWN", const char *SubTitleY="UNKNOWN")
 The mode of the figure.
 
void SetNormRange (double min, double max)
 
void SetNotNorm ()
 
void SetShowChi2 (bool show=true)
 
void SetStagger (bool dostagger=true)
 
void SetStyleIndex (int index)
 
void SetSubGridX (bool grid=true)
 
void SetSubGridY (bool grid=true)
 
void SetSubYRange (double min, double max)
 
void SetXBinName (const char *binname)
 
void SetXRange (double min, double max)
 Draw range of the xaxis.
 
void SetYBinName (const char *binname)
 

Private Attributes

int asmb = 3
 
int binnumx
 
int binnumy
 
double BottomMargin_Main
 
double BottomMargin_Sub
 
bool DoColorOnly = false
 
bool DoLegend = true
 
bool DoMainLogY = false
 
bool DoMatrix = false
 
bool DoSeparate = false
 
bool DoStagger = false
 
bool DoTextOnly = false
 
std::vector< TString > DrawOption_Graph
 
TH1D * Empty_Hist = nullptr
 
TH1D * Empty_Hist_Sub = nullptr
 
std::vector< double > ExternNorm_Factor
 
TCanvas * figure = nullptr
 
std::vector< int > Graph_Line_Color
 
std::vector< int > Graph_Line_Style
 
std::vector< int > Graph_Line_Width
 
std::vector< int > Graph_Marker_Color
 
std::vector< int > Graph_Marker_Size
 
std::vector< int > Graph_Marker_Style
 
TString HeaderName = "ATLAS Internal"
 
TH2D * Hist2D = nullptr
 
int Hist_Fill_Style
 
int Hist_Fill_Style_First
 
int Hist_Line_Width
 
int Hist_Marker_Size
 
HistTool histtool
 
bool isExtern_Norm = false
 
std::vector< bool > isExtern_Sub_Hist
 
bool isFixed_Norm = false
 
bool isFor_Hist2D = false
 
std::vector< bool > isNeed_ExternNorm
 
bool isNeed_Norm = true
 
bool isNeed_SetBinNameX = false
 
bool isNeed_SetBinNameY = false
 
bool isNeed_X_Title_Main_Pad
 
bool isNeed_X_Title_Sub_Pad
 
bool isSet_Mode = false
 
bool isSet_Norm_Range = false
 
bool isSet_X_Range = false
 
bool isSet_Y_Range_Main = false
 
bool isSet_Y_Range_Sub = false
 
bool isSet_Z_Range_Main = false
 
bool isUnity_Norm = false
 
double LeftMargin_Main
 
double LeftMargin_Sub
 
double LeftPercentage = 0.07
 
int Legend_Column = 1
 
int Legend_Text_Font
 
double Legend_Text_Size
 
std::vector< TString > LegendName
 
std::vector< TString > LegendName_Graph
 
std::vector< TGraph * > Main_Graph
 
std::vector< TH1D * > Main_Hist
 
TLegend * Main_Legend = nullptr
 
TPad * Main_Pad = nullptr
 
bool Main_Pad_isNeeded
 
TAxis * Main_Pad_X_Axis = nullptr
 
TAxis * Main_Pad_Y_Axis = nullptr
 
TAxis * Main_Pad_Z_Axis = nullptr
 
THStack * Main_Stack = nullptr
 
TH2D * Matrix_Save = nullptr
 
double Max_Norm_Range
 
double Max_X_Range
 
double Max_Y_Range_Main
 
double Max_Y_Range_Sub
 
double Max_Z_Range_Main
 
double Min_Norm_Range
 
double Min_X_Range
 
double Min_Y_Range_Main
 
double Min_Y_Range_Sub
 
double Min_Z_Range_Main
 
TString Mode_Tag_Main
 
TString Mode_Tag_Sub
 
char name [200]
 
std::vector< TString > Name_X_Bin
 
std::vector< TString > Name_Y_Bin
 
bool NeedGridX_Main = true
 
bool NeedGridX_Sub = true
 
bool NeedGridY_Main = true
 
bool NeedGridY_Sub = true
 
double Norm_Factor
 
size_t Num_Main_Hist
 
int Num_X_Bin
 
std::vector< int > RebinNum
 
int RebinNumX
 
int RebinNumY
 
double RightMargin_Main
 
double RightMargin_Sub
 
TString SaveFileName
 
bool ShowChi2 = false
 
int Stagger_Num_X_Bin
 
std::vector< TH1D * > Stagger_Save_Main_Hist
 
std::vector< TH1D * > Stagger_Save_Sub_Hist
 
double * Stagger_X_Binning = nullptr
 
int Style_Index = 0
 
int Sub_Fill_Style
 
int Sub_Fill_Style_First
 
std::vector< TH1D * > Sub_Hist
 
TPad * Sub_Pad = nullptr
 
bool Sub_Pad_isNeeded
 
TAxis * Sub_Pad_X_Axis = nullptr
 
TAxis * Sub_Pad_Y_Axis = nullptr
 
THStack * Sub_Stack = nullptr
 
TH2D * Text2D = nullptr
 
double TopMargin_Main
 
double TopMargin_Sub
 
TH1D * Total_Hist = nullptr
 
TH1D * Total_Hist_With_Error = nullptr
 
Uncertainty unc
 
double * X_Binning = nullptr
 
double X_Label_Font_Main
 
double X_Label_Font_Sub
 
double X_Label_Size_Main
 
double X_Label_Size_Sub
 
double X_Title_Font_Main
 
double X_Title_Font_Sub
 
TString X_Title_Main_Pad
 
double X_Title_Offset_Main
 
double X_Title_Offset_Sub
 
double X_Title_Size_Main
 
double X_Title_Size_Sub
 
TString X_Title_Sub_Pad
 
double Y_Label_Font_Main
 
double Y_Label_Font_Sub
 
double Y_Label_Size_Main
 
double Y_Label_Size_Sub
 
double Y_Title_Font_Main
 
double Y_Title_Font_Sub
 
TString Y_Title_Main_Pad
 
double Y_Title_Offset_Main
 
double Y_Title_Offset_Sub
 
double Y_Title_Size_Main
 
double Y_Title_Size_Sub
 
TString Y_Title_Sub_Pad
 
double Z_Label_Font_Main
 
double Z_Label_Offset_Main
 
double Z_Label_Size_Main
 

Additional Inherited Members

- Protected Member Functions inherited from NAGASH::Tool
 Tool ()=delete
 
 Tool (const Tool &tool)=delete
 
 Tool (std::shared_ptr< MSGTool > MSG)
 Constructor.
 
 Tool (Tool &&tool)=delete
 
virtual ~Tool ()=default
 
std::shared_ptr< MSGToolMSGUser ()
 return the MSGTool inside.
 
Tooloperator= (const Tool &tool)=delete
 
Tooloperator= (Tool &&tool)=delete
 

Detailed Description

Next Generation Figure Package, now replaced by NAGASH::FigureTool.

Finished in 2019.Jun.4th Version 1.0 Modified to adjust NAGASH in 2021.3.4

Definition at line 15 of file NGFigure.h.

Constructor & Destructor Documentation

◆ NGFigure()

NGFigure::NGFigure ( std::shared_ptr< MSGTool msg,
const char *  FigureName,
const char *  TitleX,
const char *  TitleY 
)

Constructor.

Parameters
msginput MSGTool.
FigureNamename of the figure you want to save.
TitleXx-axis title.
TitleYy-axis title.

Definition at line 24 of file NGFigure.cxx.

◆ ~NGFigure()

NGFigure::~NGFigure ( )

Definition at line 2024 of file NGFigure.cxx.

Member Function Documentation

◆ Check()

bool NGFigure::Check ( )

Definition at line 424 of file NGFigure.cxx.

◆ ConfigParameters()

bool NGFigure::ConfigParameters ( )

Definition at line 594 of file NGFigure.cxx.

◆ DefinePad()

bool NGFigure::DefinePad ( )

Definition at line 1236 of file NGFigure.cxx.

◆ DrawFigure()

void NGFigure::DrawFigure ( )

Definition at line 1986 of file NGFigure.cxx.

◆ DrawHist()

bool NGFigure::DrawHist ( )

Definition at line 1264 of file NGFigure.cxx.

◆ DrawHist2D()

bool NGFigure::DrawHist2D ( )

Definition at line 1880 of file NGFigure.cxx.

◆ DrawHStack()

bool NGFigure::DrawHStack ( )

Definition at line 1853 of file NGFigure.cxx.

◆ HackStagger()

bool NGFigure::HackStagger ( )

Definition at line 1930 of file NGFigure.cxx.

◆ Normalize()

bool NGFigure::Normalize ( )

Definition at line 462 of file NGFigure.cxx.

◆ RebinHist()

bool NGFigure::RebinHist ( )

Definition at line 360 of file NGFigure.cxx.

◆ SaveHist()

bool NGFigure::SaveHist ( )

Definition at line 1382 of file NGFigure.cxx.

◆ SeparateUncertainty()

void NGFigure::SeparateUncertainty ( bool  doseparate = true)

Definition at line 2213 of file NGFigure.cxx.

◆ Set2DColorOnly()

void NGFigure::Set2DColorOnly ( bool  docoloronly = true)

Definition at line 2223 of file NGFigure.cxx.

◆ Set2DTextOnly()

void NGFigure::Set2DTextOnly ( bool  dotextonly = true)

Definition at line 2218 of file NGFigure.cxx.

◆ SetAsmble()

void NGFigure::SetAsmble ( int  index)

Definition at line 2165 of file NGFigure.cxx.

◆ SetAxis()

void NGFigure::SetAxis ( )

Definition at line 1419 of file NGFigure.cxx.

◆ SetFixedNormFactor()

void NGFigure::SetFixedNormFactor ( bool  fix = true,
double  scale = -1 
)

Definition at line 2185 of file NGFigure.cxx.

◆ SetGraphLine()

void NGFigure::SetGraphLine ( int  line_style,
int  line_width,
int  line_color 
)

Definition at line 344 of file NGFigure.cxx.

◆ SetGraphMarker()

void NGFigure::SetGraphMarker ( int  marker_style,
int  marker_size,
int  marker_color 
)

Definition at line 328 of file NGFigure.cxx.

◆ SetGrid()

void NGFigure::SetGrid ( bool  grid = true)

Definition at line 2159 of file NGFigure.cxx.

◆ SetGridX()

void NGFigure::SetGridX ( bool  grid = true)

Definition at line 2147 of file NGFigure.cxx.

◆ SetGridY()

void NGFigure::SetGridY ( bool  grid = true)

Definition at line 2153 of file NGFigure.cxx.

◆ SetHeaderName()

void NGFigure::SetHeaderName ( const char *  header)

Definition at line 2191 of file NGFigure.cxx.

◆ SetHist()

void NGFigure::SetHist ( )

Definition at line 1498 of file NGFigure.cxx.

◆ SetInputGraph()

void NGFigure::SetInputGraph ( TGraph *  graph,
const char *  legendname,
const char *  drawoption 
)

Set input graph.

Parameters
graphpointer to the TGraph.
legendnamename of the legend of this graph.
drawoptiondraw option of this graph, same as options in TGraph::Draw().

Definition at line 253 of file NGFigure.cxx.

◆ SetInputHist() [1/3]

void NGFigure::SetInputHist ( const char *  filename,
const char *  histname,
const char *  legendname,
int  rebinnum = -1,
double  scale = 1 
)

Set input histogram.

Parameters
filenameROOT file name that stores the histogram.
histnamename of the histogram.
legendnamename of the legend of this histogram.
rebinnumrebin number of the histogram if you want to rebin it.
scalescale factor of the histogram if you want to scale it.

Definition at line 66 of file NGFigure.cxx.

◆ SetInputHist() [2/3]

void NGFigure::SetInputHist ( TFile *  infile,
const char *  histname,
const char *  legendname,
int  rebinnum = -1,
double  scale = 1 
)

Set input histogram.

Parameters
infilepointer to the TFile.
histnamename of the histogram.
legendnamename of the legend of this histogram.
rebinnumrebin number of the histogram if you want to rebin it.
scalescale factor of the histogram if you want to scale it.

Definition at line 103 of file NGFigure.cxx.

◆ SetInputHist() [3/3]

void NGFigure::SetInputHist ( TH1D *  hist,
const char *  legendname,
int  rebinnum = -1,
double  scale = 1 
)

Set input histogram.

Parameters
histpointer to the histogram.
legendnamename of the legend of this histogram.
rebinnumrebin number of the histogram if you want to rebin it.
scalescale factor of the histogram if you want to scale it.

Definition at line 139 of file NGFigure.cxx.

◆ SetInputHist2D() [1/3]

void NGFigure::SetInputHist2D ( const char *  filename,
const char *  histname,
const char *  legendname,
int  rebinnumx = -1,
int  rebinnumy = -1 
)

Set input 2D histogram.

Parameters
filenameROOT file name that stores the 2D histogram.
histnamename of the 2D histogram.
legendnamename of the legend of this 2D histogram.
rebinnumxrebin number of the xaxis.
rebinnumyrebin number of the yaxis.

Definition at line 168 of file NGFigure.cxx.

◆ SetInputHist2D() [2/3]

void NGFigure::SetInputHist2D ( TFile *  infile,
const char *  histname,
const char *  legendname,
int  rebinnumx = -1,
int  rebinnumy = -1 
)

Set input 2D histogram.

Parameters
infilepointer to the TFile.
histnamename of the 2D histogram.
legendnamename of the legend of this 2D histogram.
rebinnumxrebin number of the xaxis.
rebinnumyrebin number of the yaxis.

Definition at line 201 of file NGFigure.cxx.

◆ SetInputHist2D() [3/3]

void NGFigure::SetInputHist2D ( TH2D *  hist,
const char *  legendname,
int  rebinnumx = -1,
int  rebinnumy = -1 
)

Set input 2D histogram.

Parameters
histpointer to the 2D histogram.
legendnamename of the legend of this 2D histogram.
rebinnumxrebin number of the xaxis.
rebinnumyrebin number of the yaxis.

Definition at line 232 of file NGFigure.cxx.

◆ SetLeftPercentage()

void NGFigure::SetLeftPercentage ( double  percent)

Definition at line 2175 of file NGFigure.cxx.

◆ SetLegend()

void NGFigure::SetLegend ( bool  dolegend)

Definition at line 2238 of file NGFigure.cxx.

◆ SetLegendColumn()

void NGFigure::SetLegendColumn ( int  num)

Definition at line 2233 of file NGFigure.cxx.

◆ SetMainGridX()

void NGFigure::SetMainGridX ( bool  grid = true)

Definition at line 2137 of file NGFigure.cxx.

◆ SetMainGridY()

void NGFigure::SetMainGridY ( bool  grid = true)

Definition at line 2142 of file NGFigure.cxx.

◆ SetMainLogY()

void NGFigure::SetMainLogY ( bool  dosetlogy = true)

Definition at line 1414 of file NGFigure.cxx.

◆ SetMainYRange()

void NGFigure::SetMainYRange ( double  min,
double  max 
)

Definition at line 2071 of file NGFigure.cxx.

◆ SetMainZRange()

void NGFigure::SetMainZRange ( double  min,
double  max 
)

Definition at line 2085 of file NGFigure.cxx.

◆ SetMargin()

void NGFigure::SetMargin ( )

Definition at line 1388 of file NGFigure.cxx.

◆ SetMatrixStyle()

void NGFigure::SetMatrixStyle ( bool  domatrix = true)

Definition at line 2180 of file NGFigure.cxx.

◆ SetMode()

void NGFigure::SetMode ( const char *  main_mode_tag,
const char *  sub_mode_tag = "UNKNOWN",
const char *  SubTitleY = "UNKNOWN" 
)

The mode of the figure.

Parameters
main_mode_tagmode of the main pad, possible values are: SINGLE (single histogram), MULTI (multiple histograms), HSTACK (hstack histogram) and HIST2D(2D histogram).
sub_mode_tag(optional) mode of the sub pad, possible values are: RATIO, PULL, DELTA and PERCENTAGE(hstack only).
SubTitleYsub pad y-axis title.

Definition at line 33 of file NGFigure.cxx.

◆ SetNormRange()

void NGFigure::SetNormRange ( double  min,
double  max 
)

Definition at line 2113 of file NGFigure.cxx.

◆ SetNotNorm()

void NGFigure::SetNotNorm ( )

Definition at line 2228 of file NGFigure.cxx.

◆ SetShowChi2()

void NGFigure::SetShowChi2 ( bool  show = true)

Definition at line 2196 of file NGFigure.cxx.

◆ SetStagger()

void NGFigure::SetStagger ( bool  dostagger = true)

Definition at line 2066 of file NGFigure.cxx.

◆ SetStyleIndex()

void NGFigure::SetStyleIndex ( int  index)

Definition at line 2170 of file NGFigure.cxx.

◆ SetSubGridX()

void NGFigure::SetSubGridX ( bool  grid = true)

Definition at line 2127 of file NGFigure.cxx.

◆ SetSubGridY()

void NGFigure::SetSubGridY ( bool  grid = true)

Definition at line 2132 of file NGFigure.cxx.

◆ SetSubYRange()

void NGFigure::SetSubYRange ( double  min,
double  max 
)

Definition at line 2099 of file NGFigure.cxx.

◆ SetXBinName()

void NGFigure::SetXBinName ( const char *  binname)

Definition at line 2201 of file NGFigure.cxx.

◆ SetXRange()

void NGFigure::SetXRange ( double  min,
double  max 
)

Draw range of the xaxis.

Definition at line 46 of file NGFigure.cxx.

◆ SetYBinName()

void NGFigure::SetYBinName ( const char *  binname)

Definition at line 2207 of file NGFigure.cxx.

Member Data Documentation

◆ asmb

int NAGASH::NGFigure::asmb = 3
private

Definition at line 24 of file NGFigure.h.

◆ binnumx

int NAGASH::NGFigure::binnumx
private

Definition at line 30 of file NGFigure.h.

◆ binnumy

int NAGASH::NGFigure::binnumy
private

Definition at line 31 of file NGFigure.h.

◆ BottomMargin_Main

double NAGASH::NGFigure::BottomMargin_Main
private

Definition at line 109 of file NGFigure.h.

◆ BottomMargin_Sub

double NAGASH::NGFigure::BottomMargin_Sub
private

Definition at line 164 of file NGFigure.h.

◆ DoColorOnly

bool NAGASH::NGFigure::DoColorOnly = false
private

Definition at line 27 of file NGFigure.h.

◆ DoLegend

bool NAGASH::NGFigure::DoLegend = true
private

Definition at line 190 of file NGFigure.h.

◆ DoMainLogY

bool NAGASH::NGFigure::DoMainLogY = false
private

Definition at line 188 of file NGFigure.h.

◆ DoMatrix

bool NAGASH::NGFigure::DoMatrix = false
private

Definition at line 25 of file NGFigure.h.

◆ DoSeparate

bool NAGASH::NGFigure::DoSeparate = false
private

Definition at line 186 of file NGFigure.h.

◆ DoStagger

bool NAGASH::NGFigure::DoStagger = false
private

Definition at line 181 of file NGFigure.h.

◆ DoTextOnly

bool NAGASH::NGFigure::DoTextOnly = false
private

Definition at line 26 of file NGFigure.h.

◆ DrawOption_Graph

std::vector<TString> NAGASH::NGFigure::DrawOption_Graph
private

Definition at line 80 of file NGFigure.h.

◆ Empty_Hist

TH1D* NAGASH::NGFigure::Empty_Hist = nullptr
private

Definition at line 90 of file NGFigure.h.

◆ Empty_Hist_Sub

TH1D* NAGASH::NGFigure::Empty_Hist_Sub = nullptr
private

Definition at line 91 of file NGFigure.h.

◆ ExternNorm_Factor

std::vector<double> NAGASH::NGFigure::ExternNorm_Factor
private

Definition at line 73 of file NGFigure.h.

◆ figure

TCanvas* NAGASH::NGFigure::figure = nullptr
private

Definition at line 37 of file NGFigure.h.

◆ Graph_Line_Color

std::vector<int> NAGASH::NGFigure::Graph_Line_Color
private

Definition at line 86 of file NGFigure.h.

◆ Graph_Line_Style

std::vector<int> NAGASH::NGFigure::Graph_Line_Style
private

Definition at line 84 of file NGFigure.h.

◆ Graph_Line_Width

std::vector<int> NAGASH::NGFigure::Graph_Line_Width
private

Definition at line 85 of file NGFigure.h.

◆ Graph_Marker_Color

std::vector<int> NAGASH::NGFigure::Graph_Marker_Color
private

Definition at line 83 of file NGFigure.h.

◆ Graph_Marker_Size

std::vector<int> NAGASH::NGFigure::Graph_Marker_Size
private

Definition at line 82 of file NGFigure.h.

◆ Graph_Marker_Style

std::vector<int> NAGASH::NGFigure::Graph_Marker_Style
private

Definition at line 81 of file NGFigure.h.

◆ HeaderName

TString NAGASH::NGFigure::HeaderName = "ATLAS Internal"
private

Definition at line 43 of file NGFigure.h.

◆ Hist2D

TH2D* NAGASH::NGFigure::Hist2D = nullptr
private

Definition at line 21 of file NGFigure.h.

◆ Hist_Fill_Style

int NAGASH::NGFigure::Hist_Fill_Style
private

Definition at line 99 of file NGFigure.h.

◆ Hist_Fill_Style_First

int NAGASH::NGFigure::Hist_Fill_Style_First
private

Definition at line 101 of file NGFigure.h.

◆ Hist_Line_Width

int NAGASH::NGFigure::Hist_Line_Width
private

Definition at line 96 of file NGFigure.h.

◆ Hist_Marker_Size

int NAGASH::NGFigure::Hist_Marker_Size
private

Definition at line 97 of file NGFigure.h.

◆ histtool

HistTool NAGASH::NGFigure::histtool
private

Definition at line 196 of file NGFigure.h.

◆ isExtern_Norm

bool NAGASH::NGFigure::isExtern_Norm = false
private

Definition at line 59 of file NGFigure.h.

◆ isExtern_Sub_Hist

std::vector<bool> NAGASH::NGFigure::isExtern_Sub_Hist
private

Definition at line 151 of file NGFigure.h.

◆ isFixed_Norm

bool NAGASH::NGFigure::isFixed_Norm = false
private

Definition at line 58 of file NGFigure.h.

◆ isFor_Hist2D

bool NAGASH::NGFigure::isFor_Hist2D = false
private

Definition at line 20 of file NGFigure.h.

◆ isNeed_ExternNorm

std::vector<bool> NAGASH::NGFigure::isNeed_ExternNorm
private

Definition at line 74 of file NGFigure.h.

◆ isNeed_Norm

bool NAGASH::NGFigure::isNeed_Norm = true
private

Definition at line 57 of file NGFigure.h.

◆ isNeed_SetBinNameX

bool NAGASH::NGFigure::isNeed_SetBinNameX = false
private

Definition at line 32 of file NGFigure.h.

◆ isNeed_SetBinNameY

bool NAGASH::NGFigure::isNeed_SetBinNameY = false
private

Definition at line 33 of file NGFigure.h.

◆ isNeed_X_Title_Main_Pad

bool NAGASH::NGFigure::isNeed_X_Title_Main_Pad
private

Definition at line 129 of file NGFigure.h.

◆ isNeed_X_Title_Sub_Pad

bool NAGASH::NGFigure::isNeed_X_Title_Sub_Pad
private

Definition at line 155 of file NGFigure.h.

◆ isSet_Mode

bool NAGASH::NGFigure::isSet_Mode = false
private

Definition at line 65 of file NGFigure.h.

◆ isSet_Norm_Range

bool NAGASH::NGFigure::isSet_Norm_Range = false
private

Definition at line 56 of file NGFigure.h.

◆ isSet_X_Range

bool NAGASH::NGFigure::isSet_X_Range = false
private

Definition at line 52 of file NGFigure.h.

◆ isSet_Y_Range_Main

bool NAGASH::NGFigure::isSet_Y_Range_Main = false
private

Definition at line 131 of file NGFigure.h.

◆ isSet_Y_Range_Sub

bool NAGASH::NGFigure::isSet_Y_Range_Sub = false
private

Definition at line 157 of file NGFigure.h.

◆ isSet_Z_Range_Main

bool NAGASH::NGFigure::isSet_Z_Range_Main = false
private

Definition at line 135 of file NGFigure.h.

◆ isUnity_Norm

bool NAGASH::NGFigure::isUnity_Norm = false
private

Definition at line 60 of file NGFigure.h.

◆ LeftMargin_Main

double NAGASH::NGFigure::LeftMargin_Main
private

Definition at line 107 of file NGFigure.h.

◆ LeftMargin_Sub

double NAGASH::NGFigure::LeftMargin_Sub
private

Definition at line 162 of file NGFigure.h.

◆ LeftPercentage

double NAGASH::NGFigure::LeftPercentage = 0.07
private

Definition at line 68 of file NGFigure.h.

◆ Legend_Column

int NAGASH::NGFigure::Legend_Column = 1
private

Definition at line 144 of file NGFigure.h.

◆ Legend_Text_Font

int NAGASH::NGFigure::Legend_Text_Font
private

Definition at line 143 of file NGFigure.h.

◆ Legend_Text_Size

double NAGASH::NGFigure::Legend_Text_Size
private

Definition at line 142 of file NGFigure.h.

◆ LegendName

std::vector<TString> NAGASH::NGFigure::LegendName
private

Definition at line 75 of file NGFigure.h.

◆ LegendName_Graph

std::vector<TString> NAGASH::NGFigure::LegendName_Graph
private

Definition at line 79 of file NGFigure.h.

◆ Main_Graph

std::vector<TGraph *> NAGASH::NGFigure::Main_Graph
private

Definition at line 78 of file NGFigure.h.

◆ Main_Hist

std::vector<TH1D *> NAGASH::NGFigure::Main_Hist
private

Definition at line 72 of file NGFigure.h.

◆ Main_Legend

TLegend* NAGASH::NGFigure::Main_Legend = nullptr
private

Definition at line 42 of file NGFigure.h.

◆ Main_Pad

TPad* NAGASH::NGFigure::Main_Pad = nullptr
private

Definition at line 40 of file NGFigure.h.

◆ Main_Pad_isNeeded

bool NAGASH::NGFigure::Main_Pad_isNeeded
private

Definition at line 38 of file NGFigure.h.

◆ Main_Pad_X_Axis

TAxis* NAGASH::NGFigure::Main_Pad_X_Axis = nullptr
private

Definition at line 48 of file NGFigure.h.

◆ Main_Pad_Y_Axis

TAxis* NAGASH::NGFigure::Main_Pad_Y_Axis = nullptr
private

Definition at line 47 of file NGFigure.h.

◆ Main_Pad_Z_Axis

TAxis* NAGASH::NGFigure::Main_Pad_Z_Axis = nullptr
private

Definition at line 46 of file NGFigure.h.

◆ Main_Stack

THStack* NAGASH::NGFigure::Main_Stack = nullptr
private

Definition at line 93 of file NGFigure.h.

◆ Matrix_Save

TH2D* NAGASH::NGFigure::Matrix_Save = nullptr
private

Definition at line 22 of file NGFigure.h.

◆ Max_Norm_Range

double NAGASH::NGFigure::Max_Norm_Range
private

Definition at line 61 of file NGFigure.h.

◆ Max_X_Range

double NAGASH::NGFigure::Max_X_Range
private

Definition at line 53 of file NGFigure.h.

◆ Max_Y_Range_Main

double NAGASH::NGFigure::Max_Y_Range_Main
private

Definition at line 132 of file NGFigure.h.

◆ Max_Y_Range_Sub

double NAGASH::NGFigure::Max_Y_Range_Sub
private

Definition at line 158 of file NGFigure.h.

◆ Max_Z_Range_Main

double NAGASH::NGFigure::Max_Z_Range_Main
private

Definition at line 136 of file NGFigure.h.

◆ Min_Norm_Range

double NAGASH::NGFigure::Min_Norm_Range
private

Definition at line 62 of file NGFigure.h.

◆ Min_X_Range

double NAGASH::NGFigure::Min_X_Range
private

Definition at line 54 of file NGFigure.h.

◆ Min_Y_Range_Main

double NAGASH::NGFigure::Min_Y_Range_Main
private

Definition at line 133 of file NGFigure.h.

◆ Min_Y_Range_Sub

double NAGASH::NGFigure::Min_Y_Range_Sub
private

Definition at line 159 of file NGFigure.h.

◆ Min_Z_Range_Main

double NAGASH::NGFigure::Min_Z_Range_Main
private

Definition at line 137 of file NGFigure.h.

◆ Mode_Tag_Main

TString NAGASH::NGFigure::Mode_Tag_Main
private

Definition at line 71 of file NGFigure.h.

◆ Mode_Tag_Sub

TString NAGASH::NGFigure::Mode_Tag_Sub
private

Definition at line 149 of file NGFigure.h.

◆ name

char NAGASH::NGFigure::name[200]
private

Definition at line 192 of file NGFigure.h.

◆ Name_X_Bin

std::vector<TString> NAGASH::NGFigure::Name_X_Bin
private

Definition at line 34 of file NGFigure.h.

◆ Name_Y_Bin

std::vector<TString> NAGASH::NGFigure::Name_Y_Bin
private

Definition at line 35 of file NGFigure.h.

◆ NeedGridX_Main

bool NAGASH::NGFigure::NeedGridX_Main = true
private

Definition at line 139 of file NGFigure.h.

◆ NeedGridX_Sub

bool NAGASH::NGFigure::NeedGridX_Sub = true
private

Definition at line 178 of file NGFigure.h.

◆ NeedGridY_Main

bool NAGASH::NGFigure::NeedGridY_Main = true
private

Definition at line 140 of file NGFigure.h.

◆ NeedGridY_Sub

bool NAGASH::NGFigure::NeedGridY_Sub = true
private

Definition at line 179 of file NGFigure.h.

◆ Norm_Factor

double NAGASH::NGFigure::Norm_Factor
private

Definition at line 63 of file NGFigure.h.

◆ Num_Main_Hist

size_t NAGASH::NGFigure::Num_Main_Hist
private

Definition at line 146 of file NGFigure.h.

◆ Num_X_Bin

int NAGASH::NGFigure::Num_X_Bin
private

Definition at line 104 of file NGFigure.h.

◆ RebinNum

std::vector<int> NAGASH::NGFigure::RebinNum
private

Definition at line 76 of file NGFigure.h.

◆ RebinNumX

int NAGASH::NGFigure::RebinNumX
private

Definition at line 28 of file NGFigure.h.

◆ RebinNumY

int NAGASH::NGFigure::RebinNumY
private

Definition at line 29 of file NGFigure.h.

◆ RightMargin_Main

double NAGASH::NGFigure::RightMargin_Main
private

Definition at line 106 of file NGFigure.h.

◆ RightMargin_Sub

double NAGASH::NGFigure::RightMargin_Sub
private

Definition at line 161 of file NGFigure.h.

◆ SaveFileName

TString NAGASH::NGFigure::SaveFileName
private

Definition at line 18 of file NGFigure.h.

◆ ShowChi2

bool NAGASH::NGFigure::ShowChi2 = false
private

Definition at line 44 of file NGFigure.h.

◆ Stagger_Num_X_Bin

int NAGASH::NGFigure::Stagger_Num_X_Bin
private

Definition at line 183 of file NGFigure.h.

◆ Stagger_Save_Main_Hist

std::vector<TH1D *> NAGASH::NGFigure::Stagger_Save_Main_Hist
private

Definition at line 184 of file NGFigure.h.

◆ Stagger_Save_Sub_Hist

std::vector<TH1D *> NAGASH::NGFigure::Stagger_Save_Sub_Hist
private

Definition at line 185 of file NGFigure.h.

◆ Stagger_X_Binning

double* NAGASH::NGFigure::Stagger_X_Binning = nullptr
private

Definition at line 182 of file NGFigure.h.

◆ Style_Index

int NAGASH::NGFigure::Style_Index = 0
private

Definition at line 66 of file NGFigure.h.

◆ Sub_Fill_Style

int NAGASH::NGFigure::Sub_Fill_Style
private

Definition at line 98 of file NGFigure.h.

◆ Sub_Fill_Style_First

int NAGASH::NGFigure::Sub_Fill_Style_First
private

Definition at line 100 of file NGFigure.h.

◆ Sub_Hist

std::vector<TH1D *> NAGASH::NGFigure::Sub_Hist
private

Definition at line 150 of file NGFigure.h.

◆ Sub_Pad

TPad* NAGASH::NGFigure::Sub_Pad = nullptr
private

Definition at line 41 of file NGFigure.h.

◆ Sub_Pad_isNeeded

bool NAGASH::NGFigure::Sub_Pad_isNeeded
private

Definition at line 39 of file NGFigure.h.

◆ Sub_Pad_X_Axis

TAxis* NAGASH::NGFigure::Sub_Pad_X_Axis = nullptr
private

Definition at line 50 of file NGFigure.h.

◆ Sub_Pad_Y_Axis

TAxis* NAGASH::NGFigure::Sub_Pad_Y_Axis = nullptr
private

Definition at line 49 of file NGFigure.h.

◆ Sub_Stack

THStack* NAGASH::NGFigure::Sub_Stack = nullptr
private

Definition at line 94 of file NGFigure.h.

◆ Text2D

TH2D* NAGASH::NGFigure::Text2D = nullptr
private

Definition at line 23 of file NGFigure.h.

◆ TopMargin_Main

double NAGASH::NGFigure::TopMargin_Main
private

Definition at line 108 of file NGFigure.h.

◆ TopMargin_Sub

double NAGASH::NGFigure::TopMargin_Sub
private

Definition at line 163 of file NGFigure.h.

◆ Total_Hist

TH1D* NAGASH::NGFigure::Total_Hist = nullptr
private

Definition at line 89 of file NGFigure.h.

◆ Total_Hist_With_Error

TH1D* NAGASH::NGFigure::Total_Hist_With_Error = nullptr
private

Definition at line 88 of file NGFigure.h.

◆ unc

Uncertainty NAGASH::NGFigure::unc
private

Definition at line 195 of file NGFigure.h.

◆ X_Binning

double* NAGASH::NGFigure::X_Binning = nullptr
private

Definition at line 103 of file NGFigure.h.

◆ X_Label_Font_Main

double NAGASH::NGFigure::X_Label_Font_Main
private

Definition at line 112 of file NGFigure.h.

◆ X_Label_Font_Sub

double NAGASH::NGFigure::X_Label_Font_Sub
private

Definition at line 167 of file NGFigure.h.

◆ X_Label_Size_Main

double NAGASH::NGFigure::X_Label_Size_Main
private

Definition at line 111 of file NGFigure.h.

◆ X_Label_Size_Sub

double NAGASH::NGFigure::X_Label_Size_Sub
private

Definition at line 166 of file NGFigure.h.

◆ X_Title_Font_Main

double NAGASH::NGFigure::X_Title_Font_Main
private

Definition at line 114 of file NGFigure.h.

◆ X_Title_Font_Sub

double NAGASH::NGFigure::X_Title_Font_Sub
private

Definition at line 169 of file NGFigure.h.

◆ X_Title_Main_Pad

TString NAGASH::NGFigure::X_Title_Main_Pad
private

Definition at line 128 of file NGFigure.h.

◆ X_Title_Offset_Main

double NAGASH::NGFigure::X_Title_Offset_Main
private

Definition at line 115 of file NGFigure.h.

◆ X_Title_Offset_Sub

double NAGASH::NGFigure::X_Title_Offset_Sub
private

Definition at line 170 of file NGFigure.h.

◆ X_Title_Size_Main

double NAGASH::NGFigure::X_Title_Size_Main
private

Definition at line 113 of file NGFigure.h.

◆ X_Title_Size_Sub

double NAGASH::NGFigure::X_Title_Size_Sub
private

Definition at line 168 of file NGFigure.h.

◆ X_Title_Sub_Pad

TString NAGASH::NGFigure::X_Title_Sub_Pad
private

Definition at line 154 of file NGFigure.h.

◆ Y_Label_Font_Main

double NAGASH::NGFigure::Y_Label_Font_Main
private

Definition at line 118 of file NGFigure.h.

◆ Y_Label_Font_Sub

double NAGASH::NGFigure::Y_Label_Font_Sub
private

Definition at line 173 of file NGFigure.h.

◆ Y_Label_Size_Main

double NAGASH::NGFigure::Y_Label_Size_Main
private

Definition at line 117 of file NGFigure.h.

◆ Y_Label_Size_Sub

double NAGASH::NGFigure::Y_Label_Size_Sub
private

Definition at line 172 of file NGFigure.h.

◆ Y_Title_Font_Main

double NAGASH::NGFigure::Y_Title_Font_Main
private

Definition at line 120 of file NGFigure.h.

◆ Y_Title_Font_Sub

double NAGASH::NGFigure::Y_Title_Font_Sub
private

Definition at line 175 of file NGFigure.h.

◆ Y_Title_Main_Pad

TString NAGASH::NGFigure::Y_Title_Main_Pad
private

Definition at line 127 of file NGFigure.h.

◆ Y_Title_Offset_Main

double NAGASH::NGFigure::Y_Title_Offset_Main
private

Definition at line 121 of file NGFigure.h.

◆ Y_Title_Offset_Sub

double NAGASH::NGFigure::Y_Title_Offset_Sub
private

Definition at line 176 of file NGFigure.h.

◆ Y_Title_Size_Main

double NAGASH::NGFigure::Y_Title_Size_Main
private

Definition at line 119 of file NGFigure.h.

◆ Y_Title_Size_Sub

double NAGASH::NGFigure::Y_Title_Size_Sub
private

Definition at line 174 of file NGFigure.h.

◆ Y_Title_Sub_Pad

TString NAGASH::NGFigure::Y_Title_Sub_Pad
private

Definition at line 153 of file NGFigure.h.

◆ Z_Label_Font_Main

double NAGASH::NGFigure::Z_Label_Font_Main
private

Definition at line 124 of file NGFigure.h.

◆ Z_Label_Offset_Main

double NAGASH::NGFigure::Z_Label_Offset_Main
private

Definition at line 125 of file NGFigure.h.

◆ Z_Label_Size_Main

double NAGASH::NGFigure::Z_Label_Size_Main
private

Definition at line 123 of file NGFigure.h.


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