#ifndef ROO_GAMMA
#define ROO_GAMMA
#include "RooAbsPdf.h"
#include "RooRealProxy.h"
class RooRealVar;
class RooGamma : public RooAbsPdf {
public:
RooGamma() {} ;
RooGamma(const char *name, const char *title,
RooAbsReal& _x, RooAbsReal& _gamma, RooAbsReal& _beta, RooAbsReal& _mu);
RooGamma(const RooGamma& other, const char* name=0) ;
virtual TObject* clone(const char* newname) const { return new RooGamma(*this,newname); }
inline virtual ~RooGamma() { }
Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
Double_t analyticalIntegral(Int_t code, const char* rangeName=0) const ;
Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const;
void generateEvent(Int_t code);
protected:
RooRealProxy x ;
RooRealProxy gamma ;
RooRealProxy beta ;
RooRealProxy mu ;
Double_t evaluate() const ;
private:
ClassDef(RooGamma,1)
};
#endif