pvalue for S1S2 Profile Likelihood More...
#include <XeAnalysis.h>
Public Member Functions | |
double | computeTheLogLikelihood () |
Compute the Log Likelihood. | |
void | exclusionComputed () |
Things to be done Post exclusion finder. | |
void | fitLEffTValue (bool fit=DEFAULT_PAR_LEFF_TVALUE_FIT) |
set the flag to fit LEff t-value | |
void | fitStatBkgTValue (bool fit=DEFAULT_PAR_STAT_BKG_FIT) |
set the flag to fit the systematic background t-value | |
void | fitSystBkgTValue (bool fit=DEFAULT_PAR_SYST_BKG_FIT) |
set the flag to fit the systematic background t-value | |
double | getDLEffTValueForExclusion () |
get Delta LEff t-value at exclusion | |
double * | getDStatBkgTValueForExclusion () |
get Delta Background statistical t-value at exclusion | |
double | getDSystBkgTValueForExclusion () |
get Delta Background systematic t-value at exclusion | |
double | getLEffTValueForExclusion () |
get LEff t-value at exclusion | |
LKParameter * | getLEffTValueParameter () |
get the LEff t-value parameter | |
double | getSigmaForExclusion () |
get the cross section at exclusion | |
LKParameter * | getSigmaParameter () |
get the background sigma parameter | |
double * | getStatBkgTValueForExclusion () |
get Background statistical t-value at exclusion | |
LKParameter ** | getStatBkgTValueParameters () |
get the statistical background t-value parameters | |
double | getSystBkgSigma () |
get effect of one systematic sigma in background | |
double | getSystBkgTValueForExclusion () |
get Background systematic t-value at exclusion | |
LKParameter * | getSystBkgTValueParameter () |
get the systematic background t-value parameter | |
double | nSignalPerCm2 () |
return expected number of signal events for 1 cm2 cross section | |
double | nSignalPerCm2 (double lt) |
return expected number of signal events for 1 cm2 cross section | |
void | printFlagsAndParameters () |
print the values of flags (fit LEff, fit Bkg, with S1 Likelihood. | |
bool | printIt (int level=1) |
print current values | |
S1S2PL (XeRun *run) | |
void | setDefaults () |
set the flags (fit LEff, fit Bkg, with S1 Likelihood. | |
void | setSystBkgSigma (double sigma) |
set effect of one systematic sigma in background | |
void | setWimpMass (double mass) |
Set the wimp mass and trigger the new for a new S1 spectrum computation. | |
bool | simulate (double sigma=0.) |
Simulate an outcome. | |
bool | update () |
Fill internal tables from the run band content. | |
void | withS1Likelihood (bool s1=DEFAULT_S1_LIKELIHOOD) |
Set the flag "with or without" S1 shape likelihhod. | |
Public Attributes | |
STATIC_CONST bool | DEFAULT_PAR_LEFF_TVALUE_FIT = true |
STATIC_CONST bool | DEFAULT_PAR_STAT_BKG_FIT = false |
STATIC_CONST bool | DEFAULT_PAR_SYST_BKG_FIT = false |
STATIC_CONST bool | DEFAULT_S1_LIKELIHOOD = true |
Protected Attributes | |
double | bandContents [N_SHAPES+1][N_MAX_BANDS] |
vector< int > * | dataS1Bins [N_MAX_BANDS] |
double * | dists [N_SHAPES] |
double | DLEffTValueForExclusion |
double | DStatBkgTValueForExclusion [N_MAX_BANDS] |
double | DSystBkgTValueForExclusion |
bool | isLEffTValueFit |
bool | isStatBkgTValueFit |
bool | isSystBkgTValueFit |
double | lastS1Likelihood |
LKParameter * | le |
double | LEffTValueForExclusion |
LKParameter * | lkStatBkgs [N_MAX_BANDS] |
LKParameter * | lkSystBkg |
LKParameter * | ls |
int | nBands |
XeRun * | run |
bool | S1Likelihood |
double | SigmaForExclusion |
double | StatBkgSigmas [N_MAX_BANDS] |
double | StatBkgTValueForExclusion [N_MAX_BANDS] |
double | SystBkgSigma |
double | SystBkgTValueForExclusion |
pvalue for S1S2 Profile Likelihood
S1S2PL::S1S2PL | ( | XeRun * | run | ) |
run | The run (real or simulated) from which data are takem |
double S1S2PL::computeTheLogLikelihood | ( | ) | [virtual] |
Compute the Log Likelihood.
none | (all parameters are set thru LKParameter) |
Implements Likelihood.
void S1S2PL::fitLEffTValue | ( | bool | fit = DEFAULT_PAR_LEFF_TVALUE_FIT |
) |
void S1S2PL::fitStatBkgTValue | ( | bool | fit = DEFAULT_PAR_STAT_BKG_FIT |
) |
set the flag to fit the systematic background t-value
fit | Flag specifying whether systematic Bkg should be considered as a nuisance parameter |
void S1S2PL::fitSystBkgTValue | ( | bool | fit = DEFAULT_PAR_SYST_BKG_FIT |
) |
set the flag to fit the systematic background t-value
fit | Flag specifying whether systematic Bkg should be considered as a nuisance parameter |
double S1S2PL::nSignalPerCm2 | ( | double | lt | ) |
return expected number of signal events for 1 cm2 cross section
lt | L-Eff t-value |
void S1S2PL::printFlagsAndParameters | ( | ) | [virtual] |
print the values of flags (fit LEff, fit Bkg, with S1 Likelihood.
..)
Reimplemented from ProfileLikelihood.
bool S1S2PL::printIt | ( | int | level = 1 |
) | [virtual] |
void S1S2PL::setDefaults | ( | ) |
set the flags (fit LEff, fit Bkg, with S1 Likelihood.
..) to their default values
void S1S2PL::setWimpMass | ( | double | mass | ) | [virtual] |
Set the wimp mass and trigger the new for a new S1 spectrum computation.
mass | the new WIMP mass, in GeV/c2 |
Reimplemented from PValue.
void S1S2PL::withS1Likelihood | ( | bool | s1 = DEFAULT_S1_LIKELIHOOD |
) |
Set the flag "with or without" S1 shape likelihhod.
s1 | Flag specifying whether the shape of S1 distribution enters the likelihood |
double S1S2PL::bandContents[N_SHAPES+1][N_MAX_BANDS] [protected] |
band counts for data, signal and bkg
vector<int>* S1S2PL::dataS1Bins[N_MAX_BANDS] [protected] |
List of S1s in data bands
double* S1S2PL::dists[N_SHAPES] [protected] |
S1 distribution for various backgrounds
double S1S2PL::DLEffTValueForExclusion [protected] |
Error on LEff t-value for exclusion
double S1S2PL::DStatBkgTValueForExclusion[N_MAX_BANDS] [protected] |
Error on background stat. tvalue for exclusion
double S1S2PL::DSystBkgTValueForExclusion [protected] |
Error on background systematic tvalue for exclusion
bool S1S2PL::isLEffTValueFit [protected] |
Do we want to fit LEff t-value?
bool S1S2PL::isStatBkgTValueFit [protected] |
Do we want to fit background stat t-value?
bool S1S2PL::isSystBkgTValueFit [protected] |
Do we want to fit background syst t-value?
double S1S2PL::lastS1Likelihood [protected] |
last value of S1 shape likelihood
LKParameter* S1S2PL::le [protected] |
pointer to likelihood LEff parameter
double S1S2PL::LEffTValueForExclusion [protected] |
Value of LEff t-value for exclusion
LKParameter* S1S2PL::lkStatBkgs[N_MAX_BANDS] [protected] |
pointers to likelihood background in band t-value parameter
LKParameter* S1S2PL::lkSystBkg [protected] |
pointer to likelihood background parameter
LKParameter* S1S2PL::ls [protected] |
pointer to likelihood sigma parameter
int S1S2PL::nBands [protected] |
Number of bands
XeRun* S1S2PL::run [protected] |
pointer to current XeRun
bool S1S2PL::S1Likelihood [protected] |
Fit shape of S1 spectrum ?
double S1S2PL::SigmaForExclusion [protected] |
Value of fitted Sigma for exclusion
double S1S2PL::StatBkgSigmas[N_MAX_BANDS] [protected] |
How much corresponds to one sigma in stat background/band
double S1S2PL::StatBkgTValueForExclusion[N_MAX_BANDS] [protected] |
Value of background stat. tvalue for exclusion
double S1S2PL::SystBkgSigma [protected] |
How much corresponds to one sigma in systematic background
double S1S2PL::SystBkgTValueForExclusion [protected] |
Value of background systematic tvalue for exclusion