XeCore Class Reference

A collection of static methods for general handling. More...

#include <XeCore.h>

Inheritance diagram for XeCore:
XeGraphics XeMath XeObject XeTest XeTool S1S2Display S1S2Object XeSpectrum XeStyle XeStylized DetectorComponent integrable solvable SuhonenTable XeInterpolation XePhysics XeRange XeStat XeTolerance DetectorComponent Flattener S1S2Object XeBins XePhysics XeRange XeSigma XeStat XeStyle XeStylized XeTable XeTopObject XeValues MethodCounter stopper

List of all members.

Static Public Member Functions

static string addASpace (string s)
static vector< double > decodeVector (string text)
static void displayFlag (string title, int tab, string what, bool def)
static void displayFlag (string tit, int tab, double val, double def)
static void displayFlag (string title, int tab, int value, int def)
static void displayFlag (string title, int tab, bool value, bool def)
static string doOrDont (bool b)
static bool doWarn ()
static bool fileExists (string path)
static void fillHist (TH1 *h, vector< double > &v)
 Fill an histogram with a vector of double.
static string formatF (double v, int w=1, int p=1)
static string formatG (double v, int w=1, int p=1)
static string formatI (int v, int w=1, int trailer=0)
static string formatLatex (double v, int p=1)
static string formatLF (double v, int w=1, int p=1)
static string formatLG (double v, int w=1, int p=1)
static string formatLI (int v, int w=1, int p=1)
static string formatRF (double v, int w=1, int p=1)
static string formatRG (double v, int w=1, int p=1)
static string formatRI (int v, int w=1, int p=1)
static TH1F * getCumulated (TH1F *h)
 Cumulates a 1-dim histogram, bin by bin.
static int getDebugLevel ()
 Return debug level.
static string getEdgeName (int e)
static int getTraceLevel ()
 Return trace level.
static bool initializeCore ()
static bool isALaTeXChar (char c)
static bool isALaTeXName (string s)
static string justify (string s, int w, bool left, bool trim)
static string leftJustify (string s, int w, bool trim=false)
static string lowerCase (string s)
static string makeItAFileName (string s)
static string makeItALaTeXName (string s)
static string removeHeader (string original, string header)
static string replaceBlanks (string s)
static string replaceParentheses (string s)
static string replaceSlashes (string s)
static void resetPrecision ()
static void restoreObjects (string fileName)
 Restore all Xephyr objects from a file (still not working).
static void restoreWarnings ()
static string rightJustify (string s, int w, bool trim=false)
static void saveObjects (string fileName)
 Save all Xephyr objects to a new file (still not working).
static void saveWarnings ()
static void setDebugLevel (int l)
 set debug level
static void setTraceLevel (int l)
 set trace level
static void showTheReferences (bool show=true)
 Switch the "show references" flag on/off.
static void showWarnings (bool show=true)
 Re-enables warnings.
static void suppressWarnings (bool suppress=true)
 Suppress warnings.
static string trim (string s)
static string upperCase (string s)
static string yesOrNo (bool b)

Static Protected Attributes

static bool coreInitialized
static int debugLevel
static stoppermainStopper
static bool savedWarnings
static int traceLevel
static bool withWarnings

Detailed Description

A collection of static methods for general handling.


Member Function Documentation

static TH1F* XeCore::getCumulated ( TH1F *  h  )  [static]

Cumulates a 1-dim histogram, bin by bin.

Returns:
Pointer to the cumulated histogram
Parameters:
h original histogram
static void XeCore::restoreObjects ( string  fileName  )  [static]

Restore all Xephyr objects from a file (still not working).

Parameters:
fileName Name of the file
static void XeCore::saveObjects ( string  fileName  )  [static]

Save all Xephyr objects to a new file (still not working).

Parameters:
fileName Name of the file
static void XeCore::setDebugLevel ( int  l  )  [static]

set debug level

Parameters:
l level
static void XeCore::setTraceLevel ( int  l  )  [static]

set trace level

Parameters:
l 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