XeSetOfSelectionCuts Class Reference

A set of selection cuts. More...

#include <XeAnalysis.h>

Inheritance diagram for XeSetOfSelectionCuts:
XeSetOfCuts S1S2Object XeGraphics XeObject XeCore XeCore

List of all members.

Public Member Functions

void addSelectionCut (SelectionCut *cut)
 Add a selection cut.
void addSelectionCuts (XeSetOfSelectionCuts *sc)
 Cumulate an already existing set of selection cuts.
double getAcceptance (double S1, bool smeared)
 get the overall acceptance for all cuts on either S1 or unsmeared S1
double getMaxS1 ()
 get overall max cut-value on S1
double getMinS1 ()
 get overall min cut-value on S1
SelectionCutgetSelectionCutByNature (int nature)
 get selection cut by nature
SelectionCutgetSelectionCutBySequence (int i)
 get selection cut by sequence
bool printIt (int level=1)
 print the Set of selection cuts
bool printIt (int level, vector< double > *remaining)
 print the remaining count of cuts onr by one, in a set of selection cuts
void setTheName ()
void setTValue (int i, double t)
 set the "t-value" for a given cut

Static Public Member Functions

static XeSetOfSelectionCutsnewDefault (XeRun *run)
 return a default set of selection cuts

Protected Attributes

int mode

Detailed Description

A set of selection cuts.


Member Function Documentation

void XeSetOfSelectionCuts::addSelectionCut ( SelectionCut cut  ) 

Add a selection cut.

Parameters:
cut pointer to the selection cut to be added
void XeSetOfSelectionCuts::addSelectionCuts ( XeSetOfSelectionCuts sc  ) 

Cumulate an already existing set of selection cuts.

Parameters:
sc pointer to the set of selection cuts to be cumulated
double XeSetOfSelectionCuts::getAcceptance ( double  S1,
bool  smeared 
)

get the overall acceptance for all cuts on either S1 or unsmeared S1

Parameters:
S1 either unsmeared or smeared S1, depensing on parameter
smeared are we dealing with smeared or unsmeared S1?
SelectionCut* XeSetOfSelectionCuts::getSelectionCutByNature ( int  nature  ) 

get selection cut by nature

Returns:
pointer to the desired selection cut
Parameters:
nature nature of the cnut. Can be: 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
SelectionCut* XeSetOfSelectionCuts::getSelectionCutBySequence ( int  i  ) 

get selection cut by sequence

Returns:
pointer to the desired selection cut
Parameters:
i cut sequence number, starting at 0
static XeSetOfSelectionCuts* XeSetOfSelectionCuts::newDefault ( XeRun run  )  [static]

return a default set of selection cuts

Parameters:
run The given run
bool XeSetOfSelectionCuts::printIt ( int  level = 1  )  [virtual]

print the Set of selection cuts

Parameters:
level print level

Reimplemented from XeSetOfCuts.

bool XeSetOfSelectionCuts::printIt ( int  level,
vector< double > *  remaining 
)

print the remaining count of cuts onr by one, in a set of selection cuts

Parameters:
level print level
remaing list of remaining counts (0=before, i=after cut "i-1"
void XeSetOfSelectionCuts::setTValue ( int  i,
double  t 
)

set the "t-value" for a given cut

Parameters:
i cut sequence number, starting at 0
t "t-value"

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