53 _cat(
"cat",
"Signal/Background category",this,(
RooAbsCategory&)cat),
54 _effFunc(
"effFunc",
"Efficiency modeling function",this,(
RooAbsReal&)effFunc),
55 _sigCatName(sigCatName)
66 _cat(
"cat",this,other._cat),
67 _effFunc(
"effFunc",this,other._effFunc),
68 _sigCatName(other._sigCatName)
103 return 1 - effFuncVal ;
virtual ~RooEfficiency()
Destructor.
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral. ...
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual Double_t evaluate() const
Calculate the raw value of this p.d.f which is the effFunc value if cat==1 and it is (1-effFunc) if c...
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
const char * label() const