SelectionCut Class Reference
Selection cut.
More...
#include <XeAnalysis.h>
List of all members.
Public Member Functions |
double | getAcceptance (double S1, double t) |
| Return the acceptance as a function of (un)smeared S1.
|
double | getAcceptance (double S1) |
| Return the acceptance as a function of (un)smeared S1 for the central value.
|
XeRun * | getRun () |
| Return pointer to current XeRun.
|
int | getSmearMode () |
| Are we in smeared or unsmeared mode?
|
string | getSmearModeName () |
| get the name of the smear mode ("smeared", "unsemared")
|
double | getTValue () |
| return the currently set "t-value"
|
bool | isVariable () |
| Is this cut driven by a "t-value" ?
|
XeGraph * | newGraphOfAcceptance (S1Range *pe=NULL, double t=0., int plot=NONE) |
| create a graph of the acceptance
|
XeGraph * | newGraphOfCurrentAcceptance (S1Range *pe=NULL, int plot=NONE) |
| create a graph of the acceptance for the current t-value
|
bool | printIt (int level=1) |
| print the selection cut
|
| SelectionCut (XeRun *run, int mode, bool variable) |
void | setTValue (double t) |
| set "t-value" (how many sigmas are we above or below the average?)
|
void | tabulate () |
Static Public Member Functions |
static void | setTValueMode (int mode) |
| Set the effect of the "t-value".
|
Protected Member Functions |
virtual double | computeAcceptance (double S1, int mode)=0 |
double | getAcceptance (double S1, int mode) |
Protected Attributes |
double | _acc [N_ER_POINTS][N_SIGMA_MODES] |
int | smearMode |
bool | tabulated |
double | tValue |
bool | variable |
Static Protected Attributes |
static int | tValueMode |
Detailed Description
Selection cut.
Also a virtual class
Constructor & Destructor Documentation
SelectionCut::SelectionCut |
( |
XeRun * |
run, |
|
|
int |
mode, |
|
|
bool |
variable | |
|
) |
| | |
- Parameters:
-
| run | XeRun on which this applies |
| mode | either SELECTION_CUT_ON_UNSMEARED_S1 or SELECTION_CUT_ON_SMEARED_S1 |
| variable | whether the acceptance can be modified by a nuisance parameter |
Member Function Documentation
double SelectionCut::getAcceptance |
( |
double |
S1, |
|
|
double |
t | |
|
) |
| | |
Return the acceptance as a function of (un)smeared S1.
- Parameters:
-
| S1 | (un)smeared s1 |
| t | "t-value" |
double SelectionCut::getAcceptance |
( |
double |
S1 |
) |
|
Return the acceptance as a function of (un)smeared S1 for the central value.
- Parameters:
-
int SelectionCut::getSmearMode |
( |
|
) |
|
Are we in smeared or unsmeared mode?
- Returns:
- SELECTION_CUT_UNKNOWN , SELECTION_CUT_ON_UNSMEARED_S1 , SELECTION_CUT_ON_SMEARED_S1
XeGraph* SelectionCut::newGraphOfAcceptance |
( |
S1Range * |
pe = NULL , |
|
|
double |
t = 0. , |
|
|
int |
plot = NONE | |
|
) |
| | |
create a graph of the acceptance
- Returns:
- a pointer to the newly created XeGraph
- Parameters:
-
| pe | Range in photo electron (actually S1Range, NULL=default one) |
| t | Nuisance parameter modifying the acceptance, in sigma equivalent |
| plot | either NONE, AUTO, LINEAR, or LOG |
XeGraph* SelectionCut::newGraphOfCurrentAcceptance |
( |
S1Range * |
pe = NULL , |
|
|
int |
plot = NONE | |
|
) |
| | |
create a graph of the acceptance for the current t-value
- Returns:
- a pointer to the newly created XeGraph
- Parameters:
-
| pe | Range in photo electron (actually S1Range, NULL=default one) |
| plot | either NONE, AUTO, LINEAR, or LOG |
bool SelectionCut::printIt |
( |
int |
level = 1 |
) |
[virtual] |
print the selection cut
- Parameters:
-
Reimplemented from XeObject.
void SelectionCut::setTValue |
( |
double |
t |
) |
|
set "t-value" (how many sigmas are we above or below the average?)
- Parameters:
-
static void SelectionCut::setTValueMode |
( |
int |
mode |
) |
[static] |
Set the effect of the "t-value".
- Parameters:
-
| mode | either LINEAR or LOG |
The documentation for this class was generated from the following file: