GammaCombo  Rev:Unversioneddirectory
Public Member Functions | Public Attributes | List of all members
OneMinusClPlotAbs Class Reference

#include <OneMinusClPlotAbs.h>

Inheritance diagram for OneMinusClPlotAbs:
Inheritance graph
[legend]
Collaboration diagram for OneMinusClPlotAbs:
Collaboration graph
[legend]

Public Member Functions

virtual void addScanner (MethodAbsScan *s, int CLsType=0)
 Add a scanner to this plot. More...
 
void disableLegend (bool yesNo=false)
 
void disableSolution (bool yesNo=false)
 
virtual void Draw ()
 
virtual void drawGroup (float yPos=0.6)
 Draw the group label on plots. More...
 
virtual void drawLabel (float yPos=0.6)
 
virtual void drawSolutions ()
 
TString getName ()
 
 OneMinusClPlotAbs (OptParser *arg, TString name="c1", TString title="c1")
 Gamma Combination Author: Till Moritz Karbach, morit.nosp@m.z.ka.nosp@m.rbach.nosp@m.@cer.nosp@m.n.ch Date: August 2012. More...
 
void save ()
 Save the plot. More...
 
void setFont (int fnum)
 
void setLabelSize (int lnum)
 
void setPlotLabel (TString &lname)
 
void setYLogRange (double min=1.e-3, double max=1)
 
void Show ()
 
 ~OneMinusClPlotAbs ()
 

Public Attributes

OptParserarg
 command line options More...
 
vector< int > do_CLs
 vector, which stores the cls method type to be plotted More...
 
int font
 font code. The last digit disables scaling with the canvas size. More...
 
TString label
 
int labelsize
 text size of axis labels in pixels More...
 
int legendsize
 text size of legend entries in pixels More...
 
TCanvas * m_mainCanvas
 
TString name
 
bool plotLegend
 
double plotLogYMax
 
double plotLogYMin
 
bool plotSolution
 
vector< MethodAbsScan * > scanners
 
TString title
 
int titlesize
 text size of axis titles in pixels More...
 

Detailed Description

Definition at line 27 of file OneMinusClPlotAbs.h.

Constructor & Destructor Documentation

§ OneMinusClPlotAbs()

OneMinusClPlotAbs::OneMinusClPlotAbs ( OptParser arg,
TString  name = "c1",
TString  title = "c1" 
)

Gamma Combination Author: Till Moritz Karbach, morit.nosp@m.z.ka.nosp@m.rbach.nosp@m.@cer.nosp@m.n.ch Date: August 2012.

< axis labels, numeric solutions, CL guide lines

< axis titles, group label, "Preliminary" is x0.75

< legends in 1d and 2d plots

Definition at line 10 of file OneMinusClPlotAbs.cpp.

§ ~OneMinusClPlotAbs()

OneMinusClPlotAbs::~OneMinusClPlotAbs ( )

Definition at line 37 of file OneMinusClPlotAbs.cpp.

Member Function Documentation

§ addScanner()

void OneMinusClPlotAbs::addScanner ( MethodAbsScan s,
int  CLsType = 0 
)
virtual

Add a scanner to this plot.

Reimplemented in OneMinusClPlot2d.

Definition at line 45 of file OneMinusClPlotAbs.cpp.

§ disableLegend()

void OneMinusClPlotAbs::disableLegend ( bool  yesNo = false)
inline

Definition at line 34 of file OneMinusClPlotAbs.h.

§ disableSolution()

void OneMinusClPlotAbs::disableSolution ( bool  yesNo = false)
inline

Definition at line 35 of file OneMinusClPlotAbs.h.

§ Draw()

void OneMinusClPlotAbs::Draw ( )
virtual

Reimplemented in OneMinusClPlot2d, and OneMinusClPlot.

Definition at line 107 of file OneMinusClPlotAbs.cpp.

§ drawGroup()

void OneMinusClPlotAbs::drawGroup ( float  yPos = 0.6)
virtual

Draw the group label on plots.

The label can be configured through the –group command line argument. It is possible to configure the position of the label through the –groupPos command line argument. The command line arguments –prelim and –unoff add "Preliminary" and "Unofficial" strings, respectively.

Definition at line 80 of file OneMinusClPlotAbs.cpp.

§ drawLabel()

virtual void OneMinusClPlotAbs::drawLabel ( float  yPos = 0.6)
inlinevirtual

Definition at line 37 of file OneMinusClPlotAbs.h.

§ drawSolutions()

void OneMinusClPlotAbs::drawSolutions ( )
virtual

Reimplemented in OneMinusClPlot2d, and OneMinusClPlot.

Definition at line 101 of file OneMinusClPlotAbs.cpp.

§ getName()

TString OneMinusClPlotAbs::getName ( )
inline

Definition at line 39 of file OneMinusClPlotAbs.h.

§ save()

void OneMinusClPlotAbs::save ( )

Save the plot.

Definition at line 62 of file OneMinusClPlotAbs.cpp.

§ setFont()

void OneMinusClPlotAbs::setFont ( int  fnum)
inline

Definition at line 42 of file OneMinusClPlotAbs.h.

§ setLabelSize()

void OneMinusClPlotAbs::setLabelSize ( int  lnum)
inline

Definition at line 43 of file OneMinusClPlotAbs.h.

§ setPlotLabel()

void OneMinusClPlotAbs::setPlotLabel ( TString &  lname)
inline

Definition at line 44 of file OneMinusClPlotAbs.h.

§ setYLogRange()

void OneMinusClPlotAbs::setYLogRange ( double  min = 1.e-3,
double  max = 1 
)
inline

Definition at line 41 of file OneMinusClPlotAbs.h.

§ Show()

void OneMinusClPlotAbs::Show ( )
inline

Definition at line 45 of file OneMinusClPlotAbs.h.

Member Data Documentation

§ arg

OptParser* OneMinusClPlotAbs::arg

command line options

Definition at line 55 of file OneMinusClPlotAbs.h.

§ do_CLs

vector<int> OneMinusClPlotAbs::do_CLs

vector, which stores the cls method type to be plotted

Definition at line 54 of file OneMinusClPlotAbs.h.

§ font

int OneMinusClPlotAbs::font

font code. The last digit disables scaling with the canvas size.

Definition at line 48 of file OneMinusClPlotAbs.h.

§ label

TString OneMinusClPlotAbs::label

Definition at line 59 of file OneMinusClPlotAbs.h.

§ labelsize

int OneMinusClPlotAbs::labelsize

text size of axis labels in pixels

Definition at line 49 of file OneMinusClPlotAbs.h.

§ legendsize

int OneMinusClPlotAbs::legendsize

text size of legend entries in pixels

Definition at line 51 of file OneMinusClPlotAbs.h.

§ m_mainCanvas

TCanvas* OneMinusClPlotAbs::m_mainCanvas

Definition at line 56 of file OneMinusClPlotAbs.h.

§ name

TString OneMinusClPlotAbs::name

Definition at line 57 of file OneMinusClPlotAbs.h.

§ plotLegend

bool OneMinusClPlotAbs::plotLegend

Definition at line 60 of file OneMinusClPlotAbs.h.

§ plotLogYMax

double OneMinusClPlotAbs::plotLogYMax

Definition at line 63 of file OneMinusClPlotAbs.h.

§ plotLogYMin

double OneMinusClPlotAbs::plotLogYMin

Definition at line 62 of file OneMinusClPlotAbs.h.

§ plotSolution

bool OneMinusClPlotAbs::plotSolution

Definition at line 61 of file OneMinusClPlotAbs.h.

§ scanners

vector<MethodAbsScan*> OneMinusClPlotAbs::scanners

Definition at line 53 of file OneMinusClPlotAbs.h.

§ title

TString OneMinusClPlotAbs::title

Definition at line 58 of file OneMinusClPlotAbs.h.

§ titlesize

int OneMinusClPlotAbs::titlesize

text size of axis titles in pixels

Definition at line 50 of file OneMinusClPlotAbs.h.


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