XeStat Class Reference

Collection of static methods defining analysis methods. More...

#include <XeStat.h>

Inheritance diagram for XeStat:
XeMath XeObject XeCore XeCore CI DataSet Exclusion PValue Rejection SensitivityBands SignalAndBackground XeCombinable XeDist XeLimit XeLimits XeSensitivity XeSigmas XeSpectrum XeTest

List of all members.

Public Member Functions

 XeStat (string name)

Static Public Member Functions

static bool checkAnalysisMode (string name, int requested)
 Check the anaylsis mode and set it if neccesary.
static int getAnalysisMode ()
 Get the analysis mode.
static string getAnalysisModeName (int mode)
 Return name of a given analysis mode.
static string getAnalysisModeName ()
 Return name of current analysis mode.
static int getPrintLevel ()
 Get current print level.
static string getSigmaLabel (int unit)
 Return sigma label for a given sigma unit.
static string getSigmaLimitLabel (int unit)
 Return sigma limit label for a given sigma unit.
static int getSigmaLinLog (int unit)
 Return defaut Lin/Log mode for sigma unit.
static string getSigmaModeName (int mode)
 Return name a given mode (estimated or upper limit).
static string getSigmaUnitName (int unit)
 Return unit name for a given sigma unit.
static string getSystematicModeName (int syst)
 Return systematic error name.
static bool isAnalysisDefined (bool verbose=false)
 Check wether the AnalysisMethod has been defined.
static bool isCutsBased ()
 Is the current analysis cut based?
static bool isPL ()
 Is the current analysis profile likelihood.
static XeRangenewSigmaRange (XeRange *range=NULL, int unit=EVENT_UNIT)
 Create default range if needed.
static void setAnalysisMode (int mode)
 Set the analysis mode.
static void setPrintLevel (int level)
 Set print trace level.

Static Protected Attributes

static int analysisMode
static int printLevel

Detailed Description

Collection of static methods defining analysis methods.

Relevant flags: PL vs Cls, print Level


Member Function Documentation

static bool XeStat::checkAnalysisMode ( string  name,
int  requested 
) [static]

Check the anaylsis mode and set it if neccesary.

Parameters:
name object name to be printed in case of error
requested either NO_ANALYSIS, CUTS_ANALYSIS or PL_ANALYSIS
static int XeStat::getAnalysisMode (  )  [static]

Get the analysis mode.

Returns:
NO_ANALYSIS, CUTS_ANALYSIS or PL_ANALYSIS
static string XeStat::getAnalysisModeName ( int  mode  )  [static]

Return name of a given analysis mode.

Parameters:
mode NO_ANALYSIS , PL_ANALYSIS or CUTS_ANALYSIS
static string XeStat::getSigmaLabel ( int  unit  )  [static]

Return sigma label for a given sigma unit.

Parameters:
unit SIGMA_UNIT or EVENT_UNIT
static string XeStat::getSigmaLimitLabel ( int  unit  )  [static]

Return sigma limit label for a given sigma unit.

Parameters:
unit SIGMA_UNIT or EVENT_UNIT
static int XeStat::getSigmaLinLog ( int  unit  )  [static]

Return defaut Lin/Log mode for sigma unit.

Parameters:
unit SIGMA_UNIT or EVENT_UNIT
static string XeStat::getSigmaModeName ( int  mode  )  [static]

Return name a given mode (estimated or upper limit).

Parameters:
mode ESTIMATED or UPPER_LIMIT
static string XeStat::getSigmaUnitName ( int  unit  )  [static]

Return unit name for a given sigma unit.

Parameters:
unit SIGMA_UNIT or EVENT_UNIT
static string XeStat::getSystematicModeName ( int  syst  )  [static]

Return systematic error name.

Parameters:
syst ONE_SIGMA_BELOW, CENTRAL, or ONE_SIGMA_ABOVE
static bool XeStat::isAnalysisDefined ( bool  verbose = false  )  [static]

Check wether the AnalysisMethod has been defined.

Parameters:
verbose print a messae if not
static XeRange* XeStat::newSigmaRange ( XeRange range = NULL,
int  unit = EVENT_UNIT 
) [static]

Create default range if needed.

Does not work in SIGMA_UNIT unit mode.

Parameters:
Original range, if null will create a new range;
unit SIGMA_UNIT or EVENT_UNIT
static void XeStat::setAnalysisMode ( int  mode  )  [static]

Set the analysis mode.

Parameters:
mode must be either CUTS_ANALYSIS or PL_ANALYSIS
static void XeStat::setPrintLevel ( int  level  )  [static]

Set print trace level.

Parameters:
level print level

The documentation for this class was generated from the following file:
 All Classes Functions Variables

Generated on 10 Apr 2015 for Xephyr by  doxygen 1.6.1