REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Data Structures | Public Member Functions | Private Member Functions | Private Attributes
TRestAnalysisPlot Class Reference

Detailed Description

Definition at line 45 of file TRestAnalysisPlot.h.

Inheritance diagram for TRestAnalysisPlot:
TRestMetadata

Data Structures

struct  HistoInfoSet
 
struct  PanelInfo
 
struct  PlotInfoSet
 

Public Member Functions

void AddFile (const TString &fileName)
 
 ClassDefOverride (TRestAnalysisPlot, 4)
 
TVector2 GetCanvasDivisions () const
 
TVector2 GetCanvasSize () const
 
Int_t GetPlotIndex (const TString &plotName)
 
void Initialize () override
 Making default settings.
 
void PlotCombinedCanvas ()
 
void PrintMetadata () override
 Implemented it in the derived metadata class to print out specific metadata information. More...
 
void SaveCanvasToPDF (const TString &fileName)
 
void SaveHistoToPDF (const TString &fileName, Int_t nPlot=0, Int_t nHisto=0)
 
void SavePlotToPDF (const TString &fileName, Int_t n=0)
 
void SetFile (const TString &fileName)
 
void SetOutputPlotsFilename (const TString &name)
 
void SetTreeEntryRange (Long64_t NEntries=TTree::kMaxEntries, Long64_t FirstEntry=0)
 
 TRestAnalysisPlot (const char *configFilename, const char *name="")
 

Private Member Functions

void AddFileFromEnv ()
 
void AddFileFromExternalRun ()
 
Int_t GetColorIDFromString (const std::string &in)
 
Int_t GetFillStyleIDFromString (const std::string &in)
 
Int_t GetLineStyleIDFromString (const std::string &in)
 
TRestRunGetRunInfo (const TString &fileName)
 
TRestAnalysisTreeGetTree (const TString &fileName)
 
void InitFromConfigFile () override
 To make settings from rml file. This method must be implemented in the derived class.
 
bool IsDynamicRange (const TString &rangeString)
 
HistoInfoSet SetupHistogramFromConfigFile (TiXmlElement *ele, PlotInfoSet info)
 

Private Attributes

TVector2 fCanvasDivisionMargins
 
TVector2 fCanvasDivisions
 
TString fCanvasSave
 
TVector2 fCanvasSize
 
TCanvas * fCombinedCanvas
 TRestRun to handle input file.
 
Long64_t fDrawFirstEntry
 
Long64_t fDrawNEntries
 Output canvas.
 
Int_t fLabelFont
 
Double_t fLabelOffsetX = 1.1
 
Double_t fLabelOffsetY = 1.3
 
Double_t fLabelScaleX = 1.2
 
Double_t fLabelScaleY = 1.3
 
Double_t fLegendX1 = 0.7
 
Double_t fLegendX2 = 0.88
 
Double_t fLegendY1 = 0.75
 
Double_t fLegendY2 = 0.88
 
Int_t fNFiles
 
Int_t fPaletteStyle
 
std::vector< PanelInfofPanels
 
std::vector< std::string > fPlotNamesCheck
 
std::vector< PlotInfoSetfPlots
 
TRestRunfRun
 
std::vector< TString > fRunInputFileName
 TRestRun to handle output file.
 
Double_t fTicksScaleX = 1.5
 
Double_t fTicksScaleY = 1.5
 

Additional Inherited Members

Member Function Documentation

◆ PrintMetadata()

void TRestAnalysisPlot::PrintMetadata ( )
inlineoverridevirtual

Implemented it in the derived metadata class to print out specific metadata information.

Prints metadata content on screen. Usually overloaded by the derived metadata class.

Reimplemented from TRestMetadata.

Definition at line 170 of file TRestAnalysisPlot.h.


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