SensitivityBands Class Reference

Describing the median, +/- 1 and +/- 2 sigma upper limits bands. More...

#include <XeStat.h>

Inheritance diagram for SensitivityBands:
XeStat XeStylized XeMath XeObject XeGraphics XeObject XeCore XeCore XeCore XeCore

List of all members.

Public Member Functions

void add (double mass, double signalPerCm2, double *limits)
 Add an entry.
void add (XeSensitivity *sensitivity)
 Add a sensitivity entry.
void draw (string options="C", int unit=SIGMA_UNIT)
 draw the sensitivity bands in either sigma or events limits
double getMaxX ()
 Return max X.
double getMaxY ()
 Return max Y.
double getMinX ()
 Return min X.
double getMinY ()
 Return min Y.
double getMinYNotZero ()
 Return min Y when different from 0, for plots in log scale.
XeGraphnewGraph (int which, int unit=SIGMA_UNIT)
 get the graph of one sensitivity curve
XeMultiGraphnewMultiGraph (int unit=SIGMA_UNIT)
 get the multigraph of all sensitivity curves
TPolyLine * newPolygon (int low, int high, int unit)
 Draw a part of the brazilian flag.
bool printIt (int level=1)
 print the object
void read (string fName)
 Read for a flat file.
 SensitivityBands (string runName)
 Regular constructor.
 SensitivityBands ()
 Empty constructor for ROOT.

Static Public Member Functions

static string bandName (int which)
 Return band name.
static int lineStyle (int which)
 Return line style.
static double numberOfSigmas (int which)
 Return number of sigmas.

Detailed Description

Describing the median, +/- 1 and +/- 2 sigma upper limits bands.


Constructor & Destructor Documentation

SensitivityBands::SensitivityBands ( string  runName  ) 

Regular constructor.

Parameters:
runName Name of sensitivity bands

Member Function Documentation

void SensitivityBands::add ( double  mass,
double  signalPerCm2,
double *  limits 
)

Add an entry.

Parameters:
mass WIMP mass for which it was evaluated
signalPerCm2 conversion factor cm^2->events
limits pointer to table of limits
void SensitivityBands::add ( XeSensitivity sensitivity  ) 

Add a sensitivity entry.

Parameters:
sensitivity Pointer to sensitivity
static string SensitivityBands::bandName ( int  which  )  [static]

Return band name.

Parameters:
which MINUS_TWO_SIGMAS , MINUS_ONE_SIGMA , MEDIAN , PLUS_ONE_SIGMA , PLUS_TWO_SIGMAS
void SensitivityBands::draw ( string  options = "C",
int  unit = SIGMA_UNIT 
) [virtual]

draw the sensitivity bands in either sigma or events limits

Parameters:
unit either SIGMA_UNIT or EVENT_UNIT

Implements XeStylized.

static int SensitivityBands::lineStyle ( int  which  )  [static]

Return line style.

Parameters:
which MINUS_TWO_SIGMAS , MINUS_ONE_SIGMA , MEDIAN , PLUS_ONE_SIGMA , PLUS_TWO_SIGMAS
XeGraph* SensitivityBands::newGraph ( int  which,
int  unit = SIGMA_UNIT 
)

get the graph of one sensitivity curve

Parameters:
which which band MINUS_RWO_SIGMAS,MINUS_ONE_SIGMA,CENTRAL, PLUS_ONE_SIGMA,PLUS_TWO_SIGMAS
unit either SIGMA_UNIT or EVENT_UNIT
XeMultiGraph* SensitivityBands::newMultiGraph ( int  unit = SIGMA_UNIT  ) 

get the multigraph of all sensitivity curves

Parameters:
unit either SIGMA_UNIT or EVENT_UNIT
TPolyLine* SensitivityBands::newPolygon ( int  low,
int  high,
int  unit 
)

Draw a part of the brazilian flag.

Parameters:
low index of the lower part of the part
high index of the upper part of the part
unit either SIGMA_UNIT or EVENT_UNIT
static double SensitivityBands::numberOfSigmas ( int  which  )  [static]

Return number of sigmas.

Parameters:
which MINUS_TWO_SIGMAS , MINUS_ONE_SIGMA , MEDIAN , PLUS_ONE_SIGMA , PLUS_TWO_SIGMAS
bool SensitivityBands::printIt ( int  level = 1  )  [virtual]

print the object

Parameters:
level print level (0-> no print)

Reimplemented from XeObject.


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