ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
TRolke Class Reference

Definition at line 33 of file TRolke.h.

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
 This method must be overridden when a class wants to print itself. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsSortable () const
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 

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)
 gradient model likelihood More...
 
Double_t EvalLikeMod2 (Double_t mu, Int_t x, Int_t y, Double_t em, Double_t sde, Double_t tau, Int_t what)
 Calculates the Profile Likelihood for MODEL 2: Poisson background/ Gauss Efficiency what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned. More...
 
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)
 Profile Likelihood function for MODEL 2: Poisson background/Gauss Efficiency. More...
 
Double_t EvalLikeMod3 (Double_t mu, Int_t x, Double_t bm, Double_t em, Double_t sde, Double_t sdb, Int_t what)
 Calculates the Profile Likelihood for MODEL 3: Gauss background/ Gauss Efficiency what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned. More...
 
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)
 Profile Likelihood function for MODEL 3: Gauss background/Gauss Efficiency. More...
 
Double_t EvalLikeMod4 (Double_t mu, Int_t x, Int_t y, Double_t tau, Int_t what)
 Calculates the Profile Likelihood for MODEL 4: Poiss background/Efficiency known what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned. More...
 
Double_t LikeMod4 (Double_t mu, Double_t b, Int_t x, Int_t y, Double_t tau)
 Profile Likelihood function for MODEL 4: Poiss background/Efficiency known. More...
 
Double_t EvalLikeMod5 (Double_t mu, Int_t x, Double_t bm, Double_t sdb, Int_t what)
 Calculates the Profile Likelihood for MODEL 5: Gauss background/Efficiency known what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned. More...
 
Double_t LikeMod5 (Double_t mu, Double_t b, Int_t x, Double_t bm, Double_t u)
 Profile Likelihood function for MODEL 5: Gauss background/Efficiency known. More...
 
Double_t EvalLikeMod6 (Double_t mu, Int_t x, Int_t z, Double_t b, Int_t m, Int_t what)
 Calculates the Profile Likelihood for MODEL 6: Background known/Efficiency binomial what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned. More...
 
Double_t LikeMod6 (Double_t mu, Double_t b, Double_t e, Int_t x, Int_t z, Int_t m)
 Profile Likelihood function for MODEL 6: background known/ Efficiency binomial. More...
 
Double_t EvalLikeMod7 (Double_t mu, Int_t x, Double_t em, Double_t sde, Double_t b, Int_t what)
 Calculates the Profile Likelihood for MODEL 7: background known/Efficiency Gauss what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned. More...
 
Double_t LikeMod7 (Double_t mu, Double_t b, Double_t e, Int_t x, Double_t em, Double_t v)
 Profile Likelihood function for MODEL 6: background known/ Efficiency gaussian. More...
 
Double_t LogFactorial (Int_t n)
 LogFactorial function (use the logGamma function via the relation Gamma(n+1) = n! More...
 
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)
 evaluate polynomial More...
 
static Double_t EvalMonomial (Double_t x, const Int_t coef[], Int_t N)
 evaluate mononomial More...
 

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
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 

#include <TRolke.h>

Inheritance diagram for TRolke:
[legend]

Constructor & Destructor Documentation

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

Definition at line 213 of file TRolke.cxx.

Member Function Documentation

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 613 of file TRolke.cxx.

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
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 954 of file TRolke.cxx.

Referenced by Likelihood().

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

Calculates the Profile Likelihood for MODEL 2: Poisson background/ Gauss Efficiency what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned.

what = 3: Profile Likelihood of Test hypothesis is returned otherwise parameters as described in the beginning of the class)

Definition at line 1078 of file TRolke.cxx.

Referenced by Likelihood().

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

Calculates the Profile Likelihood for MODEL 3: Gauss background/ Gauss Efficiency what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned.

what = 3: Profile Likelihood of Test hypothesis is returned otherwise parameters as described in the beginning of the class)

Definition at line 1145 of file TRolke.cxx.

Referenced by Likelihood().

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

Calculates the Profile Likelihood for MODEL 4: Poiss background/Efficiency known what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned.

what = 3: Profile Likelihood of Test hypothesis is returned otherwise parameters as described in the beginning of the class)

Definition at line 1213 of file TRolke.cxx.

Referenced by Likelihood().

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

Calculates the Profile Likelihood for MODEL 5: Gauss background/Efficiency known what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned.

what = 3: Profile Likelihood of Test hypothesis is returned otherwise parameters as described in the beginning of the class)

Definition at line 1259 of file TRolke.cxx.

Referenced by Likelihood().

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

Calculates the Profile Likelihood for MODEL 6: Background known/Efficiency binomial what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned.

what = 3: Profile Likelihood of Test hypothesis is returned otherwise parameters as described in the beginning of the class)

Definition at line 1303 of file TRolke.cxx.

Referenced by Likelihood().

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

Calculates the Profile Likelihood for MODEL 7: background known/Efficiency Gauss what = 1: Maximum likelihood estimate is returned what = 2: Profile Likelihood of Maximum Likelihood estimate is returned.

what = 3: Profile Likelihood of Test hypothesis is returned otherwise parameters as described in the beginning of the class)

Definition at line 1362 of file TRolke.cxx.

Referenced by Likelihood().

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

evaluate mononomial

Definition at line 1426 of file TRolke.cxx.

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

evaluate polynomial

Definition at line 1409 of file TRolke.cxx.

Double_t TRolke::GetBackground ( )
private

Definition at line 419 of file TRolke.cxx.

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

bool TRolke::GetBounding ( ) const
inline

Definition at line 178 of file TRolke.h.

Double_t TRolke::GetCL ( ) const
inline

Definition at line 121 of file TRolke.h.

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

Definition at line 538 of file TRolke.cxx.

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

Definition at line 381 of file TRolke.cxx.

Referenced by GetLowerLimit(), and GetUpperLimit().

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

Definition at line 506 of file TRolke.cxx.

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

Definition at line 474 of file TRolke.cxx.

Double_t TRolke::GetLowerLimit ( void  )

Definition at line 411 of file TRolke.cxx.

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

Definition at line 445 of file TRolke.cxx.

Double_t TRolke::GetUpperLimit ( void  )

Definition at line 403 of file TRolke.cxx.

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 732 of file TRolke.cxx.

Referenced by ComputeInterval().

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

gradient model likelihood

Definition at line 1059 of file TRolke.cxx.

Referenced by ProfLikeMod1().

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 922 of file TRolke.cxx.

Referenced by Interval().

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 995 of file TRolke.cxx.

Referenced by EvalLikeMod1().

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

Profile Likelihood function for MODEL 2: Poisson background/Gauss Efficiency.

Definition at line 1123 of file TRolke.cxx.

Referenced by EvalLikeMod2().

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

Profile Likelihood function for MODEL 3: Gauss background/Gauss Efficiency.

Definition at line 1191 of file TRolke.cxx.

Referenced by EvalLikeMod3().

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

Profile Likelihood function for MODEL 4: Poiss background/Efficiency known.

Definition at line 1239 of file TRolke.cxx.

Referenced by EvalLikeMod4().

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

Profile Likelihood function for MODEL 5: Gauss background/Efficiency known.

Definition at line 1284 of file TRolke.cxx.

Referenced by EvalLikeMod5().

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

Profile Likelihood function for MODEL 6: background known/ Efficiency binomial.

Definition at line 1339 of file TRolke.cxx.

Referenced by EvalLikeMod6().

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

Profile Likelihood function for MODEL 6: background known/ Efficiency gaussian.

Definition at line 1394 of file TRolke.cxx.

Referenced by EvalLikeMod7().

Double_t TRolke::LogFactorial ( Int_t  n)
private

LogFactorial function (use the logGamma function via the relation Gamma(n+1) = n!

Definition at line 1445 of file TRolke.cxx.

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

void TRolke::Print ( Option_t option) const
virtual

This method must be overridden when a class wants to print itself.

Reimplemented from TObject.

Definition at line 584 of file TRolke.cxx.

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 1022 of file TRolke.cxx.

Referenced by EvalLikeMod1().

void TRolke::SetBounding ( const bool  bnd)
inline

Definition at line 184 of file TRolke.h.

Referenced by SetSwitch().

void TRolke::SetCL ( Double_t  CL)
inline

Definition at line 124 of file TRolke.h.

void TRolke::SetCLSigmas ( Double_t  CLsigmas)
inline

Definition at line 129 of file TRolke.h.

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

Definition at line 265 of file TRolke.cxx.

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

Definition at line 312 of file TRolke.cxx.

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

Definition at line 335 of file TRolke.cxx.

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

Definition at line 358 of file TRolke.cxx.

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 654 of file TRolke.cxx.

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

Definition at line 218 of file TRolke.cxx.

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

Definition at line 241 of file TRolke.cxx.

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

Definition at line 289 of file TRolke.cxx.

void TRolke::SetSwitch ( bool  bnd)

Definition at line 572 of file TRolke.cxx.

Member Data Documentation

Double_t TRolke::f_b
private
Double_t TRolke::f_bm
private
Double_t TRolke::f_e
private
Double_t TRolke::f_em
private
Int_t TRolke::f_m
private
Int_t TRolke::f_mid
private
Double_t TRolke::f_sdb
private
Double_t TRolke::f_sde
private
Double_t TRolke::f_tau
private
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
Int_t TRolke::f_z
private
bool TRolke::fBounding
private

Definition at line 40 of file TRolke.h.

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

Double_t TRolke::fCL
private

Definition at line 37 of file TRolke.h.

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

Double_t TRolke::fLowerLimit
private
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().

Double_t TRolke::fUpperLimit
private
Collaboration diagram for TRolke:
[legend]

The documentation for this class was generated from the following files: