41 x(
"x",
"Dependent",this,_x),
42 mean(
"mean",
"Mean",this,_mean),
43 sigma(
"sigma",
"Width",this,_sigma)
52 mean(
"mean",this,other.mean),
68 if (
matchArgs(directVars,generateVars,
x))
return 1 ;
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.
Landau distribution p.d.f.
void generateEvent(Int_t code)
Interface for generation of an event using the algorithm corresponding to the specified code.
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
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...
static TRandom * randomGenerator()
Return a pointer to a singleton random-number generator implementation.
Double_t min(const char *rname=0) const
Double_t max(const char *rname=0) const
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...
Double_t Landau(Double_t x, Double_t mpv=0, Double_t sigma=1, Bool_t norm=kFALSE)
The LANDAU function.