73 # // the number of events in the given range 85 _n(
"n",this,other.
_n),
114 coutW(
InputArguments) <<
"RooExtendPdf::expectedEvents(" <<
GetName() <<
") WARNING: RooExtendPdf needs non-null normalization set to calculate fraction in range " 115 <<
_rangeName <<
". Results may be nonsensical" << endl ;
128 if ( fracInt == 0. ||
_n == 0.) {
129 coutW(
Eval) <<
"RooExtendPdf(" <<
GetName() <<
") WARNING: nExpected = " <<
_n <<
" / " 130 << fracInt <<
" for nset = " << (nset?*nset:
RooArgSet()) << endl ;
virtual const char * GetName() const
Returns name of object.
static void globalSelectComp(Bool_t flag)
Global switch controlling the activation of the selectComp() functionality.
const Text_t * getUnit() const
void setPlotLabel(const char *label)
Set the label associated with this variable.
Double_t getVal(const RooArgSet *set=0) const
virtual Double_t expectedEvents(const RooArgSet *nset) const
Return expected number of events from this p.d.f for use in extended likelihood calculations.
const TNamed * _rangeName
const char * getPlotLabel() const
Get the label associated with the variable.
Bool_t canBeExtended() const
virtual const RooAbsReal * getNormObj(const RooArgSet *set, const RooArgSet *iset, const TNamed *rangeName=0) const
Return pointer to RooAbsReal object that implements calculation of integral over observables iset in ...
virtual Double_t expectedEvents(const RooArgSet *nset) const
Return expected number of events from this p.d.f for use in extended likelihood calculations.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooNameReg is a registry for 'const char*' name.
void setUnit(const char *unit)
const RooAbsReal & arg() const
double norm(double *x, double *p)