TRolke Class Reference

#include <TRolke.h>

Inheritance diagram for TRolke:

TObject TObject List of all members.

Public Member Functions

 TRolke (Double_t CL=0.9, Option_t *option="")
virtual ~TRolke ()
Double_t GetCL () const
void SetCL (Double_t CL)
void SetCLSigmas (Double_t CLsigmas)
void SetPoissonBkgBinomEff (Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m)
void SetPoissonBkgGaussEff (Int_t x, Int_t y, Double_t em, Double_t tau, Double_t sde)
void SetGaussBkgGaussEff (Int_t x, Double_t bm, Double_t em, Double_t sde, Double_t sdb)
void SetPoissonBkgKnownEff (Int_t x, Int_t y, Double_t tau, Double_t e)
void SetGaussBkgKnownEff (Int_t x, Double_t bm, Double_t sdb, Double_t e)
void SetKnownBkgBinomEff (Int_t x, Int_t z, Int_t m, Double_t b)
void SetKnownBkgGaussEff (Int_t x, Double_t em, Double_t sde, Double_t b)
Double_t CalculateInterval (Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Double_t e, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m)
bool GetLimits (Double_t &low, Double_t &high)
Double_t GetUpperLimit ()
Double_t GetLowerLimit ()
bool GetSensitivity (Double_t &low, Double_t &high, Double_t pPrecision=0.00001)
bool GetLimitsQuantile (Double_t &low, Double_t &high, Int_t &out_x, Double_t integral=0.5)
bool GetLimitsML (Double_t &low, Double_t &high, Int_t &out_x)
bool GetCriticalNumber (Int_t &ncrit, Int_t maxtry=-1)
bool GetBounding () const
void SetBounding (const bool bnd)
void SetSwitch (bool bnd)
void Print (Option_t *) const
 TRolke (Double_t CL=0.9, Option_t *option="")
virtual ~TRolke ()
Double_t GetCL () const
void SetCL (Double_t CL)
void SetCLSigmas (Double_t CLsigmas)
void SetPoissonBkgBinomEff (Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m)
void SetPoissonBkgGaussEff (Int_t x, Int_t y, Double_t em, Double_t tau, Double_t sde)
void SetGaussBkgGaussEff (Int_t x, Double_t bm, Double_t em, Double_t sde, Double_t sdb)
void SetPoissonBkgKnownEff (Int_t x, Int_t y, Double_t tau, Double_t e)
void SetGaussBkgKnownEff (Int_t x, Double_t bm, Double_t sdb, Double_t e)
void SetKnownBkgBinomEff (Int_t x, Int_t z, Int_t m, Double_t b)
void SetKnownBkgGaussEff (Int_t x, Double_t em, Double_t sde, Double_t b)
Double_t CalculateInterval (Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Double_t e, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m)
bool GetLimits (Double_t &low, Double_t &high)
Double_t GetUpperLimit ()
Double_t GetLowerLimit ()
bool GetSensitivity (Double_t &low, Double_t &high, Double_t pPrecision=0.00001)
bool GetLimitsQuantile (Double_t &low, Double_t &high, Int_t &out_x, Double_t integral=0.5)
bool GetLimitsML (Double_t &low, Double_t &high, Int_t &out_x)
bool GetCriticalNumber (Int_t &ncrit, Int_t maxtry=-1)
bool GetBounding () const
void SetBounding (const bool bnd)
void SetSwitch (bool bnd)
void Print (Option_t *) const

Private Member Functions

Double_t Interval (Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Double_t e, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m)
Double_t Likelihood (Double_t mu, Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m, Int_t what)
Double_t EvalLikeMod1 (Double_t mu, Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m, Int_t what)
Double_t LikeMod1 (Double_t mu, Double_t b, Double_t e, Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m)
void ProfLikeMod1 (Double_t mu, Double_t &b, Double_t &e, Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m)
Double_t LikeGradMod1 (Double_t e, Double_t mu, Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m)
Double_t EvalLikeMod2 (Double_t mu, Int_t x, Int_t y, Double_t em, Double_t sde, Double_t tau, Int_t what)
Double_t LikeMod2 (Double_t mu, Double_t b, Double_t e, Int_t x, Int_t y, Double_t em, Double_t tau, Double_t v)
Double_t EvalLikeMod3 (Double_t mu, Int_t x, Double_t bm, Double_t em, Double_t sde, Double_t sdb, Int_t what)
Double_t LikeMod3 (Double_t mu, Double_t b, Double_t e, Int_t x, Double_t bm, Double_t em, Double_t u, Double_t v)
Double_t EvalLikeMod4 (Double_t mu, Int_t x, Int_t y, Double_t tau, Int_t what)
Double_t LikeMod4 (Double_t mu, Double_t b, Int_t x, Int_t y, Double_t tau)
Double_t EvalLikeMod5 (Double_t mu, Int_t x, Double_t bm, Double_t sdb, Int_t what)
Double_t LikeMod5 (Double_t mu, Double_t b, Int_t x, Double_t bm, Double_t u)
Double_t EvalLikeMod6 (Double_t mu, Int_t x, Int_t z, Double_t b, Int_t m, Int_t what)
Double_t LikeMod6 (Double_t mu, Double_t b, Double_t e, Int_t x, Int_t z, Int_t m)
Double_t EvalLikeMod7 (Double_t mu, Int_t x, Double_t em, Double_t sde, Double_t b, Int_t what)
Double_t LikeMod7 (Double_t mu, Double_t b, Double_t e, Int_t x, Double_t em, Double_t v)
Double_t LogFactorial (Int_t n)
Double_t ComputeInterval (Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Double_t e, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m)
void SetModelParameters (Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Double_t e, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m)
void SetModelParameters ()
Double_t GetBackground ()
Double_t Interval (Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Double_t e, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m)
Double_t Likelihood (Double_t mu, Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m, Int_t what)
Double_t EvalLikeMod1 (Double_t mu, Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m, Int_t what)
Double_t LikeMod1 (Double_t mu, Double_t b, Double_t e, Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m)
void ProfLikeMod1 (Double_t mu, Double_t &b, Double_t &e, Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m)
Double_t LikeGradMod1 (Double_t e, Double_t mu, Int_t x, Int_t y, Int_t z, Double_t tau, Int_t m)
Double_t EvalLikeMod2 (Double_t mu, Int_t x, Int_t y, Double_t em, Double_t sde, Double_t tau, Int_t what)
Double_t LikeMod2 (Double_t mu, Double_t b, Double_t e, Int_t x, Int_t y, Double_t em, Double_t tau, Double_t v)
Double_t EvalLikeMod3 (Double_t mu, Int_t x, Double_t bm, Double_t em, Double_t sde, Double_t sdb, Int_t what)
Double_t LikeMod3 (Double_t mu, Double_t b, Double_t e, Int_t x, Double_t bm, Double_t em, Double_t u, Double_t v)
Double_t EvalLikeMod4 (Double_t mu, Int_t x, Int_t y, Double_t tau, Int_t what)
Double_t LikeMod4 (Double_t mu, Double_t b, Int_t x, Int_t y, Double_t tau)
Double_t EvalLikeMod5 (Double_t mu, Int_t x, Double_t bm, Double_t sdb, Int_t what)
Double_t LikeMod5 (Double_t mu, Double_t b, Int_t x, Double_t bm, Double_t u)
Double_t EvalLikeMod6 (Double_t mu, Int_t x, Int_t z, Double_t b, Int_t m, Int_t what)
Double_t LikeMod6 (Double_t mu, Double_t b, Double_t e, Int_t x, Int_t z, Int_t m)
Double_t EvalLikeMod7 (Double_t mu, Int_t x, Double_t em, Double_t sde, Double_t b, Int_t what)
Double_t LikeMod7 (Double_t mu, Double_t b, Double_t e, Int_t x, Double_t em, Double_t v)
Double_t LogFactorial (Int_t n)
Double_t ComputeInterval (Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Double_t e, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m)
void SetModelParameters (Int_t x, Int_t y, Int_t z, Double_t bm, Double_t em, Double_t e, Int_t mid, Double_t sde, Double_t sdb, Double_t tau, Double_t b, Int_t m)
void SetModelParameters ()
Double_t GetBackground ()

Static Private Member Functions

static Double_t EvalPolynomial (Double_t x, const Int_t coef[], Int_t N)
static Double_t EvalMonomial (Double_t x, const Int_t coef[], Int_t N)
static Double_t EvalPolynomial (Double_t x, const Int_t coef[], Int_t N)
static Double_t EvalMonomial (Double_t x, const Int_t coef[], Int_t N)

Private Attributes

Double_t fCL
Double_t fUpperLimit
Double_t fLowerLimit
bool fBounding
Int_t fNumWarningsDeprecated1
Int_t fNumWarningsDeprecated2
Int_t f_x
Int_t f_y
Int_t f_z
Double_t f_bm
Double_t f_em
Double_t f_e
Int_t f_mid
Double_t f_sde
Double_t f_sdb
Double_t f_tau
Double_t f_b
Int_t f_m

Detailed Description

Definition at line 33 of file TRolke.h.


Constructor & Destructor Documentation

TRolke::TRolke ( Double_t  CL = 0.9,
Option_t option = "" 
)

TRolke::~TRolke (  )  [virtual]

Definition at line 212 of file TRolke.cxx.

TRolke::TRolke ( Double_t  CL = 0.9,
Option_t option = "" 
)

virtual TRolke::~TRolke (  )  [virtual]


Member Function Documentation

Double_t TRolke::Interval ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Double_t  e,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m 
) [private]

Definition at line 731 of file TRolke.cxx.

References TMath::ChisquareQuantile(), fBounding, fCL, fLowerLimit, fUpperLimit, high, i, l, Likelihood(), low, TMath::Max(), and test().

Referenced by ComputeInterval().

Double_t TRolke::Likelihood ( Double_t  mu,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m,
Int_t  what 
) [private]

Definition at line 921 of file TRolke.cxx.

References EvalLikeMod1(), EvalLikeMod2(), EvalLikeMod3(), EvalLikeMod4(), EvalLikeMod5(), EvalLikeMod6(), EvalLikeMod7(), and f_mid.

Referenced by Interval().

Double_t TRolke::EvalLikeMod1 ( Double_t  mu,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m,
Int_t  what 
) [private]

Definition at line 953 of file TRolke.cxx.

References b, LikeMod1(), and ProfLikeMod1().

Referenced by Likelihood().

Double_t TRolke::LikeMod1 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m 
) [private]

Definition at line 994 of file TRolke.cxx.

References TMath::Log(), LogFactorial(), and s.

Referenced by EvalLikeMod1().

void TRolke::ProfLikeMod1 ( Double_t  mu,
Double_t b,
Double_t e,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m 
) [private]

Definition at line 1021 of file TRolke.cxx.

References high, i, LikeGradMod1(), low, TMath::Max(), and TMath::Sqrt().

Referenced by EvalLikeMod1().

Double_t TRolke::LikeGradMod1 ( Double_t  e,
Double_t  mu,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m 
) [private]

Definition at line 1056 of file TRolke.cxx.

References b.

Referenced by ProfLikeMod1().

Double_t TRolke::EvalLikeMod2 ( Double_t  mu,
Int_t  x,
Int_t  y,
Double_t  em,
Double_t  sde,
Double_t  tau,
Int_t  what 
) [private]

Definition at line 1069 of file TRolke.cxx.

References b, LikeMod2(), and TMath::RootsCubic().

Referenced by Likelihood().

Double_t TRolke::LikeMod2 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Int_t  y,
Double_t  em,
Double_t  tau,
Double_t  v 
) [private]

Definition at line 1117 of file TRolke.cxx.

References TMath::Log(), LogFactorial(), and s.

Referenced by EvalLikeMod2().

Double_t TRolke::EvalLikeMod3 ( Double_t  mu,
Int_t  x,
Double_t  bm,
Double_t  em,
Double_t  sde,
Double_t  sdb,
Int_t  what 
) [private]

Definition at line 1135 of file TRolke.cxx.

References b, LikeMod3(), TMath::Sqrt(), and u.

Referenced by Likelihood().

Double_t TRolke::LikeMod3 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Double_t  bm,
Double_t  em,
Double_t  u,
Double_t  v 
) [private]

Definition at line 1185 of file TRolke.cxx.

References TMath::Log(), LogFactorial(), and s.

Referenced by EvalLikeMod3().

Double_t TRolke::EvalLikeMod4 ( Double_t  mu,
Int_t  x,
Int_t  y,
Double_t  tau,
Int_t  what 
) [private]

Definition at line 1203 of file TRolke.cxx.

References b, LikeMod4(), and sqrt().

Referenced by Likelihood().

Double_t TRolke::LikeMod4 ( Double_t  mu,
Double_t  b,
Int_t  x,
Int_t  y,
Double_t  tau 
) [private]

Definition at line 1232 of file TRolke.cxx.

References TMath::Log(), LogFactorial(), and s.

Referenced by EvalLikeMod4().

Double_t TRolke::EvalLikeMod5 ( Double_t  mu,
Int_t  x,
Double_t  bm,
Double_t  sdb,
Int_t  what 
) [private]

Definition at line 1248 of file TRolke.cxx.

References b, LikeMod5(), TMath::Sqrt(), and u.

Referenced by Likelihood().

Double_t TRolke::LikeMod5 ( Double_t  mu,
Double_t  b,
Int_t  x,
Double_t  bm,
Double_t  u 
) [private]

Definition at line 1277 of file TRolke.cxx.

References TMath::Log(), LogFactorial(), and s.

Referenced by EvalLikeMod5().

Double_t TRolke::EvalLikeMod6 ( Double_t  mu,
Int_t  x,
Int_t  z,
Double_t  b,
Int_t  m,
Int_t  what 
) [private]

Definition at line 1292 of file TRolke.cxx.

References LikeMod6(), and TMath::RootsCubic().

Referenced by Likelihood().

Double_t TRolke::LikeMod6 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Int_t  z,
Int_t  m 
) [private]

Definition at line 1332 of file TRolke.cxx.

References TMath::Log(), LogFactorial(), and s.

Referenced by EvalLikeMod6().

Double_t TRolke::EvalLikeMod7 ( Double_t  mu,
Int_t  x,
Double_t  em,
Double_t  sde,
Double_t  b,
Int_t  what 
) [private]

Definition at line 1351 of file TRolke.cxx.

References LikeMod7(), and TMath::Sqrt().

Referenced by Likelihood().

Double_t TRolke::LikeMod7 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Double_t  em,
Double_t  v 
) [private]

Definition at line 1387 of file TRolke.cxx.

References TMath::Log(), LogFactorial(), and s.

Referenced by EvalLikeMod7().

Double_t TRolke::EvalPolynomial ( Double_t  x,
const Int_t  coef[],
Int_t  N 
) [static, private]

Definition at line 1403 of file TRolke.cxx.

References ans(), i, and p.

Double_t TRolke::EvalMonomial ( Double_t  x,
const Int_t  coef[],
Int_t  N 
) [static, private]

Definition at line 1419 of file TRolke.cxx.

References ans(), i, and p.

Double_t TRolke::LogFactorial ( Int_t  n  )  [private]

Definition at line 1437 of file TRolke.cxx.

References TMath::LnGamma().

Referenced by LikeMod1(), LikeMod2(), LikeMod3(), LikeMod4(), LikeMod5(), LikeMod6(), and LikeMod7().

Double_t TRolke::ComputeInterval ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Double_t  e,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m 
) [private]

Definition at line 690 of file TRolke.cxx.

References fBounding, and Interval().

Referenced by CalculateInterval(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), and GetSensitivity().

void TRolke::SetModelParameters ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Double_t  e,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m 
) [private]

Definition at line 653 of file TRolke.cxx.

References f_b, f_bm, f_e, f_em, f_m, f_mid, f_sdb, f_sde, f_tau, f_x, f_y, and f_z.

void TRolke::SetModelParameters (  )  [private]

Definition at line 682 of file TRolke.cxx.

References f_mid.

Referenced by CalculateInterval(), SetGaussBkgGaussEff(), SetGaussBkgKnownEff(), SetKnownBkgBinomEff(), SetKnownBkgGaussEff(), SetPoissonBkgBinomEff(), SetPoissonBkgGaussEff(), and SetPoissonBkgKnownEff().

Double_t TRolke::GetBackground (  )  [private]

Definition at line 418 of file TRolke.cxx.

References background, f_b, f_bm, f_mid, f_tau, and f_y.

Referenced by GetCriticalNumber(), GetLimitsML(), GetLimitsQuantile(), and GetSensitivity().

Double_t TRolke::GetCL ( void   )  const [inline]

Definition at line 121 of file TRolke.h.

References fCL.

void TRolke::SetCL ( Double_t  CL  )  [inline]

Definition at line 124 of file TRolke.h.

References fCL.

Referenced by Rolke().

void TRolke::SetCLSigmas ( Double_t  CLsigmas  )  [inline]

Definition at line 129 of file TRolke.h.

References TMath::Erf(), fCL, and TMath::Sqrt().

Referenced by Rolke().

void TRolke::SetPoissonBkgBinomEff ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m 
)

Definition at line 217 of file TRolke.cxx.

References SetModelParameters().

Referenced by Rolke().

void TRolke::SetPoissonBkgGaussEff ( Int_t  x,
Int_t  y,
Double_t  em,
Double_t  tau,
Double_t  sde 
)

Definition at line 240 of file TRolke.cxx.

References SetModelParameters().

Referenced by Rolke().

void TRolke::SetGaussBkgGaussEff ( Int_t  x,
Double_t  bm,
Double_t  em,
Double_t  sde,
Double_t  sdb 
)

Definition at line 264 of file TRolke.cxx.

References SetModelParameters().

Referenced by Rolke().

void TRolke::SetPoissonBkgKnownEff ( Int_t  x,
Int_t  y,
Double_t  tau,
Double_t  e 
)

Definition at line 288 of file TRolke.cxx.

References SetModelParameters().

Referenced by Rolke().

void TRolke::SetGaussBkgKnownEff ( Int_t  x,
Double_t  bm,
Double_t  sdb,
Double_t  e 
)

Definition at line 311 of file TRolke.cxx.

References SetModelParameters().

Referenced by Rolke().

void TRolke::SetKnownBkgBinomEff ( Int_t  x,
Int_t  z,
Int_t  m,
Double_t  b 
)

Definition at line 334 of file TRolke.cxx.

References SetModelParameters().

Referenced by Rolke().

void TRolke::SetKnownBkgGaussEff ( Int_t  x,
Double_t  em,
Double_t  sde,
Double_t  b 
)

Definition at line 357 of file TRolke.cxx.

References SetModelParameters().

Referenced by Rolke().

Double_t TRolke::CalculateInterval ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Double_t  e,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m 
)

Definition at line 612 of file TRolke.cxx.

References ComputeInterval(), f_b, f_bm, f_e, f_em, f_m, f_mid, f_sdb, f_sde, f_tau, f_x, f_y, f_z, fNumWarningsDeprecated2, and SetModelParameters().

bool TRolke::GetLimits ( Double_t low,
Double_t high 
)

Definition at line 380 of file TRolke.cxx.

References ComputeInterval(), f_b, f_bm, f_e, f_em, f_m, f_mid, f_sdb, f_sde, f_tau, f_x, f_y, f_z, fLowerLimit, and fUpperLimit.

Referenced by GetLowerLimit(), GetUpperLimit(), and Rolke().

Double_t TRolke::GetUpperLimit (  ) 

Definition at line 402 of file TRolke.cxx.

References fUpperLimit, GetLimits(), high, and low.

Double_t TRolke::GetLowerLimit (  ) 

Definition at line 410 of file TRolke.cxx.

References fLowerLimit, GetLimits(), high, and low.

bool TRolke::GetSensitivity ( Double_t low,
Double_t high,
Double_t  pPrecision = 0.00001 
)

Definition at line 444 of file TRolke.cxx.

References background, ComputeInterval(), f_b, f_bm, f_e, f_em, f_m, f_mid, f_sdb, f_sde, f_tau, f_y, f_z, fLowerLimit, fUpperLimit, GetBackground(), and TMath::PoissonI().

Referenced by Rolke().

bool TRolke::GetLimitsQuantile ( Double_t low,
Double_t high,
Int_t out_x,
Double_t  integral = 0.5 
)

Definition at line 473 of file TRolke.cxx.

References background, ComputeInterval(), f_b, f_bm, f_e, f_em, f_m, f_mid, f_sdb, f_sde, f_tau, f_y, f_z, fLowerLimit, fUpperLimit, GetBackground(), and TMath::PoissonI().

Referenced by Rolke().

bool TRolke::GetLimitsML ( Double_t low,
Double_t high,
Int_t out_x 
)

Definition at line 505 of file TRolke.cxx.

References background, ComputeInterval(), f_b, f_bm, f_e, f_em, f_m, f_mid, f_sdb, f_sde, f_tau, f_y, f_z, fLowerLimit, fUpperLimit, GetBackground(), max, and TMath::PoissonI().

Referenced by Rolke().

bool TRolke::GetCriticalNumber ( Int_t ncrit,
Int_t  maxtry = -1 
)

Definition at line 537 of file TRolke.cxx.

References background, ComputeInterval(), f_b, f_bm, f_e, f_em, f_m, f_mid, f_sdb, f_sde, f_tau, f_y, f_z, fLowerLimit, GetBackground(), and j.

Referenced by Rolke().

bool TRolke::GetBounding (  )  const [inline]

Definition at line 178 of file TRolke.h.

References fBounding.

void TRolke::SetBounding ( const bool  bnd  )  [inline]

Definition at line 184 of file TRolke.h.

References fBounding.

Referenced by Rolke(), and SetSwitch().

void TRolke::SetSwitch ( bool  bnd  ) 

Definition at line 571 of file TRolke.cxx.

References fNumWarningsDeprecated1, and SetBounding().

void TRolke::Print ( Option_t  )  const [virtual]

Reimplemented from TObject.

Definition at line 583 of file TRolke.cxx.

References f_b, f_bm, f_e, f_em, f_m, f_mid, f_sdb, f_sde, f_tau, f_x, f_y, f_z, fBounding, fCL, fLowerLimit, and fUpperLimit.

Double_t TRolke::Interval ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Double_t  e,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m 
) [private]

Double_t TRolke::Likelihood ( Double_t  mu,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m,
Int_t  what 
) [private]

Double_t TRolke::EvalLikeMod1 ( Double_t  mu,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m,
Int_t  what 
) [private]

Double_t TRolke::LikeMod1 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m 
) [private]

void TRolke::ProfLikeMod1 ( Double_t  mu,
Double_t b,
Double_t e,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m 
) [private]

Double_t TRolke::LikeGradMod1 ( Double_t  e,
Double_t  mu,
Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m 
) [private]

Double_t TRolke::EvalLikeMod2 ( Double_t  mu,
Int_t  x,
Int_t  y,
Double_t  em,
Double_t  sde,
Double_t  tau,
Int_t  what 
) [private]

Double_t TRolke::LikeMod2 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Int_t  y,
Double_t  em,
Double_t  tau,
Double_t  v 
) [private]

Double_t TRolke::EvalLikeMod3 ( Double_t  mu,
Int_t  x,
Double_t  bm,
Double_t  em,
Double_t  sde,
Double_t  sdb,
Int_t  what 
) [private]

Double_t TRolke::LikeMod3 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Double_t  bm,
Double_t  em,
Double_t  u,
Double_t  v 
) [private]

Double_t TRolke::EvalLikeMod4 ( Double_t  mu,
Int_t  x,
Int_t  y,
Double_t  tau,
Int_t  what 
) [private]

Double_t TRolke::LikeMod4 ( Double_t  mu,
Double_t  b,
Int_t  x,
Int_t  y,
Double_t  tau 
) [private]

Double_t TRolke::EvalLikeMod5 ( Double_t  mu,
Int_t  x,
Double_t  bm,
Double_t  sdb,
Int_t  what 
) [private]

Double_t TRolke::LikeMod5 ( Double_t  mu,
Double_t  b,
Int_t  x,
Double_t  bm,
Double_t  u 
) [private]

Double_t TRolke::EvalLikeMod6 ( Double_t  mu,
Int_t  x,
Int_t  z,
Double_t  b,
Int_t  m,
Int_t  what 
) [private]

Double_t TRolke::LikeMod6 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Int_t  z,
Int_t  m 
) [private]

Double_t TRolke::EvalLikeMod7 ( Double_t  mu,
Int_t  x,
Double_t  em,
Double_t  sde,
Double_t  b,
Int_t  what 
) [private]

Double_t TRolke::LikeMod7 ( Double_t  mu,
Double_t  b,
Double_t  e,
Int_t  x,
Double_t  em,
Double_t  v 
) [private]

static Double_t TRolke::EvalPolynomial ( Double_t  x,
const Int_t  coef[],
Int_t  N 
) [static, private]

static Double_t TRolke::EvalMonomial ( Double_t  x,
const Int_t  coef[],
Int_t  N 
) [static, private]

Double_t TRolke::LogFactorial ( Int_t  n  )  [private]

Double_t TRolke::ComputeInterval ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Double_t  e,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m 
) [private]

void TRolke::SetModelParameters ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Double_t  e,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m 
) [private]

void TRolke::SetModelParameters (  )  [private]

Double_t TRolke::GetBackground (  )  [private]

Double_t TRolke::GetCL ( void   )  const [inline]

Definition at line 121 of file TRolke.h.

References fCL.

void TRolke::SetCL ( Double_t  CL  )  [inline]

Definition at line 124 of file TRolke.h.

References fCL.

void TRolke::SetCLSigmas ( Double_t  CLsigmas  )  [inline]

Definition at line 129 of file TRolke.h.

References TMath::Erf(), fCL, and TMath::Sqrt().

void TRolke::SetPoissonBkgBinomEff ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  tau,
Int_t  m 
)

void TRolke::SetPoissonBkgGaussEff ( Int_t  x,
Int_t  y,
Double_t  em,
Double_t  tau,
Double_t  sde 
)

void TRolke::SetGaussBkgGaussEff ( Int_t  x,
Double_t  bm,
Double_t  em,
Double_t  sde,
Double_t  sdb 
)

void TRolke::SetPoissonBkgKnownEff ( Int_t  x,
Int_t  y,
Double_t  tau,
Double_t  e 
)

void TRolke::SetGaussBkgKnownEff ( Int_t  x,
Double_t  bm,
Double_t  sdb,
Double_t  e 
)

void TRolke::SetKnownBkgBinomEff ( Int_t  x,
Int_t  z,
Int_t  m,
Double_t  b 
)

void TRolke::SetKnownBkgGaussEff ( Int_t  x,
Double_t  em,
Double_t  sde,
Double_t  b 
)

Double_t TRolke::CalculateInterval ( Int_t  x,
Int_t  y,
Int_t  z,
Double_t  bm,
Double_t  em,
Double_t  e,
Int_t  mid,
Double_t  sde,
Double_t  sdb,
Double_t  tau,
Double_t  b,
Int_t  m 
)

bool TRolke::GetLimits ( Double_t low,
Double_t high 
)

Double_t TRolke::GetUpperLimit (  ) 

Double_t TRolke::GetLowerLimit (  ) 

bool TRolke::GetSensitivity ( Double_t low,
Double_t high,
Double_t  pPrecision = 0.00001 
)

bool TRolke::GetLimitsQuantile ( Double_t low,
Double_t high,
Int_t out_x,
Double_t  integral = 0.5 
)

bool TRolke::GetLimitsML ( Double_t low,
Double_t high,
Int_t out_x 
)

bool TRolke::GetCriticalNumber ( Int_t ncrit,
Int_t  maxtry = -1 
)

bool TRolke::GetBounding (  )  const [inline]

Definition at line 178 of file TRolke.h.

References fBounding.

void TRolke::SetBounding ( const bool  bnd  )  [inline]

Definition at line 184 of file TRolke.h.

References fBounding.

void TRolke::SetSwitch ( bool  bnd  ) 

void TRolke::Print ( Option_t  )  const [virtual]

Reimplemented from TObject.


Member Data Documentation

Double_t TRolke::fCL [private]

Definition at line 37 of file TRolke.h.

Referenced by GetCL(), Interval(), Print(), SetCL(), and SetCLSigmas().

Double_t TRolke::fUpperLimit [private]

Definition at line 38 of file TRolke.h.

Referenced by GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), GetUpperLimit(), Interval(), and Print().

Double_t TRolke::fLowerLimit [private]

Definition at line 39 of file TRolke.h.

Referenced by GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetLowerLimit(), GetSensitivity(), Interval(), and Print().

bool TRolke::fBounding [private]

Definition at line 40 of file TRolke.h.

Referenced by ComputeInterval(), GetBounding(), Interval(), Print(), and SetBounding().

Int_t TRolke::fNumWarningsDeprecated1 [private]

Definition at line 42 of file TRolke.h.

Referenced by SetSwitch().

Int_t TRolke::fNumWarningsDeprecated2 [private]

Definition at line 43 of file TRolke.h.

Referenced by CalculateInterval().

Int_t TRolke::f_x [private]

Definition at line 47 of file TRolke.h.

Referenced by CalculateInterval(), GetLimits(), Print(), and SetModelParameters().

Int_t TRolke::f_y [private]

Definition at line 48 of file TRolke.h.

Referenced by CalculateInterval(), GetBackground(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().

Int_t TRolke::f_z [private]

Definition at line 49 of file TRolke.h.

Referenced by CalculateInterval(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().

Double_t TRolke::f_bm [private]

Definition at line 50 of file TRolke.h.

Referenced by CalculateInterval(), GetBackground(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().

Double_t TRolke::f_em [private]

Definition at line 51 of file TRolke.h.

Referenced by CalculateInterval(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().

Double_t TRolke::f_e [private]

Definition at line 52 of file TRolke.h.

Referenced by CalculateInterval(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().

Int_t TRolke::f_mid [private]

Definition at line 53 of file TRolke.h.

Referenced by CalculateInterval(), GetBackground(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Likelihood(), Print(), and SetModelParameters().

Double_t TRolke::f_sde [private]

Definition at line 54 of file TRolke.h.

Referenced by CalculateInterval(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().

Double_t TRolke::f_sdb [private]

Definition at line 55 of file TRolke.h.

Referenced by CalculateInterval(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().

Double_t TRolke::f_tau [private]

Definition at line 56 of file TRolke.h.

Referenced by CalculateInterval(), GetBackground(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().

Double_t TRolke::f_b [private]

Definition at line 57 of file TRolke.h.

Referenced by CalculateInterval(), GetBackground(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().

Int_t TRolke::f_m [private]

Definition at line 58 of file TRolke.h.

Referenced by CalculateInterval(), GetCriticalNumber(), GetLimits(), GetLimitsML(), GetLimitsQuantile(), GetSensitivity(), Print(), and SetModelParameters().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:46:13 2011 for ROOT_528-00b_version by  doxygen 1.5.1