XeSetOfCuts Class Reference
Set of cuts.
More...
#include <XeAnalysis.h>
List of all members.
Detailed Description
Set of cuts.
Member Function Documentation
void XeSetOfCuts::addCut |
( |
XeCut * |
cut |
) |
|
adds one cut to the set
- Parameters:
-
| cut | the XeCut to be added |
adds one set of cutc to the current set
- Parameters:
-
| cuts | the XeSetOfCut to be added |
void XeSetOfCuts::disable |
( |
int |
i |
) |
|
disable one cut
- Parameters:
-
| i | cut index, counting from 0 |
void XeSetOfCuts::enable |
( |
int |
i, |
|
|
bool |
enabled = true | |
|
) |
| | |
enable one cut
- Parameters:
-
| i | cut index, counting from 0 |
| enabled | enable or disable |
void XeSetOfCuts::enableAll |
( |
bool |
enabled = true |
) |
|
enable one cut
- Parameters:
-
| enabled | enable or disable |
void XeSetOfCuts::enableFirst |
( |
int |
n |
) |
|
enable first n cuts, disable all the rest
- Parameters:
-
| n | how many need to be enabled |
XeCut* XeSetOfCuts::getCutByNature |
( |
int |
nat |
) |
|
get first cut of a given nature
- Returns:
- pointer to first cut of the given nature
- Parameters:
-
| nat | cut nature : USER_GENERAL_CUT , USER_SELECTION_CUT , USER_SELECTION_CUT_ON_S1 USER_SELECTION_CUT_ON_UNSMEARED_S1 , S1_STOT_SELECTION_CUT S2_PEAK_S0_SELECTION_CUT , S1_COIN2_SELECTION_CUT , DARK_MATTER_CUT |
XeCut* XeSetOfCuts::getCutBySequence |
( |
int |
i |
) |
|
Get a cut by its sequence number.
- Returns:
- pointer to the requested cut
- Parameters:
-
| i | cut index, counting from 0 |
string XeSetOfCuts::getCutNameBySequence |
( |
int |
i |
) |
|
Return name of a cut.
- Parameters:
-
| i | cut index, counting from 0 |
double XeSetOfCuts::getOverallAcceptance |
( |
|
) |
|
create the Overall Acceptance (1.
for preselection cuts);
- Returns:
- pointer to the newly created XeMultiGraph
bool XeSetOfCuts::isEnabled |
( |
int |
i |
) |
|
is a cut enabled?
- Parameters:
-
| i | cut index, counting from 0 |
static XeSetOfCuts* XeSetOfCuts::newDefaultXeSetOfDarkMatterCuts |
( |
XeRun * |
run |
) |
[static] |
create a default set of dark Matter cuts
- Returns:
- a pointer to the newly created set of dark Matter cuts
- Parameters:
-
XeMultiGraph* XeSetOfCuts::newMultiGraph |
( |
int |
plot = NONE |
) |
|
create a mutiple graph (actually XeMultiGraph) of all cuts in S1 or uS1
- Returns:
- pointer to the newly created XeMultiGraph
- Parameters:
-
| plot | either NONE, AUTO, LINEAR, or LOG |
bool XeSetOfCuts::passes |
( |
double |
s1, |
|
|
double |
s2 | |
|
) |
| | |
Do s1 and s2 pass the cut?
- Parameters:
-
bool XeSetOfCuts::printIt |
( |
int |
level = 1 |
) |
[virtual] |
The documentation for this class was generated from the following file: