54 _cat(
"cat",
"Signal/Background category",this,(
RooAbsCategory&)cat),
55 _effFunc(
"effFunc",
"Efficiency modeling function",this,(
RooAbsReal&)effFunc),
56 _sigCatName(sigCatName)
67 _cat(
"cat",this,other._cat),
68 _effFunc(
"effFunc",this,other._effFunc),
69 _sigCatName(other._sigCatName)
104 return 1 - effFuncVal ;
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
RooArgSet is a container object that can hold multiple RooAbsArg objects.
const char * label() const
RooEfficiency is a PDF helper class to fit efficiencies parameterized by a supplied function F.
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
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...
virtual ~RooEfficiency()
Destructor.