XeSensitivity Class Reference

Class describing one set of sensitivity: median, +/- 1 and +/- 2 sigma upper limit. More...

#include <XeStat.h>

Inheritance diagram for XeSensitivity:
XeStat XeMath XeObject XeCore XeCore

List of all members.

Public Member Functions

double getLimit (int which, int unit=SIGMA_UNIT)
 get the sensitivity
double * getLimits ()
 get the limits in SIGMA_UNIT (cm^2)
double getMass ()
 Return the mass for which the limits are computed.
double getSignalPerCm2 ()
 Return the conversion factor cm^2->events (SIGMA_UNIT -> EVENT_UNIT).
bool printIt (int level=1)
 print the object
void setLimit (int mode, double limit)
 Set one limit.
void setLimits (double *limits)
 Set all limits.
 XeSensitivity (double mass, double signalPerCm2, double *limits, string eTitle="")
 Constructor with the limits.
 XeSensitivity (double mass, double signalPerCm2, string eTitle="")
 Constructor without the limits.
 XeSensitivity ()
 Empty constuctor for ROOT.

Static Protected Member Functions

static string getTheName (double mass, string eTitle)
 Compute the name , appending the WIMP mass.

Protected Attributes

double limits [N_SENSITIVITY_MODES]
double mass
double signalPerCm2

Detailed Description

Class describing one set of sensitivity: median, +/- 1 and +/- 2 sigma upper limit.


Constructor & Destructor Documentation

XeSensitivity::XeSensitivity ( double  mass,
double  signalPerCm2,
string  eTitle = "" 
)

Constructor without the limits.

Parameters:
mass mass at which the sensitivity is measured
signalPerCm2 Number of expected events per cm^2
eTitle Name of the sensitibity (the mass will be added!)
XeSensitivity::XeSensitivity ( double  mass,
double  signalPerCm2,
double *  limits,
string  eTitle = "" 
)

Constructor with the limits.

Parameters:
mass mass at which the sensitivity is measured
signalPerCm2 Number of expected events per cm^2
limits array of upper limits for -2,1,0,+1,+2 sigmas
eTitle Name of the sensitibity (the mass will be added!)

Member Function Documentation

double XeSensitivity::getLimit ( int  which,
int  unit = SIGMA_UNIT 
)

get the sensitivity

Parameters:
which MINUS_TWO_SIGMAS , MINUS_ONE_SIGMA , MEDIAN , PLUS_ONE_SIGMA , PLUS_TWO_SIGMAS
unit wither SIGMA_UNIT or EVENT_UNIT
static string XeSensitivity::getTheName ( double  mass,
string  eTitle 
) [static, protected]

Compute the name , appending the WIMP mass.

Parameters:
mass mass
eTitle simple title
bool XeSensitivity::printIt ( int  level = 1  )  [virtual]

print the object

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

Reimplemented from XeObject.

void XeSensitivity::setLimit ( int  mode,
double  limit 
)

Set one limit.

Parameters:
more MINUS_TWO_SIGMAS , MINUS_ONE_SIGMA , MEDIAN , PLUS_ONE_SIGMA , PLUS_TWO_SIGMAS
limit Upper cross section incm^2
void XeSensitivity::setLimits ( double *  limits  ) 

Set all limits.

Parameters:
limits pointer limits for for -2,1,0,+1,+2 sigmas

Member Data Documentation

double XeSensitivity::limits[N_SENSITIVITY_MODES] [protected]

limits in SIGMA_UNIT (cm^2)

double XeSensitivity::mass [protected]

Mass at which the sensitivity is evaluated

double XeSensitivity::signalPerCm2 [protected]

conversion factor cm^2->events


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