Class for electron background model. More...
#include <XeAnalysis.h>
Public Member Functions | |
virtual S1S2Bands * | computeAnomalousBands ()=0 |
return Bands for anomalous background | |
ElectronBackgroundModel () | |
No arg constructor for root. | |
ElectronBackgroundModel (string name, XeRun *run, int requested) | |
constructor | |
double | getAnomalousSlope () |
return S1 slope of anomalous background | |
double | getExpectedAnomalous () |
return expected anomalous background | |
double | getExpectedGaussian () |
return expected gaussian background | |
bool | isERGaussianFlatInS1 () |
Is ER Gaussian S1 distribution flat ? | |
virtual bool | printIt (int level=1) |
print details of background estimation | |
void | setAnomalousSlope (double slope) |
set value of exponential slope in S1 anomalous | |
void | setERGaussianFlatInS1 (bool flat) |
Set ER Gaussian S1 distribution be flat. | |
void | setExpectedAnomalous (double exp) |
set value of expected anomalous backgound | |
void | setExpectedGaussian (double exp) |
set value of expected gaussian backgound | |
Static Public Member Functions | |
static ElectronBackgroundModel * | newDefault (XeRun *run) |
return a default model for a given run | |
Protected Attributes | |
double | anomalousExpected |
double | anomalousSlope |
bool | ERGaussianFlatInS1 |
double | gaussianExpected |
double | meanCo60 |
double | normCo60 |
double | sigmaCo60 |
Class for electron background model.
ElectronBackgroundModel::ElectronBackgroundModel | ( | string | name, | |
XeRun * | run, | |||
int | requested | |||
) |
constructor
name | Name of the model | |
run | XeRun on which the model is applied | |
requested | requested analysis mode: |
static ElectronBackgroundModel* ElectronBackgroundModel::newDefault | ( | XeRun * | run | ) | [static] |
return a default model for a given run
runNumber | The given run number |
virtual bool ElectronBackgroundModel::printIt | ( | int | level = 1 |
) | [virtual] |
print details of background estimation
level | detail level |
Reimplemented from XeObject.
Reimplemented in SimplisticERBackground, SimpleERBackground, and PublishedElectronBackground.
void ElectronBackgroundModel::setAnomalousSlope | ( | double | slope | ) |
set value of exponential slope in S1 anomalous
slope | expected anomalous background (<=0: uniform) |
void ElectronBackgroundModel::setERGaussianFlatInS1 | ( | bool | flat | ) |
Set ER Gaussian S1 distribution be flat.
flat | do we want it flat? |
void ElectronBackgroundModel::setExpectedAnomalous | ( | double | exp | ) |
set value of expected anomalous backgound
exp | expected anomalous background |
void ElectronBackgroundModel::setExpectedGaussian | ( | double | exp | ) |
set value of expected gaussian backgound
exp | expected gaussian background |
double ElectronBackgroundModel::anomalousExpected [protected] |
Expected anomalous leakage
double ElectronBackgroundModel::anomalousSlope [protected] |
S1 slope of anomalous leakage
bool ElectronBackgroundModel::ERGaussianFlatInS1 [protected] |
Do we want Er Gaussian S1 dist. be flat?
double ElectronBackgroundModel::gaussianExpected [protected] |
Expected gaussian leakage
double ElectronBackgroundModel::meanCo60 [protected] |
Average of flattened S2/S1
double ElectronBackgroundModel::normCo60 [protected] |
Normalization of Co60 runs
double ElectronBackgroundModel::sigmaCo60 [protected] |
Sigma of flattened S1/S1