40 x(
"x",
"Dependent",this,_x),
41 mean(
"mean",
"Mean",this,_mean),
42 sigma(
"sigma",
"Width",this,_sigma)
67 if (
matchArgs(directVars,generateVars,
x))
return 1 ;
Double_t Landau(Double_t x, Double_t mpv=0, Double_t sigma=1, Bool_t norm=kFALSE)
The LANDAU function.
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
Landau Distribution p.d.f.
Double_t evaluate() const
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
Load generatedVars with the subset of directVars that we can generate events for, and return a code t...
void generateEvent(Int_t code)
Interface for generation of anan event using the algorithm corresponding to the specified code...
static TRandom * randomGenerator()
Return a pointer to a singleton random-number generator implementation.
Double_t min(const char *rname=0) const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t max(const char *rname=0) const
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual Double_t Landau(Double_t mean=0, Double_t sigma=1)
Generate a random number following a Landau distribution with location parameter mu and scale paramet...