#include <ProfiledLikelihoodRatioTestStatExt.h>
Public Types | |
enum | OneSidedness { twoSidedDef = 0, oneSidedDef = 1, signFlipDef = 2 } |
Public Member Functions | |
virtual Double_t | Evaluate (RooAbsData &data, RooArgSet &nullPOI) |
virtual std::vector< Double_t > | Evaluate (RooAbsData &data, RooArgSet &nullPOI, const std::vector< Double_t > &rVals) |
virtual const TString | GetVarName () const |
ProfiledLikelihoodTestStatOpt (const RooArgSet &observables, RooAbsPdf &pdf, const RooArgSet *nuisances, const RooArgSet ¶ms, const RooArgSet &poi, const RooArgList &gobsParams, const RooArgList &gobs, int verbosity=0, OneSidedness oneSided=oneSidedDef) | |
void | SetOneSided (OneSidedness oneSided) |
void | setPrintLevel (Int_t level) |
Private Member Functions | |
bool | createNLL (RooAbsPdf &pdf, RooAbsData &data) |
double | minNLL (bool constrained, RooRealVar *r=0) |
Private Attributes | |
RooArgList | gobs_ |
RooArgList | gobsParams_ |
std::auto_ptr< RooAbsReal > | nll_ |
RooArgSet | nuisances_ |
OneSidedness | oneSided_ |
std::auto_ptr< RooArgSet > | params_ |
RooAbsPdf * | pdf_ |
RooArgSet | poi_ |
RooArgSet | poiParams_ |
RooArgSet | snap_ |
Int_t | verbosity_ |
Definition at line 49 of file ProfiledLikelihoodRatioTestStatExt.h.
Enumerator | |
---|---|
twoSidedDef | |
oneSidedDef | |
signFlipDef |
Definition at line 51 of file ProfiledLikelihoodRatioTestStatExt.h.
ProfiledLikelihoodTestStatOpt::ProfiledLikelihoodTestStatOpt | ( | const RooArgSet & | observables, |
RooAbsPdf & | pdf, | ||
const RooArgSet * | nuisances, | ||
const RooArgSet & | params, | ||
const RooArgSet & | poi, | ||
const RooArgList & | gobsParams, | ||
const RooArgList & | gobs, | ||
int | verbosity = 0 , |
||
OneSidedness | oneSided = oneSidedDef |
||
) |
Definition at line 117 of file ProfiledLikelihoodRatioTestStatExt.cc.
References a, dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, DBG, nuisances_, params_, pdf_, poi_, poiParams_, createTree::pp, and snap_.
|
private |
Definition at line 362 of file ProfiledLikelihoodRatioTestStatExt.cc.
References nll_, and nuisances_.
Referenced by Evaluate().
|
virtual |
Definition at line 157 of file ProfiledLikelihoodRatioTestStatExt.cc.
References gather_cfg::cout, createNLL(), DBG, runtimedef::get(), gobs_, gobsParams_, i, minNLL(), nll_, nuisances_, oneSided_, oneSidedDef, params_, pdf_, poi_, poiParams_, alignCSCRings::r, utils::setAllConstant(), signFlipDef, snap_, and std::swap().
Referenced by ProfileLikelihood::runSignificance().
|
virtual |
Definition at line 262 of file ProfiledLikelihoodRatioTestStatExt.cc.
References gather_cfg::cout, createNLL(), DBG, EPS, runtimedef::get(), gobs_, gobsParams_, i, minNLL(), nll_, nuisances_, oneSided_, oneSidedDef, params_, pdf_, poi_, alignCSCRings::r, run_regression::ret, signFlipDef, and snap_.
|
inlinevirtual |
Definition at line 61 of file ProfiledLikelihoodRatioTestStatExt.h.
|
private |
Definition at line 374 of file ProfiledLikelihoodRatioTestStatExt.cc.
References CascadeMinimizer::Constrained, CascadeMinimizer::minimize(), alignBH_cfg::mode, nll_, CascadeMinimizer::Unconstrained, and verbosity_.
Referenced by Evaluate().
|
inline |
Definition at line 66 of file ProfiledLikelihoodRatioTestStatExt.h.
References oneSided_.
|
inline |
Definition at line 64 of file ProfiledLikelihoodRatioTestStatExt.h.
References testEve_cfg::level, and verbosity_.
|
private |
Definition at line 75 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by Evaluate().
|
private |
Definition at line 75 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by Evaluate().
|
private |
Definition at line 74 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by createNLL(), Evaluate(), and minNLL().
|
private |
Definition at line 72 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by createNLL(), Evaluate(), and ProfiledLikelihoodTestStatOpt().
|
private |
Definition at line 77 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by Evaluate(), and SetOneSided().
|
private |
Definition at line 71 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by Evaluate(), and ProfiledLikelihoodTestStatOpt().
|
private |
Definition at line 69 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by Evaluate(), and ProfiledLikelihoodTestStatOpt().
|
private |
Definition at line 70 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by Evaluate(), and ProfiledLikelihoodTestStatOpt().
|
private |
Definition at line 73 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by Evaluate(), and ProfiledLikelihoodTestStatOpt().
|
private |
Definition at line 70 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by Evaluate(), and ProfiledLikelihoodTestStatOpt().
|
private |
Definition at line 76 of file ProfiledLikelihoodRatioTestStatExt.h.
Referenced by minNLL(), and setPrintLevel().